Ok, my bad.
I used the same Makefile as for my project before. When I tried "g++ -o main.cpp test" it turned out ok. So the compiler is ok.
Here's the flags I use in my Makefile:
CXXFLAGS = -g -Wall -O0
Does those cause any problems?
I have some FORTRAN code in the project as well. I suppose I have to try to take it away. But is there somebody who know if the extern "C" trick turns dynamic_cast into a pile of shit? I use that to make C++ and FORTRAN to comunicate.
pir
Bookmarks