At 01.53 09/07/2003, Robert Collins wrote:
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.
The problem is still the same:
Compiling...
auth_basic.cc
c:\work\nt-3.0\include\array.h(324) : error C2244: 'VectorIteratorBase<C>::*' : unable to resolve function overload
c:\work\nt-3.0\include\array.h(326) : error C2954: template definitions cannot nest
c:\work\nt-3.0\include\array.h(330) : error C2244: 'VectorIteratorBase<C>::->' : unable to resolve function overload
c:\work\nt-3.0\include\array.h(332) : error C2954: template definitions cannot nest
c:\work\nt-3.0\src\memobject.h(110) : error C2639: compiler generated default constructor required by unnamed class
This are caused by know MS VC++ standard compliance problems:
http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b243451
But I don't know how to work around the problem.
> 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.
I really don't know where MS VC++ is getting many other things ......
MS VisualStudio seems to be a valid C compiler, but for C++ (and MS .NET C++ too ...) is a big disaster .....
Regards
Guido
- ======================================================== Guido Serassio Acme Consulting S.r.l. Via Gorizia, 69 10136 - Torino - ITALY Tel. : +39.011.3249426 Fax. : +39.011.3293665 Email: [EMAIL PROTECTED] WWW: http://www.acmeconsulting.it/
