[LTP] [PATCH] config: Explicitly set gnu99

Cyril Hrubis chrubis@suse.cz
Mon Nov 21 16:09:07 CET 2022


Hi!
> Use the GNU variant of the C99 language to stop GCC 4.8.5 defaulting
> to C90.
> 
> We can't use C99 because LTP is far from compliant.

I woder if this would work with different compilers. I suppose clang
does work, but what about icc?

I supose that we get tons of 'can't do pointer arithmetics on void*
pointers and stuff' with plain c99. Maybe it would be better to clean
these out instead.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list