[Bug c++/31904] fail to link to static const double

2007-05-12 Thread dennis0yang at gmail dot com
--- Comment #3 from dennis0yang at gmail dot com 2007-05-12 09:29 --- Subject: Re: fail to link to static const double I understand that the standard only specifies that static const for integral type can be assigned within the class. My point is that if gcc decides to allow

[Bug c++/31904] fail to link to static const double

2007-05-12 Thread dennis0yang at gmail dot com
--- 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

[Bug c++/31904] fail to link to static const double

2007-05-12 Thread dennis0yang at gmail dot com
--- Comment #6 from dennis0yang at gmail dot com 2007-05-12 17:19 --- Subject: Re: fail to link to static const double I understand perfectly well everything you said. But I think you miss the point of this bug report. This is not about the c++ standard in terms of what should

[Bug c++/31904] New: fail to link to static const double

2007-05-11 Thread dennis0yang at gmail dot com
Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dennis0yang at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31904