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

2010-06-25 Thread Hodapp87 at gmail dot com
--- 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

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

2010-06-25 Thread Hodapp87 at gmail dot com
dot gnu dot org ReportedBy: Hodapp87 at gmail dot com GCC build triplet: i486-linux-gnu GCC host triplet: i486-linux-gnu GCC target triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44673