This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31904] fail to link to static const double
- From: "dennis0yang at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 May 2007 08:33:15 -0000
- Subject: [Bug c++/31904] fail to link to static const double
- References: <bug-31904-14536@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from dennis0yang at gmail dot com 2007-05-12 09:33 -------
Subject: Re: fail to link to static const double
I just checked out the bug report you mentioned, are you sure they are
the same? When I change "static const double" to "static const int", the
code compiles without any problem. It also compiles when I replace the
statement "y=-x" with "y= -1 * x". So maybe it is a different bug.
schwab at suse dot de wrote:
> ------- Comment #2 from schwab at suse dot de 2007-05-12 09:15 -------
>
>
> *** This bug has been marked as a duplicate of 30745 ***
>
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31904