diff options
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 2 | ||||
-rw-r--r-- | Tests/Complex/cmTestConfigure.h.in | 6 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 2 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/cmTestConfigure.h.in | 6 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 2 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/cmTestConfigure.h.in | 6 |
6 files changed, 12 insertions, 12 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index 9af88ad..8202cee 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -19,7 +19,7 @@ void Passed(const char* Message, const char* m2="") passed++; } -main() +int main() { if(sharedFunction() != 1) { diff --git a/Tests/Complex/cmTestConfigure.h.in b/Tests/Complex/cmTestConfigure.h.in index 563463d..a7bffb7 100644 --- a/Tests/Complex/cmTestConfigure.h.in +++ b/Tests/Complex/cmTestConfigure.h.in @@ -3,7 +3,7 @@ #define STRING_VAR "${STRING_VAR}" -#undef CMAKE_NO_STD_NAMESPACE -#undef CMAKE_NO_ANSI_STREAM_HEADERS -#undef CMAKE_NO_ANSI_FOR_SCOPE +#cmakedefine CMAKE_NO_STD_NAMESPACE +#cmakedefine CMAKE_NO_ANSI_STREAM_HEADERS +#cmakedefine CMAKE_NO_ANSI_FOR_SCOPE diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index 9af88ad..8202cee 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -19,7 +19,7 @@ void Passed(const char* Message, const char* m2="") passed++; } -main() +int main() { if(sharedFunction() != 1) { diff --git a/Tests/ComplexOneConfig/cmTestConfigure.h.in b/Tests/ComplexOneConfig/cmTestConfigure.h.in index 563463d..a7bffb7 100644 --- a/Tests/ComplexOneConfig/cmTestConfigure.h.in +++ b/Tests/ComplexOneConfig/cmTestConfigure.h.in @@ -3,7 +3,7 @@ #define STRING_VAR "${STRING_VAR}" -#undef CMAKE_NO_STD_NAMESPACE -#undef CMAKE_NO_ANSI_STREAM_HEADERS -#undef CMAKE_NO_ANSI_FOR_SCOPE +#cmakedefine CMAKE_NO_STD_NAMESPACE +#cmakedefine CMAKE_NO_ANSI_STREAM_HEADERS +#cmakedefine CMAKE_NO_ANSI_FOR_SCOPE diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index 9af88ad..8202cee 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/Executable/complex.cxx @@ -19,7 +19,7 @@ void Passed(const char* Message, const char* m2="") passed++; } -main() +int main() { if(sharedFunction() != 1) { diff --git a/Tests/ComplexRelativePaths/cmTestConfigure.h.in b/Tests/ComplexRelativePaths/cmTestConfigure.h.in index 563463d..a7bffb7 100644 --- a/Tests/ComplexRelativePaths/cmTestConfigure.h.in +++ b/Tests/ComplexRelativePaths/cmTestConfigure.h.in @@ -3,7 +3,7 @@ #define STRING_VAR "${STRING_VAR}" -#undef CMAKE_NO_STD_NAMESPACE -#undef CMAKE_NO_ANSI_STREAM_HEADERS -#undef CMAKE_NO_ANSI_FOR_SCOPE +#cmakedefine CMAKE_NO_STD_NAMESPACE +#cmakedefine CMAKE_NO_ANSI_STREAM_HEADERS +#cmakedefine CMAKE_NO_ANSI_FOR_SCOPE |