[AD] allow stricter warnings |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Hi,This patch allows you to include Allegro headers into a program you wish to compile with gcc -Wshadow -Wstrict-prototypes -Wmissing-prototypes (I need this for something). You could do it before if your Allegro headers were in a system header directory, but if they were not then gcc would spew warnings about missing prototypes and parameters shadowing 'line' (Allegro), 'time' (libc), 'y1' (libc) and 'vsync' (Allegro).
Peter
Attachment:
stricter.diff.gz
Description: application/gunzip
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |