[LTP] [PATCH V3 1/2] tst_timer: Add support for kernel's 64 bit timespec

Cyril Hrubis chrubis@suse.cz
Wed Apr 22 16:29:07 CEST 2020


Hi!
> > $ gcc --version
> > gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
> 
> Looks like there are some problems with the anonymouns unions, probably
> gcc 4.4 does not support these. I will have a look later on.

Looking into the issue, anonymous unions are part of c11 standard so it
looks like gcc 4.4 is too old to support that. I have tested 4.4.5 which
definitelly lacks the support.

So I guess I will have to change the code so that the union has a name,
its not a big deal since we aren't touching the fields directly but only
in a few get/set functions.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list