http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576



Daniel Frey <d.frey at gmx dot de> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |d.frey at gmx dot de



--- Comment #13 from Daniel Frey <d.frey at gmx dot de> 2013-02-25 16:20:20 UTC 
---

Since it wasn't pointed out explicitly: The behaviour should depend on the

presence or absence of -std=c++0x/c++11/gnu++0x/gnu++11. The OPs example wasn't

compiled without any of these options, so it should be an error and GCC is

correct. With C++11 enabled, GCC's behaviour should be changed.

Reply via email to