[kaffe] compile error when compile the kaffe-0.4

Michael Koch konqueror at gmx.de
Wed Apr 27 05:07:51 PDT 2005


On Wed, Apr 27, 2005 at 09:32:48PM +0900, toodulli at netian.com wrote:
> I compiled the kaffe-0.4 for study.
> I search the kaffe-0.4 in history download.
> when I compiled, found error messages.
> =======================
> gcc -DINTERPRETER -g -O -I, -I, -I./intrp -I./../config -c -fPIC baseClasses.c
> baseClasses.c: In function 'makeStringObject':
> baseClasses.c: 158: incompatible types in assignment
> ....
> gcc -DINTERPRETER -g -O -I, -I, -I./intrp -I./../config -c -fPIC ./intrp/machine.c
> baseClasses.c: In function 'virtualMachine':
> baseClasses.c: 165: incompatible types in assignment
> 
> ============================
> If this kaffe version be able to compile, somebody to help me...^^*
> 
> kaffe-0.4 version

Newer compilers are normaller much stricter then older compilers and dont allow
code anymore that was accepted in the the past. Either you use an compiler that
was recent at the time of the 0.4 release or you make the code working with newer
compilers.


Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/




More information about the kaffe mailing list