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]

[Bug c/34076] inline attribute seems to mess with const qualifier.



------- 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


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