On Wed, 2003-07-09 at 03:10, Serassio Guido wrote:
> >Now, if the non-gcc port maintainers can check that the debug test-case
> >runs ok, we can start converting as we go..
>
> As You know the 3.0 Windows port doesn't build on MS Visual Studio from
> February.
Doh. gotta do something about that.
> Tryng to build debug.cc, I have got the following new errors:
>
> c:\work\nt-3.0\src\debug.cc(584) : error C2059: syntax error : 'constant'
> c:\work\nt-3.0\src\debug.cc(584) : error C2063: 'currentDebug' : not a function
> c:\work\nt-3.0\src\debug.cc(584) : error C2372: 'currentDebug' :
> redefinition; different types of indirection
> c:\work\nt-3.0\src\debug.h(52) : see declaration of 'currentDebug'
>
> Line 584 is:
>
> std::ostringstream *Debug::currentDebug (NULL);
there was a single # on a line of it's own at the end of debug.cc. I've
removed it on the off chance that it was related. (It was line 584
here).
I really don't know where vc is getting 'constant' from - as there isn't
any use of const or constant near that line. Also, currentDebug is out
of scope - the error should be on Debug::currentDebug
(Debug::CurrentDebug now).
It may be a parsing quirk - perhaps msvc doesn't realise it's a
_pointer_ that is being declared.
Rob
-- GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:16 MST