[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inttypes.h error for Bison

From: Joel E. Denny
Subject: Re: inttypes.h error for Bison
Date: Mon, 2 Jul 2007 00:50:05 -0400 (EDT)

On Mon, 2 Jul 2007, Bruno Haible wrote:

> 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 .

Thanks.  Could Gnulib's lib/stdint_.h define __STDC_LIMIT_MACROS for C++?

If this problem requires a change in Bison, I'll leave it to someone like 
Paul Eggert who understands this stuff better than I do.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]