[fpc-devel] Test suit compilation is broken for win32-i386 after r21341?

Max Nazhalov stein_nospam at mail.ru
Sun May 20 17:37:14 CEST 2012


Trying to run test suit out of r21343 results in

C:\prog\FPC_UTIL\make.exe full TEST_FPC=C:\prog\FPC\bin\i386-win32\fpc.exe
...
Free Pascal Compiler version 2.7.1 [2012/05/20] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling dotest.pp
Compiling redir.pp
redir.pp(980,41) Error: Identifier not found "cint"
redir.pp(980,47) Error: Identifier not found "cint"
redir.pp(983,6) Warning: Comparison might be always false due to range of constant and expression
redir.pp(983,15) Warning: unreachable code
redir.pp(984,14) Error: Identifier not found "wifexited"
redir.pp(985,41) Error: Identifier not found "wexitstatus"
redir.pp(986,12) Warning: Comparison might be always true due to range of constant and expression
redir.pp(988,2) Error: Operator is not overloaded: - "<erroneous type>"
redir.pp(1089) Fatal: There were 5 errors compiling module, stopping
Fatal: Compilation aborted
...

This piece of code ("TransformfpSystemToShell") was introduced in r21341, if I understand right.
Should it be surrounded by {$ifdef UNIX} as it's done for TransformfpSystemToShell call itself?..





More information about the fpc-devel mailing list