From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-13smp i686; Nav) Description of problem: XFree86-devel-4.1.0-3 To ensure maximal ANSI C compliance, I always compile with these options: gcc -Wall -Wstrict-prototypes -Wnested-externs -Wno-format -std=c89 -U__STRICT_ANSI__ I get some warnings that are not my fault; it would be nice if you could fix these in your header files. The problem here is that some of your declarations are of the form "foo()" instead of the form "foo(void)". /usr/X11R6/include/X11/xpm.h:395: warning: function declaration isn't a prototype /usr/X11R6/include/X11/xpm.h:403: warning: function declaration isn't a prototype Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.compile against XFree86-devel-4.1.0-3 with those options 2. 3. Additional info:
These and many numerous other similar compile time warnings that come from both compiling XFree86 itself, and also from building various X software linking to X, are generic XFree86 issues, and not specific to the Red Hat distribution. The fastest way to see these types of things fixed, is to report them directly upstream to XFree86 via their bug report tool at: http://www.xfree86.org/cgi-bin/bugform.cgi Also, the libXpm is maintained separately from XFree86 itself I believe, and merged from time to time, so it might even be faster to have them fix it there, although I don't know where the libXpm site is. Although I usually leave this sort of thing to upstream maintenance, I do occasionally clean up warnings in X, so I'll leave the bug open. I still recommend reporting it upstream though.