diff --git a/configure b/configure index 81c70fe406edd4ab1e144ecbd02b8600cec80de4..ad51997a13292f317820c869305d36f0e2138472 100755 --- a/configure +++ b/configure @@ -5245,16 +5245,16 @@ void func(void) { } catch(std::bad_array_new_length &) { } catch(std::bad_function_call &) { } catch(std::bad_weak_ptr &) { - } catch(std::system_error &e) { - if(e.code().category()==std::generic_category()) void; - else if(e.code().category()==std::system_category()) void; - else if(e.code().category()==std::iostream_category()) void; - else if(e.code().category()==std::future_category()) void; } catch(std::ios_base::failure &e) { - if(e.code().category()==std::generic_category()) void; - else if(e.code().category()==std::system_category()) void; - else if(e.code().category()==std::iostream_category()) void; - else if(e.code().category()==std::future_category()) void; + if(e.code().category()==std::generic_category()) {} + else if(e.code().category()==std::system_category()) {} + else if(e.code().category()==std::iostream_category()) {} + else if(e.code().category()==std::future_category()) {} + } catch(std::system_error &e) { + if(e.code().category()==std::generic_category()) {} + else if(e.code().category()==std::system_category()) {} + else if(e.code().category()==std::iostream_category()) {} + else if(e.code().category()==std::future_category()) {} } // capable to throw: auto a=std::bad_array_new_length(); diff --git a/configure.ac b/configure.ac index b035962feeb692a231c621857fc6538a202832a4..aaa860a430eb5612293bd14306e6e5c4ed66b9c2 100644 --- a/configure.ac +++ b/configure.ac @@ -403,16 +403,16 @@ void func(void) { } catch(std::bad_array_new_length &) { } catch(std::bad_function_call &) { } catch(std::bad_weak_ptr &) { - } catch(std::system_error &e) { - if(e.code().category()==std::generic_category()) void; - else if(e.code().category()==std::system_category()) void; - else if(e.code().category()==std::iostream_category()) void; - else if(e.code().category()==std::future_category()) void; } catch(std::ios_base::failure &e) { - if(e.code().category()==std::generic_category()) void; - else if(e.code().category()==std::system_category()) void; - else if(e.code().category()==std::iostream_category()) void; - else if(e.code().category()==std::future_category()) void; + if(e.code().category()==std::generic_category()) {} + else if(e.code().category()==std::system_category()) {} + else if(e.code().category()==std::iostream_category()) {} + else if(e.code().category()==std::future_category()) {} + } catch(std::system_error &e) { + if(e.code().category()==std::generic_category()) {} + else if(e.code().category()==std::system_category()) {} + else if(e.code().category()==std::iostream_category()) {} + else if(e.code().category()==std::future_category()) {} } // capable to throw: auto a=std::bad_array_new_length();