Skip to content
Snippets Groups Projects
Commit fff5129d authored by Brad King's avatar Brad King
Browse files

STYLE: Work-around std:: check since this is a platform test.

parent c112b8dd
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#ifdef TEST_KWSYS_STL_HAVE_STD #ifdef TEST_KWSYS_STL_HAVE_STD
#include <list> #include <list>
void f(std::list<int>*) {} void f(std ::list<int>*) {}
int main() { return 0; } int main() { return 0; }
#endif #endif
...@@ -40,7 +40,7 @@ int main() { return 0; } ...@@ -40,7 +40,7 @@ int main() { return 0; }
#ifdef TEST_KWSYS_IOS_HAVE_STD #ifdef TEST_KWSYS_IOS_HAVE_STD
#include <iosfwd> #include <iosfwd>
void f(std::ostream*) {} void f(std ::ostream*) {}
int main() { return 0; } int main() { return 0; }
#endif #endif
...@@ -50,8 +50,8 @@ int main() { return 0; } ...@@ -50,8 +50,8 @@ int main() { return 0; }
# error "GCC 2.96 stringstream is buggy" # error "GCC 2.96 stringstream is buggy"
#endif #endif
int main() int main()
{ {
std::ostringstream ostr; std ::ostringstream ostr;
ostr << "hello"; ostr << "hello";
if(ostr.str().size() == 5) if(ostr.str().size() == 5)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment