FVWM: Compiler warnings

From: Gregg Dameron <gregg.dameron_at_lmco.com>
Date: Mon, 11 Mar 2002 18:55:54 -0700

The Solaris C compiler (acc) complains when building fvwm2. In our shop
we tend to get nervous about such things, since we will be providing
systems (with fvwm2 installed) to our end users, and must answer to any
bug reports they submit. (They have a real knack for exposing weird,
intermittent anomalies.) As a result, we've developed a healthy respect
for compiler warnings. What follows are the warnings from a build of
2.4.6. Any plans to address these?

Gregg Dameron


"../config.h", line 91: warning: syntax error: empty declaration
(or)
"../../config.h", line 91: warning: syntax error: empty declaration
(many, many of these - these warnings are new since 2.4.5)

"FScreen.c", line 1005: warning: argument #4 is incompatible with
prototype:
        prototype: pointer to unsigned int : "FScreen.c", line 839
        argument : pointer to int
"FScreen.c", line 1005: warning: argument #5 is incompatible with
prototype:
        prototype: pointer to unsigned int : "FScreen.c", line 839
        argument : pointer to int

"menus.c", line 2772: warning: argument #5 is incompatible with
prototype:
        prototype: pointer to int : "../libs/FScreen.h", line 48
        argument : pointer to unsigned int
"menus.c", line 2772: warning: argument #6 is incompatible with
prototype:
        prototype: pointer to int : "../libs/FScreen.h", line 48
        argument : pointer to unsigned int
"menus.c", line 7629: warning: argument #5 is incompatible with
prototype:
        prototype: pointer to int : "../libs/FScreen.h", line 48
        argument : pointer to unsigned int
"menus.c", line 7629: warning: argument #6 is incompatible with
prototype:
        prototype: pointer to int : "../libs/FScreen.h", line 48
        argument : pointer to unsigned int
"menus.c", line 7675: warning: end-of-loop code not reached

"bindings.c", line 321: warning: statement not reached

"FvwmConsoleC.c", line 56: warning: argument #2 is incompatible with
prototype:
        prototype: pointer to function(int) returning void :
"/usr/include/signal.h", line 46
        argument : pointer to function() returning void
"FvwmConsoleC.c", line 57: warning: argument #2 is incompatible with
prototype:
        prototype: pointer to function(int) returning void :
"/usr/include/signal.h", line 46
        argument : pointer to function() returning void

"readconfig.c", line 1533: warning: enum type mismatch: op "="
"readconfig.c", line 1535: warning: enum type mismatch: op "="
"readconfig.c", line 1537: warning: enum type mismatch: op "="
"readconfig.c", line 1544: warning: enum type mismatch: op "="
"readconfig.c", line 1544: warning: enum type mismatch: op "="

"xmanager.c", line 1653: warning: statement not reached

"FvwmTheme.c", line 684: warning: argument #6 is incompatible with
prototype:
        prototype: pointer to unsigned int : "../../libs/fvwmlib.h",
line 342
        argument : pointer to int
"FvwmTheme.c", line 684: warning: argument #7 is incompatible with
prototype:
        prototype: pointer to unsigned int : "../../libs/fvwmlib.h",
line 342
        argument : pointer to int

"icons.c", line 278: warning: statement not reached
"icons.c", line 317: warning: statement not reached



--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Mar 11 2002 - 19:55:33 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST