http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50871

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-26 
10:40:30 UTC ---
Ah of course it's a system header thing, but -pedantic would have caught it.

This let a bug slip through in the library, which I fixed with
http://gcc.gnu.org/viewcvs/trunk/libstdc%2B%2B-v3/src/condition_variable.cc?r1=180454&r2=180453&pathrev=180454
 
It would be nice if the compiler had caught it. I assume the condition is there
to handle badly-written system headers, but I don't think we want to allow
mismatched exception spec in libstdc++ itself.

Reply via email to