Sign in Join

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

Mailing lists / fpc-devel / 2012-05

Test suit compilation is broken for win32-i386 after r21341?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Max Nazhalov

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?..

Reply by email

Pierre Free Pascal
to Max Nazhalov
Show quoted text 32 lines
-----Message d'origine----- De : [mailto:fpc-devel- De la part de Max Nazhalov Envoyé : dimanche 20 mai 2012 17:37 À : FPC Developers' list Objet : [fpc-devel] Test suit compilation is broken for win32-i386 after r21341? 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?..

Thanks, I committed a fix in rev 21346

Pierre

Show quoted text 5 lines
_______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email