This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/44673] static const variable works in if/else, fails at linking in ternary



------- Comment #3 from Hodapp87 at gmail dot com  2010-06-25 21:45 -------
(In reply to comment #1)
> You need indeed a definition.
> 

Why does it require a definition in the ternary case, but not in the if/else?


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]