[Bug c/12391] [3.4 regression] missing warning about assigning to an incomplete type
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 24 20:40:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12391
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |normal
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-09-24 18:40:24
date| |
Summary|regression: missing warning |[3.4 regression] missing
|about assigning to an |warning about assigning to
|incomplete type |an incomplete type
Target Milestone|--- |3.4
------- Additional Comments From bangerth at dealii dot org 2003-09-24 18:40 -------
Right, a mailine regression. What a vicious piece of code. The g++
front end gives this, btw, which I think is a good reason to change
your programming language :-)
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.c -W -Wall
x.c: In function `int foo()':
x.c:2: error: using typedef-name `b_t' after `struct'
x.c:2: warning: statement has no effect
More information about the Gcc-bugs
mailing list