[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inttypes.h error for Bison
From: |
Bruno Haible |
Subject: |
Re: inttypes.h error for Bison |
Date: |
Mon, 2 Jul 2007 05:00:49 +0200 |
User-agent: |
KMail/1.5.4 |
Joel E. Denny wrote:
> > - Bison from CVS HEAD, then "./bootstrap", right?
>
> Yes.
>
> > - How did you configure it?
>
> Either:
>
> ./configure
> ./configure --enable-gcc-warnings
The latter doesn't count, since it enables -Werror. But without
-enable-gcc-warnings I reproduce the error. The problem is that gnulib's
inttypes_.h heavily relies on the INT*_MAX, INT*_MIN, UINT*_MAX macros
from <stdint.h>, but <stdint.h> does not define these macros in C++ mode if
__STDC_LIMIT_MACROS is not defined.
It is not clear to me how we can fix this. In the meantime, you can,
as a workaround, use CPPFLAGS=-D__STDC_LIMIT_MACROS .
Bruno
- inttypes.h error for Bison, Joel E. Denny, 2007/07/01
- Re: inttypes.h error for Bison, James Youngman, 2007/07/02
- Re: inttypes.h error for Bison, Joel E. Denny, 2007/07/01
- Re: inttypes.h error for Bison, Bruno Haible, 2007/07/01
- Re: inttypes.h error for Bison, Joel E. Denny, 2007/07/01
- Re: inttypes.h error for Bison, Bruno Haible, 2007/07/01
- Re: inttypes.h error for Bison, Joel E. Denny, 2007/07/01
- Re: inttypes.h error for Bison,
Bruno Haible <=
- Re: inttypes.h error for Bison, Joel E. Denny, 2007/07/02
- Re: inttypes.h error for Bison, Paul Eggert, 2007/07/02
- Re: inttypes.h error for Bison, Bruno Haible, 2007/07/02
- Re: inttypes.h error for Bison, Joel E. Denny, 2007/07/02
- Re: inttypes.h error for Bison, Bruno Haible, 2007/07/02
- Re: inttypes.h error for Bison, Joel E. Denny, 2007/07/02
- Re: inttypes.h error for Bison, Joel E. Denny, 2007/07/03
- Re: inttypes.h error for Bison, Paul Eggert, 2007/07/13