[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: timespec declaration issue on Tru64
From: |
Bruno Haible |
Subject: |
Re: timespec declaration issue on Tru64 |
Date: |
Mon, 15 Dec 2008 02:11:11 +0100 |
User-agent: |
KMail/1.9.9 |
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
- timespec declaration issue on Tru64 (was: Bug in autoconf 2.62 with old GNU awk), Ralf Wildenhues, 2008/12/14
- Re: timespec declaration issue on Tru64, Bruno Haible, 2008/12/14
- RE: timespec declaration issue on Tru64, Daniel Richard G., 2008/12/15
- Re: timespec declaration issue on Tru64,
Bruno Haible <=
- RE: timespec declaration issue on Tru64, Daniel Richard G., 2008/12/15
- Re: timespec declaration issue on Tru64, Bruno Haible, 2008/12/15
- Re: timespec declaration issue on Tru64, Ralf Wildenhues, 2008/12/21
- Re: timespec declaration issue on Tru64, Bruno Haible, 2008/12/21
- Re: timespec declaration issue on Tru64, Ralf Wildenhues, 2008/12/21