[Bug c++/82269] -Wignored-qualifiers should not trigger on templated code
sgunderson at bigfoot dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 20 13:28:00 GMT 2017
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)':
../sql/parse_tree_column_attrs.h:548:59: warning: type qualifiers ignored on
cast result type [-Wignored-qualifiers]
: PT_type(static_cast<decltype(PT_type::type)>(blob_type)),
^
I looked for a bug before filing but didn't find any; which one should I
subscribe to?
More information about the Gcc-bugs
mailing list