[Bug c++/82734] -Wignored-qualifiers is maybe too strict when using decltype

sylvestre at debian dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 2 14:51:00 GMT 2018


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

--- Comment #3 from Sylvestre Ledru <sylvestre at debian dot org> ---
For people who are getting these error, we fixed it with:
static_cast<std::remove_cv<decltype(MediaCacheStream::BLOCK_SIZE)>::type>(INT32_MAX)


More information about the Gcc-bugs mailing list