Subject: fvwm2 compiler warnings
To: netbsd-amiga <port-amiga@NetBSD.ORG>
From: Georges Heinesch <ghmlist@ibm.net>
List: port-amiga
Date: 07/17/1998 23:17:00
While compiling fvwm-2.0.46, make produced quite a lot of warnings (no
errors though). Below some of them:

----- cut here -----
builtins.c: In function `iconify_function':
builtins.c:681: warning: passing arg 2 of `GetOneArgument' from incompatible pointer type
builtins.c: In function `SetClick':
builtins.c:1246: warning: passing arg 2 of `GetOneArgument' from incompatible pointer type
builtins.c: In function `SetXOR':
builtins.c:1264: warning: passing arg 2 of `GetOneArgument' from incompatible pointer type
builtins.c: In function `SetOpaque':
builtins.c:1289: warning: passing arg 2 of `GetOneArgument' from incompatible pointer type

[...]

read.c: In function `ReadFile':
read.c:189: warning: passing arg 1 of `ExecuteFunction' discards `const' from pointer target type
read.c: In function `PipeRead':
read.c:217: warning: passing arg 1 of `ExecuteFunction' discards `const' from pointer target type

[...]
----- cut here -----

Can this be considered as "normal" and unavoidable?

What can be done by the user compiling the source to avoid those
warnings?

What went wrong?

--
Cu  Georges Heinesch, Luxembourg
    geohei@ibm.net - geohei@geocities.com
    http://www.geocities.com/yosemite/2480
    PGP 2.6.3i / 5.1i public key on request and on public servers

... have a plan and make it work ...