This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13527] __attribute__ ((unused)) ignored
- From: "robin at robindaugherty dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Dec 2003 15:10:09 -0000
- Subject: [Bug c++/13527] __attribute__ ((unused)) ignored
- References: <20031230223426.13527.robin@robindaugherty.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From robin at robindaugherty dot net 2003-12-31 15:10 -------
I have observed this with 3.2.1 and 3.3.2 (made with default options for x86 on
Linux). I compile these files with -Wall (I use this option in my Makefiles).
I have attached two files, one which causes five warnings, and one which causes
only three. The difference between them is that #include <mysql/my_global.h> is
before the definitions in the first file, but after them in the second.
Let me know if you still want preprocessed sources from me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13527