From 16a24aef4c392b2cf02933ce11539f5d253b936b Mon Sep 17 00:00:00 2001 From: Alastair Murray Date: Fri, 2 Aug 2019 17:17:00 +0100 Subject: [PATCH] Do not set -std=c99 on files that are set to be C++ This eliminates some warnings for a few compiler configurations. This change is not required on master branch. --- test_conformance/conversions/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test_conformance/conversions/CMakeLists.txt b/test_conformance/conversions/CMakeLists.txt index 47632bfd..c20e7d9d 100644 --- a/test_conformance/conversions/CMakeLists.txt +++ b/test_conformance/conversions/CMakeLists.txt @@ -43,10 +43,6 @@ set_source_files_properties( endif() endif() -set_source_files_properties( - Sleep.c test_conversions.c basic_test_conversions.c - COMPILE_FLAGS -std=c99) - if(NOT MSVC) if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)") set_source_files_properties(