Hi,
This time it's serious...
I have solved a previous compil bug with the joined patch, but this time
I don't know how to fix this...
I am not realy good in c/c++ programming becauseI have learn myself...
and gcc-3.4.x has became more restrictive and has comme back more close
to c++ spec...
so the following problem does comme from a declaration after use in a
file or something similar...
I didn't find where is declared _Ptr so I don't know how to solve it...
please merge my patch in cvs and solve this bug...
I am using today's cvs of nel's cvs tree...
make[3]: Leaving directory `/opt/tmp/code/nel/src/3d/driver'
make[3]: Entering directory `/opt/tmp/code/nel/src/3d'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../include -I../../src -I/usr/include/freetype2 -g -O3
-DNL_RELEASE_DEBUG -g -O2 -ftemplate-depth-24 -D_REENTRANT -Wall -ansi
-W -Wpointer-arith -Wsign-compare -Wno-deprecated-declarations
-Wno-multichar -Wno-long-long -Wno-unused -I/usr/X11R6/include
-I/usr/include/libxml2 -I/usr/include/stlport -I../../include
-DHAVE_NELCONFIG_H -c anim_ctrl.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src
-I/usr/include/freetype2 -g -O3 -DNL_RELEASE_DEBUG -g -O2
-ftemplate-depth-24 -D_REENTRANT -Wall -ansi -W -Wpointer-arith
-Wsign-compare -Wno-deprecated-declarations -Wno-multichar
-Wno-long-long -Wno-unused -I/usr/X11R6/include -I/usr/include/libxml2
-I/usr/include/stlport -I../../include -DHAVE_NELCONFIG_H
-Wp,-MD,.deps/anim_ctrl.pp -c anim_ctrl.cpp -fPIC -DPIC -o
.libs/anim_ctrl.o
In file included from ../../src/3d/lighting_manager.h:30,
from ../../src/3d/transform.h:38,
from std3d.h:29,
from anim_ctrl.cpp:26:
../../src/3d/quad_grid.h: In constructor
`NL3D::CQuadGrid<T>::CIterator::CIterator()':
../../src/3d/quad_grid.h:368: error: `_Ptr' undeclared (first use this
function)
../../src/3d/quad_grid.h:368: error: (Each undeclared identifier is
reported only once for each function it appears in.)
../../src/3d/quad_grid.h: In member function `T&
NL3D::CQuadGrid<T>::CIterator::operator*() const':
../../src/3d/quad_grid.h:371: error: `_Ptr' undeclared (first use this
function)
../../src/3d/quad_grid.h: In member function
`NL3D::CQuadGrid<T>::CIterator&
NL3D::CQuadGrid<T>::CIterator::operator++()':
../../src/3d/quad_grid.h:376: error: `_Ptr' undeclared (first use this
function)
../../src/3d/quad_grid.h: In member function
`NL3D::CQuadGrid<T>::CIterator&
NL3D::CQuadGrid<T>::CIterator::operator--()':
../../src/3d/quad_grid.h:380: error: `_Ptr' undeclared (first use this
function)
../../src/3d/quad_grid.h: In member function `bool
NL3D::CQuadGrid<T>::CIterator::operator==(const
NL3D::CQuadGrid<T>::const_iterator&) const':
../../src/3d/quad_grid.h:384: error: `_Ptr' undeclared (first use this
function)
make[3]: *** [anim_ctrl.lo] Erreur 1
make[3]: Leaving directory `/opt/tmp/code/nel/src/3d'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/opt/tmp/code/nel/src/3d'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/opt/tmp/code/nel/src'
make: *** [all-recursive] Erreur 1