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++/45829] Unary minus on static const class variable triggering linker error


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?


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