nanogui: CVS compile error
Subject:
CVS compile error
From:
Christian Boon ####@####.####
Date:
23 Aug 2007 15:51:57 +0100
Message-Id: <46CD9E2E.2080909@praxis-automation.nl>
Hello,
when cross compiling the latest CVS version from microwindows i get the
following error:
Compiling mwin/winevent.c ...
/home/pxa255-2.6.22/src/microwin/src/mwin/winevent.c:25: error: static
declaration of 'abs' follows non-static declaration
make[1]: *** [/home/pxa255-2.6.22/src/microwin/src/obj/mwin/winevent.o]
Error 1
make: *** [subdir-/home/pxa255-2.6.22/src/microwin/src/mwin] Error 2
this is probably because of my gcc version.
i use gcc version 4.1.2
the toolchain i use is an EABI toolchain
i probably won't get this error when i compile it with for example gcc
version 3.4
but i cannot easily change the toolchain because other libraries /
applications / kernel
are compiled with this toolchain too..
is there a way to fix this?
thanks in advance,
Chris.