[Bug c++/48224] ERROR: compile in g++ version 4.5

2011-03-23 Thread evgenij.fokin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224 --- Comment #9 from Evgenij 2011-03-23 11:09:25 UTC --- (In reply to comment #8) > You're welcome to disagree, but you're wrong ;) The man who never made a mistake, never made anything :) Thank you for your quick response.

[Bug c++/48224] ERROR: compile in g++ version 4.5

2011-03-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224 --- Comment #8 from Jonathan Wakely 2011-03-23 10:37:40 UTC --- (In reply to comment #7) > Jonathan, I disagree with you. You're welcome to disagree, but you're wrong ;) In your original example the compiler tells you where the template is inst

[Bug c++/48224] ERROR: compile in g++ version 4.5

2011-03-23 Thread evgenij.fokin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224 --- Comment #7 from Evgenij 2011-03-23 09:35:29 UTC --- Jonathan, I disagree with you. (In reply to comment #2) > The C++ standard library says the effects are undefined if an incomplete type > is used as a template argument when instantiating a

[Bug c++/48224] ERROR: compile in g++ version 4.5

2011-03-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224 --- Comment #6 from Jonathan Wakely 2011-03-22 13:03:34 UTC --- yes

[Bug c++/48224] ERROR: compile in g++ version 4.5

2011-03-22 Thread evgenij.fokin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224 --- Comment #5 from Evgenij 2011-03-22 11:54:06 UTC --- Jonathan, what the document "The C++ standard library" do you mean? INTERNATIONAL STANDARD ISO/IEC 14882?

[Bug c++/48224] ERROR: compile in g++ version 4.5

2011-03-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/48224] ERROR: compile in g++ version 4.5

2011-03-22 Thread evgenij.fokin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224 Evgenij changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c++/48224] ERROR: compile in g++ version 4.5

2011-03-21 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224 --- Comment #2 from Jonathan Wakely 2011-03-21 19:29:44 UTC --- The C++ standard library says the effects are undefined if an incomplete type is used as a template argument when instantiating a template component (17.4.3.6p2)

[Bug c++/48224] ERROR: compile in g++ version 4.5

2011-03-21 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|