Bug 4623 - Enumeration constant definition violation
Enumeration constant definition violation
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
Sparc Solaris
: P3 normal
: none
Assigned To: Jelmer Vernooij
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2007-05-16 06:08 UTC by Paul Kranenburg
Modified: 2009-03-05 07:29 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Paul Kranenburg 2007-05-16 06:08:18 UTC
Enumeration constant definition violation in librpc/gen_ndr/srvsvc.h.
Noticed by compiler e.g. as follows:

line 213: warning: enumerator value overflows INT_MAX


< #define STYPE_HIDDEN  ( 0x80000000 )
> #define STYPE_HIDDEN  ( (signed int)0x80000000 )
Comment 1 Dane Butler 2007-11-22 19:22:23 UTC
Issue also occurs on Tru64 UNIX 5.1a for all versions from 3.0.25 to current (3.0.27a)
Comment 2 Jelmer Vernooij 2008-01-07 13:24:46 UTC
Thanks for the bug report.
Comment 3 John Center 2009-03-05 07:29:28 UTC
This still occurs with v3.3.1.