stdint.h, C++ and __STDC_LIMIT_MACROS

2015-11-01 Thread Pedro Alves
Hello, I'm working on porting GDB to C++03, and cross building for --host=x86_64-w64-mingw32 using Fedora 20's g++ (gcc version 4.8.4 20141219 (Fedora MinGW 4.8.4-1.fc20)), I'm stumbling on: In file included from ../../src/gdb/../include/splay-tree.h:43:0, from ../../src/gdb/

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