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

From: George Greer (greerga@circlemud.org)
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
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



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