diff --git a/include/etl/profiles/msvc_x86.h b/include/etl/profiles/msvc_x86.h index d4286277..8f657d53 100644 --- a/include/etl/profiles/msvc_x86.h +++ b/include/etl/profiles/msvc_x86.h @@ -40,7 +40,7 @@ SOFTWARE. #define ETL_COMPILER_MICROSOFT #define ETL_CPP11_SUPPORTED (_MSC_VER >= 1600) #define ETL_CPP14_SUPPORTED (_MSC_VER >= 1900) -#define ETL_CPP17_SUPPORTED 0 +#define ETL_CPP17_SUPPORTED (_MSC_VER >= 1914) #define ETL_NO_NULLPTR_SUPPORT !ETL_CPP11_SUPPORTED #define ETL_NO_LARGE_CHAR_SUPPORT !ETL_CPP11_SUPPORTED #define ETL_CPP11_TYPE_TRAITS_IS_TRIVIAL_SUPPORTED ETL_CPP14_SUPPORTED diff --git a/include/etl/stl/alternate/functional.h b/include/etl/stl/alternate/functional.h index 58adcdbf..0538eb40 100644 --- a/include/etl/stl/alternate/functional.h +++ b/include/etl/stl/alternate/functional.h @@ -61,7 +61,7 @@ template struct unary_function { - typedef TArgumentType aurgument_type; + typedef TArgumentType argument_type; typedef TResultType result_type; }; @@ -70,15 +70,15 @@ template struct binary_function { - typedef TFirstArgumentType first_aurgument_type; - typedef TSecondArgumentType second_aurgument_type; + typedef TFirstArgumentType first_argument_type; + typedef TSecondArgumentType second_argument_type; typedef TResultType result_type; }; //*************************************************************************** template - class binder1st : public ETLSTD::unary_function + class binder1st : public ETLSTD::unary_function { protected: @@ -112,7 +112,7 @@ //*************************************************************************** template - class binder2nd : public ETLSTD::unary_function + class binder2nd : public ETLSTD::unary_function { protected: TFunction operation; diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c71b9b35..af18f98b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -36,6 +36,7 @@ set(TEST_SOURCE_FILES test_callback_timer.cpp test_checksum.cpp test_compare.cpp + test_compiler_settings.cpp test_constant.cpp test_container.cpp test_crc.cpp diff --git a/test/codeblocks/ETL.cbp b/test/codeblocks/ETL.cbp index ebcc60ce..399feed4 100644 --- a/test/codeblocks/ETL.cbp +++ b/test/codeblocks/ETL.cbp @@ -12,7 +12,7 @@