This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to argument processing in main
>>>>> Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
> On Thu, 14 Oct 1999, Jason Merrill wrote:
>> cases where it would be convenient to be able to compile code from
>> multiple languages with the same set of flags (gcc -fwierd-stuff foo.C
>> bar.java baz.f), so I think the error should just be backed out.
>>
>> Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
>>
>> * toplev.c (main): Don't complain about options for other languages.
> I agree that issuing an error in such cases is causing troubles, but why
> go from one extreme to the other?
Because the other extreme (the state after my patch) is the status quo, and
I didn't feel like doing the extra work to suppress the warning for the
collect case.
> I do believe we should not bail out nor simply ignore unsupported
> options, but *warn* users in such cases.
Oh, all right. I'll fix it.
Jason