This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45829] Unary minus on static const class variable triggering linker error
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Sep 2010 15:33:43 +0000
- Subject: [Bug c++/45829] Unary minus on static const class variable triggering linker error
- Auto-submitted: auto-generated
- References: <bug-45829-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45829
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #6 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2010-09-29 15:33:35 UTC ---
(In reply to comment #5)
> There is little to explain here, in general terms. The details may vary
> depending on the actual optimizations, etc., and only the *linker* can
> eventually notice that the symbol is missing.
What is the point of allowing to initialize it then?