[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Nel] Problems Compiling NeL on Linux Debian SID
From: |
Vianney Lecroart |
Subject: |
RE: [Nel] Problems Compiling NeL on Linux Debian SID |
Date: |
Wed, 8 Oct 2003 16:46:51 +0200 |
Hi,
We have some troubles with gcc 3.3.2 bug. You should better use gcc 3.2.
I fixed your problem but you have to wait 24hours to have the fix.
Or you can open driver_opengl.cpp go to line 1354 and move the #endif to
match the good '}'
Regards,
Vianney Lecroart
---
lead network programmer / nevrax.com
icq#: 6870415
homepage: http://ace.planet-d.net
www.geekcode.com: GCS/E d- s+++: a- C+++$UL++ P- L+++>+$ E+>- W++ N+ o?
K- w++$ O- M- V- PS- PE? Y PGP t 5? X+ R- tv++ b- DI D+ G e++ h-- r y?
> -----Original Message-----
> From: address@hidden [mailto:nel-all-
> address@hidden On Behalf Of Eduard
> Sent: mercredi 8 octobre 2003 16:24
> To: address@hidden
> Subject: [Nel] Problems Compiling NeL on Linux Debian SID
>
> Hello!
>
> I hace problems compiling the yesterday cvs tree with the following
errors
>
> gcc (GCC) 3.3.2 20030908 (Debian prerelease)
> libstlport4.5
>
> Can someone take me a hand, please?
> Thanks!
>
>
> ucstring::toUtf8() const':
> .../../../../include/nel/misc/ucstring.h:163: warning: comparison is
> always true due to limited range of data type
> In file included from stdopengl.h:27,
> from driver_opengl.cpp:28:
> driver_opengl.h: At global scope:
> driver_opengl.h:224: error: looser throw specifier for `virtual bool
> NL3D::CDriverGL::setMode(const NL3D::GfxMode&)'
> .../../../../src/3d/driver.h:190: error: overriding `virtual bool
> NL3D::IDriver::setMode(const NL3D::GfxMode&) throw
(NL3D::EBadDisplay)'
> driver_opengl.h:225: error: looser throw specifier for `virtual bool
> NL3D::CDriverGL::getModes(_STL::vector<NL3D::GfxMode,
> _STL::allocator<NL3D::GfxMode> >&)'
> .../../../../src/3d/driver.h:191: error: overriding `virtual bool
> NL3D::IDriver::getModes(_STL::vector<NL3D::GfxMode,
> _STL::allocator<NL3D::GfxMode> >&) throw (NL3D::EBadDisplay)'
> driver_opengl.h:224: error: looser throw specifier for `virtual bool
> NL3D::CDriverGL::setMode(const NL3D::GfxMode&)'
> .../../../../src/3d/driver.h:190: error: overriding `virtual bool
> NL3D::IDriver::setMode(const NL3D::GfxMode&) throw
(NL3D::EBadDisplay)'
> driver_opengl.h:225: error: looser throw specifier for `virtual bool
> NL3D::CDriverGL::getModes(_STL::vector<NL3D::GfxMode,
> _STL::allocator<NL3D::GfxMode> >&)'
> .../../../../src/3d/driver.h:191: error: overriding `virtual bool
> NL3D::IDriver::getModes(_STL::vector<NL3D::GfxMode,
> _STL::allocator<NL3D::GfxMode> >&) throw (NL3D::EBadDisplay)'
> driver_opengl.cpp: In member function `virtual bool
> NL3D::CDriverGL::setMode(const NL3D::GfxMode&)':
> driver_opengl.cpp:1353: warning: no return statement in function
returning
> non-void
> driver_opengl.cpp: At global scope:
> driver_opengl.cpp:1354: error: ISO C++ forbids declaration of
> `_FullScreen'
> with no type
> driver_opengl.cpp:1354: error: `mode' was not declared in this scope
> driver_opengl.cpp:1376: error: syntax error before `::' token
> driver_opengl.cpp:1404: error: syntax error before `::' token
> driver_opengl.cpp:1409: error: `inlGetNumTextStages' was not declared
in
> this
> scope
> driver_opengl.cpp:1409: error: syntax error before `;' token
> driver_opengl.cpp:1416: error: ISO C++ forbids declaration of
> `glTexEnvi' with
> no type
> driver_opengl.cpp:1416: error: `int glTexEnvi' redeclared as different
> kind of
> symbol
> /usr/X11R6/include/GL/gl.h:1495: error: previous declaration of `void
> glTexEnvi(unsigned int, unsigned int, int)'
> driver_opengl.cpp:1416: error: initializer list being treated as
compound
> expression
> driver_opengl.cpp:1417: error: `stage' was not declared in this scope
> driver_opengl.cpp:1417: error: ISO C++ forbids declaration of `
> _CurrentTexAddrMode' with no type
> driver_opengl.cpp:1417: error: assignment (not initialization) in
> declaration
> driver_opengl.cpp:1418: error: syntax error before `}' token
> driver_opengl.cpp:1419: error: ISO C++ forbids declaration of
> `glDisable' with
> no type
> driver_opengl.cpp:1419: error: `int glDisable' redeclared as different
> kind of
> symbol
> /usr/X11R6/include/GL/gl.h:1023: error: previous declaration of `void
> glDisable(unsigned int)'
> driver_opengl.cpp:1420: error: ISO C++ forbids declaration of `
> _NVTextureShaderEnabled' with no type
> driver_opengl.cpp:1421: error: syntax error before `}' token
> driver_opengl.cpp:1426: error: syntax error before `::' token
> driver_opengl.cpp:1437: error: syntax error before `::' token
> driver_opengl.cpp:1457: error: syntax error before `::' token
> driver_opengl.cpp:1463: error: `tex' was not declared in this scope
> driver_opengl.cpp:1463: error: ISO C++ forbids declaration of `
> getTextureShareName' with no type
> driver_opengl.cpp:1463: error: initializer list being treated as
compound
> expression
> driver_opengl.cpp:1465: error: syntax error before `{' token
> driver_opengl.cpp:1467: error: syntax error before `&' token
> driver_opengl.cpp:1468: error: ISO C++ forbids declaration of `result'
> with no
> type
> driver_opengl.cpp:1468: error: `rTexDrvInfos' was not declared in this
> scope
> driver_opengl.cpp:1468: error: `rTexDrvInfos' was not declared in this
> scope
> driver_opengl.cpp:1469: error: syntax error before `}' token
> driver_opengl.cpp:1475: error: syntax error before `::' token
> driver_opengl.cpp:1478: error: ISO C++ forbids declaration of
`glClear'
> with no type
> driver_opengl.cpp:1478: error: `int glClear' redeclared as different
kind
> of
> symbol
> /usr/X11R6/include/GL/gl.h:977: error: previous declaration of `void
> glClear(unsigned int)'
> driver_opengl.cpp:1479: error: syntax error before `return'
> driver_opengl.cpp:1484: error: syntax error before `::' token
> driver_opengl.cpp:1487: error: syntax error before `.' token
> driver_opengl.cpp:1488: error: ISO C++ forbids declaration of
`glClear'
> with no type
> driver_opengl.cpp:1488: error: redefinition of `int glClear'
> driver_opengl.cpp:1478: error: `int glClear' previously defined here
> driver_opengl.cpp:1489: error: syntax error before `return'
> driver_opengl.cpp:1494: error: syntax error before `::' token
> driver_opengl.cpp:1500: error: syntax error before `::' token
> driver_opengl.cpp:1511: error: syntax error before `if'
> driver_opengl.cpp:1515: error: syntax error before `.' token
> driver_opengl.cpp:1521: error: syntax error before `.' token
> driver_opengl.cpp:1526: error: `dummyVB' was not declared in this
scope
> driver_opengl.cpp:1526: error: ISO C++ forbids declaration of `
> activeVertexBuffer' with no type
> driver_opengl.cpp:1527: error: syntax error before `{' token
> driver_opengl.cpp:1527: error: ISO C++ forbids declaration of
> `createDebug'
> with no type
> driver_opengl.cpp:1527: error: `int NLMISC::createDebug()' should have
> been
> declared inside `NLMISC'
> driver_opengl.cpp:1527: error: syntax error before `if'
> driver_opengl.cpp:1527: error: syntax error before `->' token
> driver_opengl.cpp:1527: error: syntax error before `->' token
> driver_opengl.cpp:1527: error: ISO C++ forbids declaration of
> `GlobalAssertCall
> ' with no type
> driver_opengl.cpp:1527: error: conflicting types for `int
> NLMISC::GlobalAssertCall'
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Nel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/nel-all