[LTP] recvmmsg(2) system call tests
Ramon Pantin
pantin@google.com
Mon Nov 5 19:35:17 CET 2018
Ok, so my test cases are using arrays on the stack dimensioned at
run-time based on other values computed at run time. C99 is needed for
that. I don't see any value in changing them to use alloca(), its a
waste of time.
Is it really going to be an issue if I use a feature of a 19 year old
language?
On 11/05/2018 01:40 AM, Cyril Hrubis wrote:
> Hi!
>> Can you help me understand why you don't want to allow this test case to
>> make use of the C99 programming language?
>>
>> It is only a 19 year old standard.
>>
>> If there is a problem with C99 use, can you indicate that the problem is?
> What I'm trying to say is:
>
> * Reasonable recent compilers support c99 features without -c99
> explicitelly passed on command line
>
> * It's a very bad idea to hardcode switches in random leaf Makefiles
> as from maintenance point of view this is real disaster
>
> If we ever want to stick to some C standard it has to be a top level
> decision, but honestly I do prefer the compiler defaults.
>
More information about the ltp
mailing list