From 0f380c0dfaad4618aacc10cdccdc9157d7e93f3f Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Sat, 30 Jul 2005 21:58:12 -0400 Subject: [PATCH] ENH: no c++ comments in a c file --- Tests/Complex/Executable/testcflags.c | 4 ++-- Tests/ComplexOneConfig/Executable/testcflags.c | 4 ++-- Tests/ComplexRelativePaths/Executable/testcflags.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Tests/Complex/Executable/testcflags.c b/Tests/Complex/Executable/testcflags.c index 96224d4ae..6c692f367 100644 --- a/Tests/Complex/Executable/testcflags.c +++ b/Tests/Complex/Executable/testcflags.c @@ -1,12 +1,12 @@ #include int TestCFlags(char* m) { - // TEST_CXX_FLAGS should not be defined in a c file + /* TEST_CXX_FLAGS should not be defined in a c file */ #ifdef TEST_CXX_FLAGS strcpy(m, "CMake CMAKE_CXX_FLAGS (TEST_CXX_FLAGS) found in c file."); return 0; #endif - // TEST_C_FLAGS should be defined in a c file + /* TEST_C_FLAGS should be defined in a c file */ #ifndef TEST_C_FLAGS strcpy(m, "CMake CMAKE_C_FLAGS (TEST_C_FLAGS) not found in c file."); return 0; diff --git a/Tests/ComplexOneConfig/Executable/testcflags.c b/Tests/ComplexOneConfig/Executable/testcflags.c index 96224d4ae..6c692f367 100644 --- a/Tests/ComplexOneConfig/Executable/testcflags.c +++ b/Tests/ComplexOneConfig/Executable/testcflags.c @@ -1,12 +1,12 @@ #include int TestCFlags(char* m) { - // TEST_CXX_FLAGS should not be defined in a c file + /* TEST_CXX_FLAGS should not be defined in a c file */ #ifdef TEST_CXX_FLAGS strcpy(m, "CMake CMAKE_CXX_FLAGS (TEST_CXX_FLAGS) found in c file."); return 0; #endif - // TEST_C_FLAGS should be defined in a c file + /* TEST_C_FLAGS should be defined in a c file */ #ifndef TEST_C_FLAGS strcpy(m, "CMake CMAKE_C_FLAGS (TEST_C_FLAGS) not found in c file."); return 0; diff --git a/Tests/ComplexRelativePaths/Executable/testcflags.c b/Tests/ComplexRelativePaths/Executable/testcflags.c index 96224d4ae..6c692f367 100644 --- a/Tests/ComplexRelativePaths/Executable/testcflags.c +++ b/Tests/ComplexRelativePaths/Executable/testcflags.c @@ -1,12 +1,12 @@ #include int TestCFlags(char* m) { - // TEST_CXX_FLAGS should not be defined in a c file + /* TEST_CXX_FLAGS should not be defined in a c file */ #ifdef TEST_CXX_FLAGS strcpy(m, "CMake CMAKE_CXX_FLAGS (TEST_CXX_FLAGS) found in c file."); return 0; #endif - // TEST_C_FLAGS should be defined in a c file + /* TEST_C_FLAGS should be defined in a c file */ #ifndef TEST_C_FLAGS strcpy(m, "CMake CMAKE_C_FLAGS (TEST_C_FLAGS) not found in c file."); return 0;