------- 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