https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
--- Comment #13 from Thiago Macieira ---
(In reply to Andrew Pinski from comment #11)
> You still need:
> constexpr float A::val;
In C++11 mode, yes.
C++17 made all static constexpr data members implicitly inline, which change
the situation. In
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
Andrew Pinski changed:
What|Removed |Added
CC||thiago at kde dot org
--- Comment #12 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
Andrew Pinski changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
Denis Sherstennikov changed:
What|Removed |Added
CC||ddsherstennikov at ya dot ru
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
Mitsuru Kariya changed:
What|Removed |Added
CC||kariya_mitsuru at hotmail dot
com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
--- Comment #8 from Juisoo ---
The described case seems to work in GCC 4.9.2 with the attached files and
g++ -c -fpic testicle.cc -std=c++11
g++ -shared -o libtesticle.so testicle.o
g++ -L/home/usack/entwicklung/tetris -Wall -o testicles main.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
--- Comment #7 from Juisoo ---
Created attachment 34148
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34148&action=edit
second test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
Juisoo changed:
What|Removed |Added
CC||usack at math dot fu-berlin.de
--- Comment #6 f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
--- Comment #5 from Jonathan Wakely 2012-09-07
08:30:36 UTC ---
(In reply to comment #3)
> (In reply to comment #1)
> > This is invalid as per [class.static.data]/3 :
>
> On C++11 level it should be valid
http://www.open-std.org/jtc1/sc22/wg21/
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
Paolo Carlini changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
--- Comment #3 from Daniel Krügler
2012-09-05 11:12:13 UTC ---
(In reply to comment #1)
> This is invalid as per [class.static.data]/3 :
On C++11 level it should be valid, because odr-usage does not happen here
according to [basic.def.odr] p3:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54483
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1 f
13 matches
Mail list logo