On March 4, 2005 10:56 pm, Peter Wang wrote:
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
`-Wshadow'
Warn whenever a local variable shadows another local variable,
parameter or global variable or whenever a built-in function is
shadowed.
how would that have any effect on a users code if the problem area is in
allegro functions?