ssockets.pp does not compile
Original Reporter info from Mantis: mike.cornflake
-
Reporter name: Mike Thompson
Original Reporter info from Mantis: mike.cornflake
- Reporter name: Mike Thompson
Description:
During recent patch (see http://bugs.freepascal.org/view.php?id=24810), ssockets.pp no longer compiles. (Unused vars added to Function TSocketServer.GetConnection : TSocketStream; )
Error
Compiling .\fcl-net\src\ssockets.pp
The installer encountered the following error:
External command "B:/Code/SVN/64bit/fpc/compiler/ppcx64.exe -Twin64 -FUfcl-net\units\x86_64-win64\ -FuB:\Code\SVN\64bit<br/>
fpc\rtl\units\x86_64-win64\ -FuB:\Code\SVN\64bit\fpc\packages\fcl-base\units\x86_64-win64\ -FuB:\Code\SVN\64bit\fpc\pack
ages\fcl-res\units\x86_64-win64\ -FuB:\Code\SVN\64bit\fpc\packages\fcl-xml\units\x86_64-win64\ -FuB:\Code\SVN\64bit\fpc<br/>
packages\fcl-passrc\units\x86_64-win64\ -Fufcl-net\src -Fifcl-net\src/win -Ur -Xs -O2 -n -FuB:/Code/SVN/64bit/fpc/rtl/un
its/x86_64-win64 -g -gw -dx86_64 -dRELEASE -viq fcl-net\BuildUnit_fcl_net.pp" failed with exit code 1. Console output:
Target OS: Win64 for x64
Compiling fcl-net\BuildUnit_fcl_net.pp
Compiling .\fcl-net\src\resolve.pp
Writing Resource String Table file: resolve.rst
Compiling .\fcl-net\src\ssockets.pp
ssockets.pp(403,17) Error: Identifier not found "pfdset"
ssockets.pp(403,17) Error: Error in type definition
ssockets.pp(785) Fatal: There were 2 errors compiling module, stopping
Additional information:
The attached patch resolves the issue by deleting the three unused pfdset items
Mantis conversion info:
- Mantis ID: 25088
- OS: Windows 8 64bit
- Platform: WIN64
- Version: 2.7.1
- Fixed in version: 3.0.0
- Target version: 3.0.0