Commit 6a313829 authored by Bill Hoffman's avatar Bill Hoffman

BUG: fix complex test for old compilers

parent d6aee2bc
......@@ -19,7 +19,7 @@ void Passed(const char* Message, const char* m2="")
passed++;
}
main()
int main()
{
if(sharedFunction() != 1)
{
......
......@@ -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
......@@ -19,7 +19,7 @@ void Passed(const char* Message, const char* m2="")
passed++;
}
main()
int main()
{
if(sharedFunction() != 1)
{
......
......@@ -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
......@@ -19,7 +19,7 @@ void Passed(const char* Message, const char* m2="")
passed++;
}
main()
int main()
{
if(sharedFunction() != 1)
{
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment