Daniel Richard G. wrote:
> -std puts the compiler into relaxed-ANSI mode, instead of the default, which
> is K&R. This flag was actually added by autoconf itself---the build failure I
> quoted was obtained with all *FLAGS variables unset.
>
> (The only other options here are -std1 [strict ANSI], and -ms [Microsoft
> Visual C compatible])
OK. It's the "strict" modes that sometimes cause trouble. "Relaxed" mode sounds
fine.
> > 1) to look at the preprocessor output. Here:
> > $ cc -std -std -I. -ieee -g -E sig2str.c >
> > i
> > Does this output contain the typedef for 'struct
> > timespec' or not?
> > If so, does it use the definition from
> > <sys/sysmisc.h> or from gnulib?
>
> From "egrep '^#|timespec' i" ...
>
> # 582 "/usr/include/sys/types.h"
> # 35 "/usr/include/sys/sysmisc.h"
> typedef struct timespec {
> } timespec_t;
> # 35 "/usr/include/sys/siginfo.h"
So? What is your conclusion from that?
Bruno
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils