This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55694] LD error if 0 is added to int variable.
- From: "leonid at volnitsky dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Dec 2012 06:01:47 +0000
- Subject: [Bug c++/55694] LD error if 0 is added to int variable.
- Auto-submitted: auto-generated
- References: <bug-55694-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55694
--- Comment #5 from Leonid Volnitsky <leonid at volnitsky dot com> 2012-12-15 06:01:47 UTC ---
Thanks Jonathan. I've figured this out. One more reason why enum is better than
static const.