[Bug c++/61323] 'static' and 'const' attributes cause non-type template argument matching failure

2017-10-16 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61323 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/61323] 'static' and 'const' attributes cause non-type template argument matching failure

2017-10-16 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61323 --- Comment #2 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Oct 16 08:25:31 2017 New Revision: 253777 URL: https://gcc.gnu.org/viewcvs?rev=253777=gcc=rev Log: 2017-10-16 Paolo Carlini PR

[Bug c++/61323] 'static' and 'const' attributes cause non-type template argument matching failure

2014-05-26 Thread bisqwit at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61323 --- Comment #1 from Joel Yliluoma bisqwit at iki dot fi --- Interestingly enough, only if you add the term constexpr to the array declaration, you get an actually meaningful error message: constexpr const char* table7[10] = {};