This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi - > > > [...] I've looked to bound-checking projects/patches for gcc but > > > couldnt find anything satisfactory for C++ [...] > > > > Mudflap works for C++ to some extent. Have you tried it? > > [...] > because the latest cvs version doesnt work [...] It actually works fine for me. > and/or [whom] do I tell about: > #gcc.latest --version > gcc.latest (GCC) 3.5.0 20040626 (experimental) > > #gcc.latest -fmudflap -fbounds-checking -g -DDEBUG > -I/root/3ddev/roadgen/rv3d/ -I/root/3ddev/roadgen/xtc/ > -I/root/3ddev/roadgen/xtc/teASCII/ -I/root/3ddev/roadgen/xtc/lib/ > -I/root/3ddev/roadgen/xtc/lib386/ -I/root/3ddev/roadgen/xtc/ide/ -c -o > main.o main.cpp The "-fbounds-checking" flag is not used with mudflap, however you will need to add "-lmudflap" at the link stage. > In file included from /root/3ddev/roadgen/xtc/lib/stack_ramlist.h:6, > from /root/3ddev/roadgen/xtc/xtc.h:6, > from /root/3ddev/roadgen/xtc/ide/config.h:5, > from main.cpp:13: > /root/3ddev/roadgen/xtc/lib/node.h: In member function `void > Node2D<DERIVEDTYPE>::Unlink()': > /root/3ddev/roadgen/xtc/lib/node.h:153: error: `next' was not declared in this > scope This sounds like a problem in your code. More recent versions of g++ perform more error checks than earlier versions. - FChE
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |