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



I fixed it by moving the static member initialization to the .cc file
but a public enum is even better.

-eff

----- Original Message ----- 
From: <Murray Cumming Comneon com>
To: <libxmlplusplus-general lists sourceforge net>
Sent: Wednesday, June 04, 2003 9:33 AM
Subject: RE: [libxml++] windows compile error with latest release


> > 'Default' : pure specifier can only be specified for functions
> > 
> >   class KeepBlanks {
> >     public:
> > -->      static const bool Default = true;
> 
> This does look a bit unusual to me. I always thought that static members
> should be initialized in the .cpp file. Anyway, I think an enum would be
> acceptable instead.
> 
> Murray Cumming
> murrayc usa net
> www.murrayc.com
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> Libxmlplusplus-general mailing list
> Libxmlplusplus-general lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/libxmlplusplus-general
> 




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