Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fvwm2 compiler warnings



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@localhost - geohei%geocities.com@localhost
    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 ...




Home | Main Index | Thread Index | Old Index