Discussion:
gcc warning attribute
Nicolas Joly
2012-06-08 14:17:59 UTC
Permalink
Hi,

The attached patch makes pcc understand warning attribute constructs
but ignore them. This avoids numerous messages on the command line
when compiling some real projets such as gm4, curl, ...

./stdio.h,line 477: warning: unsupported attribute '__warning__'
./stdio.h,line 715: warning: unsupported attribute '__warning__'
./stdio.h,line 793: warning: unsupported attribute '__warning__'

Hope this helps,
Regards.
--
Nicolas Joly

Projects and Developments in Bioinformatics
Institut Pasteur, Paris.
Anders Magnusson
2012-06-09 08:30:51 UTC
Permalink
Thanks, added.
Should be simple to actually emit warnings also.

-- Ragge
Post by Nicolas Joly
Hi,
The attached patch makes pcc understand warning attribute constructs
but ignore them. This avoids numerous messages on the command line
when compiling some real projets such as gm4, curl, ...
./stdio.h,line 477: warning: unsupported attribute '__warning__'
./stdio.h,line 715: warning: unsupported attribute '__warning__'
./stdio.h,line 793: warning: unsupported attribute '__warning__'
Hope this helps,
Regards.
Loading...