Re: [PATCH] Re: stdint.h, C++ and __STDC_LIMIT_MACROS

2016-04-03 Thread Paul Eggert
Pedro Alves wrote: Here's the updated patch. Thanks, I installed that. Sorry about the long delay; my inbox was overflowing.

Re: [PATCH] Re: stdint.h, C++ and __STDC_LIMIT_MACROS

2015-11-03 Thread Pedro Alves
On 11/03/2015 02:45 PM, Pedro Alves wrote: > On 11/03/2015 02:32 AM, Paul Eggert wrote: >> Pedro Alves wrote: >>> Instead of trying to detect the right types, detect >>> good-enough-pre-C++11 stdint.h and in such case make the substitute >>> stdint.h just wrap the system's stdint.h with >>> __STDC_

Re: [PATCH] Re: stdint.h, C++ and __STDC_LIMIT_MACROS

2015-11-03 Thread Pedro Alves
On 11/03/2015 02:32 AM, Paul Eggert wrote: > Pedro Alves wrote: >> Instead of trying to detect the right types, detect >> good-enough-pre-C++11 stdint.h and in such case make the substitute >> stdint.h just wrap the system's stdint.h with >> __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defined. > >

Re: [PATCH] Re: stdint.h, C++ and __STDC_LIMIT_MACROS

2015-11-02 Thread Paul Eggert
Pedro Alves wrote: Instead of trying to detect the right types, detect good-enough-pre-C++11 stdint.h and in such case make the substitute stdint.h just wrap the system's stdint.h with __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defined. Instead, how about just adding the necessary #defines for

[PATCH] Re: stdint.h, C++ and __STDC_LIMIT_MACROS

2015-11-02 Thread Pedro Alves
On 11/02/2015 11:03 AM, Pedro Alves wrote: > On 11/02/2015 10:36 AM, Pedro Alves wrote: > >> $ grep -rn gl_cv_header_working_stdint_h >> config.cache:628:gl_cv_header_working_stdint_h=${gl_cv_header_working_stdint_h=no} >> config.log:39493:gl_cv_header_working_stdint_h=no >> >> But, I don't get a

Re: stdint.h, C++ and __STDC_LIMIT_MACROS

2015-11-02 Thread Pedro Alves
On 11/02/2015 10:36 AM, Pedro Alves wrote: > $ grep -rn gl_cv_header_working_stdint_h > config.cache:628:gl_cv_header_working_stdint_h=${gl_cv_header_working_stdint_h=no} > config.log:39493:gl_cv_header_working_stdint_h=no > > But, I don't get a replacement: > > $ find . -name stdint.h > $ > >

Re: stdint.h, C++ and __STDC_LIMIT_MACROS

2015-11-02 Thread Pedro Alves
On 11/02/2015 01:36 AM, Paul Eggert wrote: > Pedro Alves wrote: >> and gnulib is deciding that the system's stdint.h is good enough >> At least, I don't get a stdint.h replacement. > > Since gnulib's test program contains this: > > intmax_t i = INTMAX_MAX; > > I'm surprised that gnulib decided t

Re: stdint.h, C++ and __STDC_LIMIT_MACROS

2015-11-01 Thread Paul Eggert
Pedro Alves wrote: and gnulib is deciding that the system's stdint.h is good enough At least, I don't get a stdint.h replacement. Since gnulib's test program contains this: intmax_t i = INTMAX_MAX; I'm surprised that gnulib decided that the system's stdint.h was good enough. Perhaps you coul