[Bug c++/42101] Linking failure with static constants and ternary inline function
andhow at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Nov 19 02:41:00 GMT 2009
------- Comment #7 from andhow at gmail dot com 2009-11-19 02:41 -------
(In reply to comment #6)
> This is pretty basic C++, by the way.
Mmm hmm. SO basic that it warranted special clarification in 9.4.2-4:
"The member shall still be defined in a namespace scope if it is used in the
program and the namespace scope definition shall not contain an initializer."
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42101
More information about the Gcc-bugs
mailing list