José Matos wrote: > In the line above I replaced g++ by g++ -E and I have removed what comes > after > the -c (of course). > > I send you the result attached. It seems that the compiler is right bad_cast > is nowhere to be found...
bad_cast come from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/typeinfo do you have this file in your gcc 4.3.0 ? also this include show somewhere around include strings like /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/locale_facets.tcc can't be some locale things in play? pavel