warnings i can't get rid off
David Forth
dforth@aminocom.com
Thu Sep 20 03:48:00 GMT 2001
>From an earlier posting:
>> when compiling an object file with g++ -c i ALWAYS get
>> cpp: -lang-c++: linker input file unused since linking not done
>
>This means g++ is running the cpp compiler driver, instead of the
>internal preprocessor. That's the reason why the internal
>preprocessor was renamed to cpp0 in GCC 3.0, and in 2.95.3 too, IIRC.
I also have this problem. The object seems to be built correctly but I
would like to get rid of the error message. I don't understand from the
above what to do, cpp0.exe is in the same directory as gcc.exe. g++.exe has
also been built but I am not using it.
Thanks,
Dave
More information about the Gcc-help
mailing list