autoconf
[Top][All Lists]
Advanced

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

Re: uint64_t fails with C++ (again)


From: Paul Eggert
Subject: Re: uint64_t fails with C++ (again)
Date: Fri, 07 Feb 2014 00:19:31 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Werner LEMBERG wrote:
Repeating your test verbatim I get the #error message!

I'm not too surprised, since you're probably using a pre-C++11 system. I get the same #error on RHEL 6.4, which uses g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3), which is older even than your compiler. How about if you compile with the following command instead?

g++ -D__STDC_LIMIT_MACROS -c t.cc

That fixes the problem on RHEL 6.4, anyway.



reply via email to

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