[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [PATCH] Don't break compilation process with unknow o
From: |
Sergey Korshunoff |
Subject: |
Re: [Tinycc-devel] [PATCH] Don't break compilation process with unknow option |
Date: |
Sun, 4 Jan 2015 07:42:28 +0300 |
> 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 <address@hidden>:
> 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
>
- Re: [Tinycc-devel] [PATCH] Don't break compilation process with unknow option, Thomas Preud'homme, 2015/01/03
- Re: [Tinycc-devel] [PATCH] Don't break compilation process with unknow option,
Sergey Korshunoff <=
- Re: [Tinycc-devel] [PATCH] Don't break compilation process with unknow option, RoboTux, 2015/01/04
- Re: [Tinycc-devel] [PATCH] Don't break compilation process with unknow option, Sergey Korshunoff, 2015/01/05
- Re: [Tinycc-devel] [PATCH] Don't break compilation process with unknow option, Sergey Korshunoff, 2015/01/06
- Re: [Tinycc-devel] [PATCH] Don't break compilation process with unknow option, Michael Matz, 2015/01/07
- Re: [Tinycc-devel] [PATCH] Don't break compilation process with unknow option, Sergey Korshunoff, 2015/01/07
- Re: [Tinycc-devel] [PATCH] Don't break compilation process with unknow option, Michael Matz, 2015/01/07