BUG: fix complex test for old compilers

This commit is contained in:
Bill Hoffman 2001-08-24 15:54:06 -04:00
parent d6aee2bc36
commit 6a3138293b
6 changed files with 12 additions and 12 deletions

View File

@ -19,7 +19,7 @@ void Passed(const char* Message, const char* m2="")
passed++;
}
main()
int main()
{
if(sharedFunction() != 1)
{

View File

@ -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

View File

@ -19,7 +19,7 @@ void Passed(const char* Message, const char* m2="")
passed++;
}
main()
int main()
{
if(sharedFunction() != 1)
{

View File

@ -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

View File

@ -19,7 +19,7 @@ void Passed(const char* Message, const char* m2="")
passed++;
}
main()
int main()
{
if(sharedFunction() != 1)
{

View File

@ -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