New problems compiling 3.0.20pre2 on Sun Solaris
David Collier-Brown
David.Collier-Brown at Sun.COM
Mon Jun 27 18:03:31 GMT 2005
Any of you remember which header is brain-dead?
I get too many string matches with grep (:-))
--dave
Jeremy Allison wrote:
> On Mon, Jun 27, 2005 at 01:09:35PM -0400, David Collier-Brown wrote:
>
>> Ok, Richard, can you send me some details? I wasn't paying attention until
>>Jeremy said "Sun" and "fix" (;-))
>> And private is a keyword...
>
>
> This is the current list of words we're avoiding :
>
> #ifndef __cplusplus
> #define class #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
> #define private #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
> #define public #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
> #define protected #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
> #define template #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
> #define this #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
> #define new #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
> #define delete #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
> #define friend #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
> #endif
>
> Jeremy.
>
--
David Collier-Brown, | Always do right. This will gratify
Sun Microsystems, Toronto | some people and astonish the rest
davecb at canada.sun.com | -- Mark Twain
(416) 263-5733 (x65733) |
More information about the samba-technical
mailing list