This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug c++/23689] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]