> GCC and clang also error out for unknown option. What option caused your
program to fail to compile?

The patch is for the case with -Wunsupported. In such case a user will
is "Don't trap, only warning". There are many gcc options which tcc
don't support. But in many cases, this options are not important.
Changing a Makefiles is not a solution when trying to use tcc insteed
of gcc.
And a patch test command is:
 /tcc -Wunsupported -traditional -E tcc.c -o tcc.i

2015-01-04 1:30 GMT+03:00, Thomas Preud'homme <[email protected]>:
> Le samedi 27 décembre 2014, 17:02:03 Sergey Korshunoff a écrit :
>> # ./tcc -Wunsupported -traditional -E tcc.c -o tcc.i
>> tcc: error: invalid option -- '-traditional'
>>
>> Don't break compilation process with unknow option  (-traditional for
>> example). There is a warning label for such case.
>
> GCC and clang also error out for unknown option. What option caused your
> program to fail to compile?
>
> Best regards,
>
> Thomas
>

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to