[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uint64_t fails with C++ (again)
From: |
Werner LEMBERG |
Subject: |
Re: uint64_t fails with C++ (again) |
Date: |
Fri, 07 Feb 2014 10:46:03 +0100 (CET) |
>> Will this problem be handled in a forthcoming autoconf release?
>
> I'm afraid I don't understand the problem yet, as your original
> email defined __STDC_LIMIT_MACROS, but now you're saying that
> -D__STDC_LIMIT_MACROS fixes the problem.
Indeed, doing
./configure CC=g++ CPPFLAGS="-D__STDC_LIMIT_MACROS"
fixes the issue, too.
> That being said, my guess is that it's not an autoconf bug.
Yep, it's a gcc bug. Attached you can find some tests; hopefully,
this helps you.
> I tend to work around these sorts of glitches using Gnulib; its
> stdint module fixes the portability problem with __STDC_LIMIT_MACROS
> that I know about. Admittedly Gnulib is not for everybody.
Hehe. I use gnulib, so this is just fine for me.
Werner
uint64_t.tar.xz
Description: Binary data
- uint64_t fails with C++ (again), Werner LEMBERG, 2014/02/06
- Re: uint64_t fails with C++ (again), Paul Eggert, 2014/02/07
- Re: uint64_t fails with C++ (again), Werner LEMBERG, 2014/02/07
- Re: uint64_t fails with C++ (again), Paul Eggert, 2014/02/07
- Re: uint64_t fails with C++ (again), Werner LEMBERG, 2014/02/07
- Re: uint64_t fails with C++ (again), Paul Eggert, 2014/02/07
- Re: uint64_t fails with C++ (again),
Werner LEMBERG <=
- Re: uint64_t fails with C++ (again), Werner LEMBERG, 2014/02/07
- Re: uint64_t fails with C++ (again), Werner LEMBERG, 2014/02/15