[fpc-devel] Is this a compiler bug ?

ik idokan at gmail.com
Thu Sep 27 15:05:02 CEST 2012


Hello,

While trying to compile FPC r22471:
make CROSSOPT="-O2 -g -FD/usr/share/java/"  CPU_TARGET=jvm
OS_TARGET=android INSTALL_PREFIX=/usr/ FPC=/usr/bin/ppcx64  all
zipinstall

I get the following message:


/home/ik/projects/foss/fpc/fpc/compiler/ppc -Ur -Xs -O2 -n -Fujvm
-Fusystems -Fu/home/ik/projects/foss/fpc/fpc/rtl/units/x86_64-linux
-Fijvm -FE. -FUjvm/units/x86_64-linux -Cg -dRELEASE   -djvm -dGDB
-dBROWSERLOG -Fujvm -dNOOPT -Sew pp.pas
hlcgcpu.pas(2392,28) Warning: Constructing a class "thlcgjvm" with
abstract method "g_overflowcheck"
hlcgcpu.pas(2392,28) Warning: Constructing a class "thlcgjvm" with
abstract method "g_overflowCheck_loc"
hlcgcpu.pas(2397) Fatal: There were 2 errors compiling module, stopping


The Compiler display two warnings and then it report them as 2 errors.

I'm using Free Pascal Compiler version 2.6.0 [2012/05/17] for x86_64
that arrives with Arch-Linux

Is this a bug of the compiler (reporting errors as warnings), a bug in
the code itself, or something else ?

Ido



More information about the fpc-devel mailing list