Hi all, I'm trying to compile the original ion, and having compilation
issues:

gcc -g -O2 -fPIC -W -Wimplicit -Wreturn-type -Wswitch -Wcomment
-Wtrigraphs -Wformat -Wchar-subscripts -Wparentheses -pedantic-errors
-Wuninitialized -DETCDIR=\"/usr/local/etc\" -I../libtu/include
-I/usr/X11R6/include    -c clientwin.c -o clientwin.o
clientwin.c: In function `manage_clientwin':
clientwin.c:345: error: ISO C forbids conversion of object pointer to
function pointer type
clientwin.c:345: error: ISO C forbids conversion of object pointer to
function pointer type
make[1]: *** [clientwin.o] Error 1

I commented out the line but then I get the same error in a multitude
of places in another file. Not to mention commenting out the offending 
line isnt exactly a good solution...

This is with an amd64 system. Ion is working fine for me on another
similarly setup amd64 system; I suspect it was compiled with a compiler
closer to gcc3.0, and what I'm seeing here is gcc3.4.3 being more
strict about the standard.

Are there fixes out there for this? Or does anyone know of an option I
can enable to make gcc ignore the breach of standard?

-tom

Reply via email to