summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* KWIML: Teach ABI.h that MIPS is biendianModestas Vainius2012-02-201-1/+9
| | | | | | MIPS machines are biendian hence they can run both big endian kernels e.g. Debian mips architecture, and little endian kernels e.g. Debian mipsel architecture. Use predefined macros to distinguish them.
* KWIML: Avoid MSVC linker warning about not using C++ runtimeBrad King2011-11-211-0/+6
| | | | | | | Teach KWIML_test to use part of the C++ runtime library. Otherwise the linker complains: warning LNK4089: all references to 'MSVCP71.dll' discarded by /OPT:REF
* KWIML: Teach ABI.h about PGI compilerBrad King2011-11-181-0/+4
| | | | | | | 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.
* KWIML: Ignore _LONGLONG on MS compilerBrad King2011-11-171-1/+2
| | | | | | The VS 7.0 header <yvals.h> included by most C++ system headers defines the macro _LONGLONG as __int64. Teach ABI.h to ignore the definition in this case because "long long" does not exist.
* KWIML: Test header inclusion after system headersBrad King2011-11-174-0/+50
| | | | | | Some system headers may define macros that interfere with preprocessor tests in KWIML headers. Test this case to be sure that the verification checks at the bottom of the headers do not fail.
* KWIML: Create test output dir for XcodeBrad King2011-11-141-0/+10
| | | | | | | | | Xcode 2.x forgets to create the target output directory before linking the individual architecture pieces of a universal binary for the target KWIML_test. Then it passes the directory to -L and -F options when linking the and warns that the directory does not exist. We work around the problem by using a pre-build rule on the target to create the output directory.
* KWIML: No INT_SCN*8 on Intel for WindowsBrad King2011-11-131-0/+3
| | | | | Intel C/C++ for Windows does not support the SCN*8 format (%hh*). The MS runtime does not support it.
* KWIML: No INT_SCN*8 on SunPro compilerBrad King2011-11-121-3/+1
| | | | | | 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.
* KWIML: Suppress printf/scanf format warnings in testBrad King2011-11-121-0/+7
| | | | | | KWIML defines format string macros matching the fixed-sized types. This test checks that they behave as expected and that the arguments match the *sizes* expected by the format strings.
* KWIML: Avoid redefining _CRT_SECURE_NO_DEPRECATE in test.hBrad King2011-11-121-1/+3
| | | | | If the including project defines this macro do not re-define it in the test header.
* KWIML: The Kitware Information Macro LibraryBrad King2011-06-2715-0/+1790
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.