[Bug c++/82269] -Wignored-qualifiers should not trigger on templated code

2017-09-20 Thread sgunderson at bigfoot dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82269 --- Comment #4 from sgunderson at bigfoot dot com --- This one is perhaps a better case: ../sql/parse_tree_column_attrs.h: In constructor 'PT_blob_type::PT_blob_type(Blob_type, const CHARSET_INFO*, bool)':

[Bug c++/82269] -Wignored-qualifiers should not trigger on templated code

2017-09-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82269 --- Comment #3 from Jonathan Wakely --- I agree that in this case the caller is wrong and should do pointer_cast not pointer_cast. The warning found a bug. In general the warning is a bit too noisy, but we already have a bug report about it.

[Bug c++/82269] -Wignored-qualifiers should not trigger on templated code

2017-09-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82269 Jonathan Wakely changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from

[Bug c++/82269] -Wignored-qualifiers should not trigger on templated code

2017-09-20 Thread sgunderson at bigfoot dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82269 sgunderson at bigfoot dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED