[Bug c++/89785] Incorrect "not a constant expression" error with switch statement that returns

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 21 08:39:00 GMT 2019


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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
So you say that Addrlen(0) and Addrlen(2) are proper constexprs?  Of course
Addrlen(1) is not.


More information about the Gcc-bugs mailing list