------- Comment #10 from rep dot nop at aon dot at  2005-10-16 16:22 -------
Created an attachment (id=10004)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10004&action=view)
fix w/ warning about mixed incompatible languages too

Changelog:
* gcc.c (have_c): New static variable.
(have_o): Likewise.
(process_command): Remove declation of have_c.
Set have_o to 1 when handling -o.
(main): Add a fatal error if there are multiple files specified and -o and
-c/-S
is passed witout -combine or multiple languages. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22544

Reply via email to