CMake/Tests/CompileFeatures
Stephen Kelly a3d0ae1758 Features: Fix the default C dialect for Clang and GNU.
Clang 3.4 uses C99 by default, and Clang 3.6 uses C11 by default:

 http://thread.gmane.org/gmane.comp.compilers.clang.devel/39379

GNU 4.9 uses C90 by default, and GNU 5.0 uses C11 by default:

 https://gcc.gnu.org/gcc-5/changes.html

Test that the default compiler settings result in the expected dialect
macros being defined for both C and CXX.  Remove the unused main.c
file from the CompileFeatures unit test.
2014-11-20 18:24:59 +01:00
..
CMakeLists.txt Features: Fix the default C dialect for Clang and GNU. 2014-11-20 18:24:59 +01:00
c_function_prototypes.c Features: Extend concept to C language. 2014-05-15 00:15:18 +02:00
c_restrict.c Features: Extend concept to C language. 2014-05-15 00:15:18 +02:00
c_static_assert.c Features: Extend concept to C language. 2014-05-15 00:15:18 +02:00
c_variadic_macros.c Features: Extend concept to C language. 2014-05-15 00:15:18 +02:00
cxx_aggregate_default_initializers.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_alias_templates.cpp Features: Add cxx_alias_templates. 2014-04-08 11:05:56 +02:00
cxx_alignas.cpp Features: Add cxx_alignas. 2014-04-08 11:05:56 +02:00
cxx_alignof.cpp Features: Add cxx_alignof. 2014-04-08 11:05:56 +02:00
cxx_attribute_deprecated.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_attributes.cpp Features: Add cxx_attributes. 2014-04-08 11:05:56 +02:00
cxx_auto_type.cpp
cxx_binary_literals.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_constexpr.cpp Features: Add cxx_constexpr. 2014-04-08 11:05:54 +02:00
cxx_contextual_conversions.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_decltype.cpp Features: Add cxx_decltype. 2014-04-08 11:05:54 +02:00
cxx_decltype_auto.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_decltype_incomplete_return_types.cpp Features: Add cxx_decltype_incomplete_return_types. 2014-04-08 11:05:57 +02:00
cxx_default_function_template_args.cpp Features: Add cxx_default_function_template_args. 2014-04-08 11:05:57 +02:00
cxx_defaulted_functions.cpp Features: Add cxx_defaulted_functions. 2014-04-08 11:05:54 +02:00
cxx_defaulted_move_initializers.cpp Features: Add cxx_defaulted_move_initializers. 2014-04-08 11:05:58 +02:00
cxx_delegating_constructors.cpp Features: Add cxx_delegating_constructors. 2014-04-08 11:05:54 +02:00
cxx_deleted_functions.cpp Features: Add cxx_deleted_functions. 2014-04-08 11:05:55 +02:00
cxx_digit_separators.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_enum_forward_declarations.cpp Features: Add cxx_enum_forward_declarations. 2014-04-08 11:05:57 +02:00
cxx_explicit_conversions.cpp Features: Add cxx_explicit_conversions. 2014-04-08 11:05:55 +02:00
cxx_extended_friend_declarations.cpp Features: Add cxx_extended_friend_declarations. 2014-04-08 11:05:57 +02:00
cxx_extern_templates.cpp Features: Add cxx_extern_templates. 2014-04-08 11:05:56 +02:00
cxx_final.cpp Features: Add cxx_final. 2014-04-08 11:05:54 +02:00
cxx_func_identifier.cpp Features: Add cxx_func_identifier. 2014-04-08 11:05:57 +02:00
cxx_generalized_initializers.cpp Features: Add cxx_generalized_initializers. 2014-04-08 11:05:56 +02:00
cxx_generic_lambdas.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_inheriting_constructors.cpp Features: Add cxx_inheriting_constructors. 2014-04-08 11:05:55 +02:00
cxx_inline_namespaces.cpp Features: Add cxx_inline_namespaces. 2014-04-08 11:05:57 +02:00
cxx_lambda_init_captures.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_lambdas.cpp Features: Add cxx_lambdas. 2014-04-08 11:05:55 +02:00
cxx_local_type_template_args.cpp Features: Add cxx_local_type_template_args. 2014-04-08 11:05:57 +02:00
cxx_long_long_type.cpp Features: Add cxx_long_long_type. 2014-04-08 11:05:58 +02:00
cxx_noexcept.cpp Features: Add cxx_noexcept. 2014-04-08 11:05:55 +02:00
cxx_nonstatic_member_init.cpp Features: Add cxx_nonstatic_member_init. 2014-04-08 11:05:55 +02:00
cxx_nullptr.cpp Features: Add cxx_nullptr. 2014-04-08 11:05:55 +02:00
cxx_override.cpp Features: Add cxx_override. 2014-04-08 11:05:54 +02:00
cxx_range_for.cpp Features: Add cxx_range_for. 2014-04-08 11:05:55 +02:00
cxx_raw_string_literals.cpp Features: Add cxx_raw_string_literals. 2014-04-08 11:05:55 +02:00
cxx_reference_qualified_functions.cpp Features: Add cxx_reference_qualified_functions. 2014-04-08 11:05:55 +02:00
cxx_relaxed_constexpr.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_return_type_deduction.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_right_angle_brackets.cpp Features: Add cxx_right_angle_brackets. 2014-04-08 11:05:57 +02:00
cxx_rvalue_references.cpp Features: Add cxx_rvalue_references. 2014-04-08 11:05:55 +02:00
cxx_sizeof_member.cpp Features: Add cxx_sizeof_member. 2014-04-08 11:05:57 +02:00
cxx_static_assert.cpp Features: Add cxx_static_assert. 2014-04-08 11:05:54 +02:00
cxx_strong_enums.cpp Features: Add cxx_strong_enums. 2014-04-08 11:05:54 +02:00
cxx_template_template_parameters.cpp Features: Add cxx_template_template_parameters. 2014-04-16 15:16:23 +02:00
cxx_thread_local.cpp Features: Add cxx_thread_local. 2014-04-08 11:05:57 +02:00
cxx_trailing_return_types.cpp Features: Add cxx_auto_function. 2014-04-08 11:05:54 +02:00
cxx_unicode_literals.cpp Features: Add cxx_unicode_literals. 2014-04-08 11:05:56 +02:00
cxx_uniform_initialization.cpp Features: Add cxx_uniform_initialization. 2014-04-08 11:05:56 +02:00
cxx_unrestricted_unions.cpp Features: Add cxx_unrestricted_unions. 2014-04-08 11:05:56 +02:00
cxx_user_literals.cpp Features: Add cxx_user_literals. 2014-04-08 11:05:56 +02:00
cxx_variable_templates.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_variadic_macros.cpp Features: Add cxx_variadic_macros. 2014-04-08 11:05:57 +02:00
cxx_variadic_templates.cpp Features: Add cxx_variadic_templates. 2014-04-08 11:05:54 +02:00
default_dialect.c Features: Fix the default C dialect for Clang and GNU. 2014-11-20 18:24:59 +01:00
default_dialect.cpp Features: Fix the default C dialect for Clang and GNU. 2014-11-20 18:24:59 +01:00
feature_test.cpp Tests: Make CompileFeature tests use highest standard known. 2014-05-09 14:39:30 +02:00
genex_test.cpp Features: Add COMPILE_FEATURES generator expression. 2014-05-21 17:22:32 +02:00
main.cpp