in reply to Status of Inline::CPP on Activeperl 5.10/Visual C++ 6
... illegal pure syntax, must be '= 0'
I'm no Windows gal, but IIRC, the issue with VC++ 6 is that it doesn't accept initialisations like:
class X { static const int x = 99; // ... };
VC6 is just too old / not standards-compliant. The workaround would be (I think) to initialise static const members outside of the class
class X { static const int x; // ... }; const int X::x = 99;
Good luck :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Status of Inline::CPP on Activeperl 5.10/Visual C++ 6
by ikegami (Patriarch) on Sep 16, 2009 at 14:30 UTC | |
|
Re^2: Status of Inline::CPP on Activeperl 5.10/Visual C++ 6
by mwah (Hermit) on Sep 16, 2009 at 14:04 UTC |