Various g++/clang config_test fixes.

This commit is contained in:
Peter Dimov committed 2014-06-09 01:00:56 +03:00
1 parent 97618dc66a
commit 051fbf2cc7
4 files changed
+23 -1

No files matched your search

+7
View File
@@ -43,6 +43,12 @@ int check_f(const A& a)
int test()
{
#if defined( BOOST_NO_EXCEPTIONS )
{
B b;
return check_f(b);
}
#else
try{
B b;
return check_f(b);
@@ -51,6 +57,7 @@ int test()
{
return 1;
}
#endif
}
}