forked from boostorg/config
Various g++/clang config_test fixes.
This commit is contained in:
1 parent
97618dc66a
commit
051fbf2cc7
4 files changed
+23
-1
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user