On 12/15/2011 10:07 PM, Alexander V. Lukyanov wrote:
> This patch works if I use C++ compiler for AC_COMPILE tests.
> Not if I use plain C.
I don't observe that problem. Can you show how to reproduce it?
>> -#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ before C++11 */
>> -#defin
On Thu, Dec 15, 2011 at 11:50:23AM -0800, Paul Eggert wrote:
> On 12/15/11 04:50, Alexander V. Lukyanov wrote:
> > I get this message in a C++ program on linux (glibc-2.14).
> >
> > ../lib/inttypes.h:58:3: error: #error "This file assumes that 'int' has
> > exactly 32 bits. Please report your pla
On 12/15/11 04:50, Alexander V. Lukyanov wrote:
> I get this message in a C++ program on linux (glibc-2.14).
>
> ../lib/inttypes.h:58:3: error: #error "This file assumes that 'int' has
> exactly 32 bits. Please report your platform and compiler to
> ."
Thanks for reporting that. I installed th
On 12/15/2011 05:50 AM, Alexander V. Lukyanov wrote:
> I get this message in a C++ program on linux (glibc-2.14).
>
> ../lib/inttypes.h:58:3: error: #error "This file assumes that 'int' has
> exactly 32 bits. Please report your platform and compiler to
> ."
>
> I think it's because of this in /
I get this message in a C++ program on linux (glibc-2.14).
../lib/inttypes.h:58:3: error: #error "This file assumes that 'int' has exactly
32 bits. Please report your platform and compiler to ."
I think it's because of this in /usr/include/stdint.h:
/* The ISO C99 standard specifies that in C++