[Bug c++/68954] [5/6 Regression] -Wdeprecated-declarations -Werror errors for system header templates

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 12 14:28:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68954

--- Comment #9 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to rguenther@suse.de from comment #6)
> I agree the new behavior makes sense but I wondered if it was 
> intentionally that for warnings enabled by default (no -W*) we
> continue issueing a warning rather than an error with -Werror.

No, it wasn't intentional. It was a buggy side effect of using the pragma, even
thought the pragma doesn't apply because of the location.


More information about the Gcc-bugs mailing list