[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 01:53:00 GMT 2009



------- Comment #4 from andhow at gmail dot com  2009-11-19 01:53 -------
(In reply to comment #3)
> (In reply to comment #2)
> > You don't have a definition of the static const variable which you need for
> > this to be valid C++.

Heh, oops, hit 'Commit' accidentally.

This example does have a definition for the static member variable.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42101



More information about the Gcc-bugs mailing list