c++/9302: -o and -c preclude use of -include
bkoz@gcc.gnu.org
bkoz@gcc.gnu.org
Thu Mar 6 23:12:00 GMT 2003
Synopsis: -o and -c preclude use of -include
Responsible-Changed-From-To: unassigned->geoffk
Responsible-Changed-By: bkoz
Responsible-Changed-When: Thu Mar 6 23:10:35 2003
Responsible-Changed-Why:
Perhaps you could look at this?
g++ (GCC) 3.2.2
<bkoz@belmont> /home/bkoz/work/9302
%g++ -c abc.cc -include abc.h
<bkoz@belmont> /home/bkoz/work/9302
%g++ -c abc.cc -o fukd -include abc.h
g++ (GCC) 3.4 20030306 (experimental)
%$bld/H-x86-gcc/bin/g++ -c abc.cc -include abc.h
<command line>:140237139:55712: -xc++-header: No such file or directory
<command line>:139316359:52432: -xc++-header: No such file or directory
<bkoz@belmont> /home/bkoz/work/9302
%$bld/H-x86-gcc/bin/g++ -c abc.cc -o fukd -include abc.h
g++: cannot specify -o with -c or -S and multiple compilations
I think there is another one too, c++/9394, with a patch.
-benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9302
More information about the Gcc-bugs
mailing list