[Bug c++/57941] [c++11] confusing error message with invalid constexpr constructor in template struct
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 3 10:31:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57941
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paolo.carlini at oracle dot com
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
In mainline we made progress on this issue (I should track down when and why):
after the "because" note we print:
57941.C:5:33: error: call to non-constexpr function ‘int a<T>::c() const [with
T = int]’
constexpr int b () { return c (); }
More information about the Gcc-bugs
mailing list