[Top][All Lists]

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

inttypes.h compile error

From: Alexander V. Lukyanov
Subject: inttypes.h compile error
Date: Thu, 15 Dec 2011 16:50:48 +0400
User-agent: Mutt/1.5.21 (2010-09-15)

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 <address@hidden>."

I think it's because of this in /usr/include/stdint.h:

/* The ISO C99 standard specifies that in C++ implementations these
   macros should only be defined if explicitly requested.  */
#if !defined __cplusplus || defined __STDC_LIMIT_MACROS


reply via email to

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