New problems compiling 3.0.20pre2 on Sun Solaris

Richard Bollinger rabollinger at comcast.net
Mon Jun 27 17:55:28 GMT 2005


>From my original post... the offending keywords "private" and "delete"
appear in the Sun header file /usr/include/nss_common.h

Of course, ours may be pretty old... so maybe its fixed already in currently
shipping files?

----- Original Message ----- 
From: "Jeremy Allison" <jra at samba.org>
To: "David Collier-Brown" <David.Collier-Brown at Sun.COM>
Cc: "Jeremy Allison" <jra at samba.org>; "Richard Bollinger"
<rabollinger at comcast.net>; <samba-technical at samba.org>
Sent: Monday, June 27, 2005 1:13 PM
Subject: Re: New problems compiling 3.0.20pre2 on Sun Solaris


> 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.



More information about the samba-technical mailing list