[Bug c/34076] inline attribute seems to mess with const qualifier.
alexandre dot nunes at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 12 19:46:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list