[Bug c++/23689] Malformed typedef silently ignored

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Fri Sep 2 13:25:00 GMT 2005


------- Additional Comments From gdr at integrable-solutions dot net  2005-09-02 13:25 -------
Subject: Re:  Malformed typedef silently ignored

"falk at debian dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Works for me with any gcc version:
| 
| falk@juist:/tmp% gcc-3.4 -c test.c 
| test.c:1: warning: useless keyword or type name in empty declaration
| test.c:2: warning: useless keyword or type name in empty declaration
| 
| What is the exact version you are using and the exact flags you are passing?

The bug was reported against C++; I believe you're testing with a C
compiler, instead of C++.

-- Gaby


-- 


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



More information about the Gcc-bugs mailing list