Gcc tries to compile C programs as C++ !
I'm having a problem with gcc on my Debian 2.0 Linux system. I have the egcs
compiler ("gcc --version" reports "egcs-2.90.29 980515 (egcs-1.0.3
release)"). When I try to compile any .c file, gcc attempts to compile it as
C++ instead of C and so often fails. If I use the "-x c" option, gcc
compiles .c files fine. However, this isn't an adequate solution since I need
to compile some large GNU sources. Has anyone heard of or experienced this
problem? Anyone know what I might do to remedy it?
Thanks,
Brett
Reply to: