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

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Sep 2 13:25:00 GMT 2005


"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



More information about the Gcc-bugs mailing list