[WinCE] - Building Compiler was failed, due "dos.pp" has multiple error.


<h3><details><summary>Original Reporter info from Mantis: <small>takeda99</small></summary><small>

- **Reporter name:** Takeda Matsuki
</small></details></h3>

## Description:

Here chunck of Error log :

\---------------------------------------<br/>
......

make[5]: Entering directory `d:/freepascal271/rtl/wince'<br/>
d:/freepascal271/binutils/i386-win32/gmkdir.exe -p d:/freepascal271/rtl/units/ar<br/>
m-wince<br/>
d:/freepascal271/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xr -Ur<br/>
&nbsp; -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDD:\freepascal271\binutils\aw-bincro<br/>
ss\aw-win32-arm-wince -FE. -FUd:/freepascal271/rtl/units/arm-wince -darm -dRELEA<br/>
SE  -Us -Sg system.pp<br/>
text.inc(1981,14) Warning: Implicit string type conversion from "AnsiString" to<br/>
"UnicodeString"<br/>
text.inc(2200,53) Warning: Implicit string type conversion with potential data l<br/>
oss from "UnicodeString" to "AnsiString"<br/>
d:/freepascal271/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xr -Ur<br/>
&nbsp; -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDD:\freepascal271\binutils\aw-bincro<br/>
ss\aw-win32-arm-wince -FE. -FUd:/freepascal271/rtl/units/arm-wince -darm -dRELEA<br/>
SE  ../inc/uuchar.pp<br/>
d:/freepascal271/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xr -Ur<br/>
&nbsp; -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDD:\freepascal271\binutils\aw-bincro<br/>
ss\aw-win32-arm-wince -FE. -FUd:/freepascal271/rtl/units/arm-wince -darm -dRELEA<br/>
SE  ../inc/fpintres.pp<br/>
d:/freepascal271/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xr -Ur<br/>
&nbsp; -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDD:\freepascal271\binutils\aw-bincro<br/>
ss\aw-win32-arm-wince -FE. -FUd:/freepascal271/rtl/units/arm-wince -darm -dRELEA<br/>
SE  ../inc/ctypes.pp<br/>
d:/freepascal271/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xr -Ur<br/>
&nbsp; -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDD:\freepascal271\binutils\aw-bincro<br/>
ss\aw-win32-arm-wince -FE. -FUd:/freepascal271/rtl/units/arm-wince -darm -dRELEA<br/>
SE  -I../objpas ../objpas/objpas.pp<br/>
d:/freepascal271/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xr -Ur<br/>
&nbsp; -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDD:\freepascal271\binutils\aw-bincro<br/>
ss\aw-win32-arm-wince -FE. -FUd:/freepascal271/rtl/units/arm-wince -darm -dRELEA<br/>
SE  -I../arm ../inc/strings.pp<br/>
d:/freepascal271/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xr -Ur<br/>
&nbsp; -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDD:\freepascal271\binutils\aw-bincro<br/>
ss\aw-win32-arm-wince -FE. -FUd:/freepascal271/rtl/units/arm-wince -darm -dRELEA<br/>
SE  -I./wininc windows.pp<br/>
d:/freepascal271/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xr -Ur<br/>
&nbsp; -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDD:\freepascal271\binutils\aw-bincro<br/>
ss\aw-win32-arm-wince -FE. -FUd:/freepascal271/rtl/units/arm-wince -darm -dRELEA<br/>
SE  dos.pp<br/>
dos.pp(206,45) Error: Incompatible type for arg no. 9: Got "Pointer", expected "<br/>
STARTUPINFO"<br/>
dos.pp(211,9) Warning: Local variable "PI" does not seem to be initialized<br/>
dos.pp(366,35) Error: Incompatible type for arg no. 1: Got "Array[0..260] Of Wid<br/>
eChar", expected "PChar"<br/>
dos.pp(568) Fatal: There were 2 errors compiling module, stopping<br/>
Fatal: Compilation aborted<br/>
make[5]: *** [dos.ppu] Error 1<br/>
make[5]: Leaving directory `d:/freepascal271/rtl/wince'<br/>
make[4]: *** [wince_all] Error 2<br/>
make[4]: Leaving directory `d:/freepascal271/rtl'<br/>
make[3]: *** [rtl] Error 2<br/>
make[3]: Leaving directory `d:/freepascal271/compiler'<br/>
make[2]: *** [cycle] Error 2<br/>
make[2]: Leaving directory `d:/freepascal271/compiler'<br/>
make[1]: *** [compiler_cycle] Error 2<br/>
make[1]: Leaving directory `d:/freepascal271'<br/>
make: *** [build-stamp.arm-wince] Error 2

## Additional information:


I use ;<br/>
1. Windows 7 Ultimate x64bit SP1 latest update<br/>
2. make v.3.82<br/>
3. FPC 2.6.2 as bootstrap compiler<br/>
4. Follow Wiki explanation to build the compiler.


Thank in advance,

## Mantis conversion info:

- **Mantis ID:** 24322
- **OS:** Windows 7 Ultimate
- **OS Build:** 6.1
- **Build:** r24319
- **Platform:** WinCE
- **Version:** 2.7.1
- **Fixed in revision:** 24420 (#930b76e8fbf4ba82dbf4f11ea73cefd841476b04)

Story points: 200.0