mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
KWIML: Teach ABI.h about PGI compiler
The PGI compiler appears to define "long long" as size 8 but does not provide a feature macro for it. It does provide options for the signedness of char (-Mschar, -Muchar) but does not define a feature macro indicating the choice. The default is signed, at least on Linux.
This commit is contained in:
4
ABI.h.in
4
ABI.h.in
@@ -148,6 +148,8 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined.
|
||||
# define @KWIML@_ABI_CHAR_IS_SIGNED 1
|
||||
# elif defined(_SGI_COMPILER_VERSION) /* SGI MIPSpro default */
|
||||
# define @KWIML@_ABI_CHAR_IS_UNSIGNED 1
|
||||
# elif defined(__PGIC__) /* PGI default */
|
||||
# define @KWIML@_ABI_CHAR_IS_SIGNED 1
|
||||
# elif defined(_MSC_VER) /* MSVC default */
|
||||
# define @KWIML@_ABI_CHAR_IS_SIGNED 1
|
||||
# elif defined(__WATCOMC__) /* Watcom default */
|
||||
@@ -231,6 +233,8 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined.
|
||||
# define @KWIML@_ABI_SIZEOF_LONG_LONG 8
|
||||
# elif defined(__HP_cc) || defined(__HP_aCC) /* HP */
|
||||
# define @KWIML@_ABI_SIZEOF_LONG_LONG 8
|
||||
# elif defined(__PGIC__) /* PGI */
|
||||
# define @KWIML@_ABI_SIZEOF_LONG_LONG 8
|
||||
# elif defined(__WATCOMC__) /* Watcom */
|
||||
# define @KWIML@_ABI_SIZEOF_LONG_LONG 8
|
||||
# elif defined(__INTEL_COMPILER) /* Intel */
|
||||
|
||||
Reference in New Issue
Block a user