contributing & bound-checks
S.Hockenhull
potam@sympatico.ca
Sun Jun 27 18:04:00 GMT 2004
On June 23, 2004 17:50, Frank Ch. Eigler wrote:
> rv <potam@sympatico.ca> writes:
> > [...] 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?
>
would love to... what's the trick to get it to work on a version of gcc that
works :P
because the latest cvs version doesnt work and previous versions dont have it.
some pointers to help me frankenstein a version of gcc 3.3 or 3.4 with mudflap
would be appreciated.
(for now my 3-or-so years old slot-A 700Mhz K7 is a bit slow build gcc in a
decent time frame, waiting for the comp store to receive my ordered dual
opteron so I can do quicker build/test/debug loops)
and/or who 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
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
node.h is just some double linked list and tree node templates
(maybe I'm late in the news, as I said, takes a while to compile ;)
--
Stephane Hockenhull
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node.h
Type: text/x-chdr
Size: 4073 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040627/7224608b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node.cpp
Type: text/x-c++src
Size: 582 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040627/7224608b/attachment-0001.bin>
More information about the Gcc
mailing list