[Bug c++/18101] invalid declaration in struct not rejected

2011-09-27 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18101 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED CC|gcc-bugs at g

[Bug c++/18101] invalid declaration in struct not rejected

2006-06-04 Thread sambitdash at gmail dot com
--- Comment #2 from sambitdash at gmail dot com 2006-06-05 06:22 --- I am not sure if this code is invalid. It's no different from saying: struct B { struct A; }; A is just a forward declaration here. In the following code is not invalid but the statement ::A is innocuous and f

[Bug c++/18101] invalid declaration in struct not rejected

2004-10-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-21 21:16 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E