1. 09 Mar, 2012 1 commit
    • Brad King's avatar
      KWIML: Make test_INT robust to #define-d int#_t and INT#_C · f94ae0ec
      Brad King authored
      Our TEST* macro calls pass arguments such as "int64_t" with the
      expectation that the preprocessing token will be used literally.
      Some platforms #define int64_t as "long long" which is not a valid
      preprocessing token.  Perform preprocessor symbol concatenation
      on the type names at the first level of macro evaluation to avoid
      expanding the names.
      f94ae0ec
  2. 20 Feb, 2012 1 commit
    • Modestas Vainius's avatar
      KWIML: Teach ABI.h that MIPS is biendian · aabf65a0
      Modestas Vainius authored
      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.
      aabf65a0
  3. 21 Nov, 2011 1 commit
  4. 18 Nov, 2011 1 commit
    • Brad King's avatar
      KWIML: Teach ABI.h about PGI compiler · ae7cf91b
      Brad King authored
      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.
      ae7cf91b
  5. 17 Nov, 2011 2 commits
    • Brad King's avatar
      KWIML: Ignore _LONGLONG on MS compiler · 9ccd639a
      Brad King authored
      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.
      9ccd639a
    • Brad King's avatar
      KWIML: Test header inclusion after system headers · 8be93fc4
      Brad King authored
      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.
      8be93fc4
  6. 14 Nov, 2011 1 commit
    • Brad King's avatar
      KWIML: Create test output dir for Xcode · a8f6159f
      Brad King authored
      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.
      a8f6159f
  7. 13 Nov, 2011 1 commit
  8. 12 Nov, 2011 3 commits
  9. 27 Jun, 2011 1 commit
    • Brad King's avatar
      KWIML: The Kitware Information Macro Library · 831badec
      Brad King authored
      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.
      831badec