[LTP] [PATCH] open_posix_testsuite: Remove inclomplete warning commandline argument

Joerg Vehlow lkml@jv-coder.de
Mon May 13 06:34:52 CEST 2024


Hi,

Am 5/9/2024 um 11:21 AM schrieb Cyril Hrubis:
> Hi!
>> The Open Posix testsuite calls the compiler with the commandline argument
>> "-W", but that is not a supported gcc warning option
>> and breaks other compiler.
>>
>> This patch removes the broken "-W" commandline argument.
> 
> Isn't -W old name for -Wextra?
exactly that is what gcc and clang documentation states.

On top of that

Additionally it is nothing introduced by 8071ba7, but already by
ff4e69314c1 back in 2013 by no one else but you Cyril ;)

I guess changing it to -Wextra wouldn't hurt and is what gcc recommends.

Jörg


More information about the ltp mailing list