Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-08

Trunk paszlib does not compile with fpc 2.4.4

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

Hello,

paszlib]$ make
/bin/mkdir -p units/i386-linux
/usr/bin/ppc386 -Fu../../rtl/units/i386-linux -Fu../../packages/hash -FE. -FUunits/i386-linux -di386 src/paszlib.pas
Free Pascal Compiler version 2.4.4 [2011/04/22] for i386 Copyright (c) 1993-2010 by Florian Klaempfl
Note: Switching assembler to default source writing assembler Target OS: Linux for i386
Compiling src/paszlib.pas
Compiling src/zbase.pas
zbase.pas(446,7) Error: Illegal expression
zbase.pas(447,36) Error: Operator is not overloaded zbase.pas(484,5) Warning: unreachable code
zbase.pas(490,5) Warning: unreachable code
zbase.pas(506) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted
make: *** [paszlib.ppu] Error 1

Is this expected? I wanted to add a new functionality to TZipper (output to Stream), but then while checking it I got this.

Felipe Monteiro de Carvalho

Reply by email

Jonas Maebe
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote
Is this expected?

Only a complete "make all" in the top level FPC directory is guaranteed to work when starting with the latest release. The packages are compiled with the newly compiled compiler and hence may not be compilable by older compiler versions.

Jonas

Reply by email