Commit Graph

8 Commits

Author SHA1 Message Date
Brad King ec1d352485 KWIML: Teach INT about broken UINT32_C on old HP
Old HP inttypes.h defines UINT32_C as:

 #define __CONCAT__(_A,_B) _A ## _B
 #define __CONCAT_U__(_A) _A ## u
 #define UINT32_C(__c) __CONCAT__(__CONCAT_U__(__c),l)

The __CONCAT__ macro does not delay concatenation for an extra level so
standard preprocessor implementations like GNU complain that they cannot
concatenate the ")" and "l".
2012-06-21 08:04:16 -04:00
Brad King 64d0e15627 KWIML: Teach INT.h that no HP platform implements SCN*8 formats
The "hh" class of scan formats is not implemented by the HP runtime.
2012-06-21 08:04:16 -04:00
Brad King 539064d4f7 KWIML: Generalize interface to report broken integer literal macros
The <inttypes.h> header on some platforms define the integer literal
macros incorrectly for some of the integer types.  Generalize the
documented interface reporting broken U/INT64_C to all integer sizes.
2012-06-20 08:17:05 -04:00
Brad King 6240f853a3 KWIML: Report broken integer format macros on AIX 4.3
The <inttypes.h> on this platform defines the macros incorrectly, as in

 #define PRId32 %d

instead of

 #define PRId32 "d"
2012-06-07 15:19:20 -04:00
Brad King e1b0fc9c9a KWIML: Add interface to report broken integer format macros
The <inttypes.h> header on some platforms define the integer format
macros incorrectly for some of the integer types.  Document macros that
we can define to report such platforms to the includer.  Check these
reports before trusting the system-defined macros.
2012-06-07 14:20:14 -04:00
Brad King 33fff24aca KWIML: No INT_SCN*8 on Intel for Windows
Intel C/C++ for Windows does not support the SCN*8 format (%hh*).
The MS runtime does not support it.
2011-11-13 15:06:12 -05:00
Brad King bcc06d498c KWIML: No INT_SCN*8 on SunPro compiler
The Sun compiler does not document support for SCN*8 format (%hh*).
It works only on platforms that happen to provide a runtime library
that supports the format.
2011-11-12 10:10:07 -05:00
Brad King 831badeca2 KWIML: The Kitware Information Macro Library
Provides header files that use preprocessor tests to detect and provide
information about the compiler and its target architecture.  The headers
contain no configuration-time test results and thus may be installed
into an architecture-independent include directory.  This makes them
suitable for use in the public interface of any package.
2011-06-27 14:04:32 -04:00