RE: [libxml++] windows compile error with latest release



> From: Christophe de VIENNE [mailto:cdevienne alphacent com]  
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Le Mercredi 4 Juin 2003 09:33, Murray Cumming Comneon com a écrit :
> > I always thought that static members should be initialized 
> in the .cpp file.
> 
> Not if it's a const. For the compiler it's almost equivalent 
> to a define.
> 
> > Anyway, I think an enum would be acceptable instead.
> 
> I wanted the constant to be a bool. Now I'm not sure if it's 
> better to use a 
> static const or an enum.

An #ifdef for windows is also not too bad for this small piece of code.

Murray Cumming
murrayc usa net
www.murrayc.com
Remember to use the "Reply To All" feature with mailing lists.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]