Nikos Mavrogiannopoulos nmav@gnutls.org writes:
nettle-stdint.h conflicts with gnulib's stdint.h on solaris.
The same or a very similar issue was reported a while ago. On Solaris, I expect nettle-stdint.h to short circuit, and just include the system's stdint.h (or maybe inttypes.h).
What I'd like to know is if nettle's configure script sets up nettle-stdint.h to include the right system include file, as I expect it to:
* If no, that's clearly a bug in nettle's configure.ac or in the AX_CREATE_STDINT_H macro. To track it down, I would need to look at the installed nettle-stdint.h and at the config.log when nettle was built.
* If yes, then gnulib's definitions don't really conflict with *nettle*'s definitions, but with Solaris' definitions.
I'm also not sure if Sun's compiler and gcc agree on what, e.g. uint_fast32_t should be (they ought to agree though; these types should be nailed down by the relevant ABI specification, and then also gnulib should stick to that spec).
Regards, /Niels