1. 05 Jun, 2014 1 commit
  2. 27 May, 2014 1 commit
  3. 20 May, 2014 1 commit
  4. 14 May, 2014 2 commits
    • Stephen Kelly's avatar
      Features: Extend concept to C language. · e0890d03
      Stephen Kelly authored
      Add properties and variables corresponding to CXX equivalents.
      Add features for c_function_prototypes (C90), c_restrict (C99),
      c_variadic_macros (C99) and c_static_assert (C11). This feature
      set can be extended later.
      Add a <PREFIX>_RESTRICT symbol define to WriteCompilerDetectionHeader
      to conditionally represent the c_restrict feature.
    • Stephen Kelly's avatar
      Add the WriteCompilerDetectionHeader module. · 62a4a67d
      Stephen Kelly authored
      Provide a function to write a portable header to detect compiler
      features.  Generate a preprocessor #error for unknown compilers
      and compiler versions whose features are not yet recorded.  This
      error condition might be relaxed in the future, but for now it
      is useful for verification of expectations.