This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/34076] inline attribute seems to mess with const qualifier.
- From: "alexandre dot nunes at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2007 19:46:08 -0000
- Subject: [Bug c/34076] inline attribute seems to mess with const qualifier.
- References: <bug-34076-15246@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from alexandre dot nunes at gmail dot com 2007-11-12 19:46 -------
Created an attachment (id=14532)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14532&action=view)
the original file from the bug report.
gcc -DNOINLINES -W -Wall -Winline -Wshadow -Werror -O -c pqp.c
gcc -W -Wall -Winline -Wshadow -Werror -O -c pqp.c
cc1: warnings being treated as errors
pqp.c: In function ?b?:
pqp.c:16: warning: passing argument 1 of ?a? discards qualifiers from pointer
target type
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34076