On Wed, Oct 01, 2003 at 10:53:28AM -0400, Ronald Florence wrote: > > On Wednesday, October 1, 2003, at 10:37 AM, Andre Poenitz wrote: > > >or better have two constructors: > > > > // as-is > > explicit type_info(const char *__n): __name(__n) { } > > // new > > type_info(): __name("strangestuff") { } > > With this declaration, the compile error is > > source='cpp_regex_traits.cpp' object='cpp_regex_traits.lo' libtool=yes \ > depfile='.deps/cpp_regex_traits.Plo' > tmpdepfile='.deps/cpp_regex_traits.TPlo' \ > depmode=gcc3 /bin/sh ../../../../config/depcomp \ > /bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. > -I../../../../src -I../../../../boost -I/sw/include -isystem > /usr/X11R6/include -O -finline-limit=500 -fno-exceptions -c -o > cpp_regex_traits.lo `test -f 'cpp_regex_traits.cpp' || echo > './'`cpp_regex_traits.cpp > g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost > -I/sw/include -isystem /usr/X11R6/include -O -finline-limit=500 > -fno-exceptions -c cpp_regex_traits.cpp -MT cpp_regex_traits.lo -MD -MP > -MF .deps/cpp_regex_traits.TPlo > In file included from /usr/include/gcc/darwin/3.1/g++-v3/locale:46, > from > /usr/include/gcc/darwin/3.1/g++-v3/bits/ostream.tcc:37, > from /usr/include/gcc/darwin/3.1/g++-v3/ostream:275, > from /usr/include/gcc/darwin/3.1/g++-v3/iterator:70, > from ../../../../boost/boost/regex/config.hpp:93, > from cpp_regex_traits.cpp:26: > /usr/include/gcc/darwin/3.1/g++-v3/bits/locale_facets.tcc:45:38: > typeinfo: No such file or directory
That's fun. It complained about missing constructors in the typeinfo file but does not find the file? > make[4]: *** [cpp_regex_traits.lo] Error 1 > > [Alas, I am going to have to get back to work and won't be able to > continue this step-by-step debugging, as valuable as it is.] I should, too. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)