Re: [QUESTION] Problem with empty declaration on compile.

From: George Greer (
Date: 03/04/03

On Mon, 3 Mar 2003, Bartek Shaarani wrote:

>When I compile, I get the following warning during the compilation of
>every source file :
>gcc -g -O2 -Wall -DCIRCLE_UTIL  -I.. -o ../../bin/showplay showplay.c
>In file included from /usr/include/stdio.h:46,
>                 from ../sysdep.h:132,
>                 from showplay.c:9:
>/usr/include/sys/types.h:96: warning: empty declaration
>It compiles regardless, and the source runs fine. How do I solve this?

-Wno-system-headers, if your GCC supports it.

George Greer

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/26/03 PDT