[i386-WinCE] gles20.pas : Error: Incompatible type for arg no. 2: Got "Pchar", expecte d "PWideChar"


<h3><details><summary>Original Reporter info from Mantis: <small>takeda99</small></summary><small>

- **Reporter name:** Takeda Matsuki
</small></details></h3>

## Description:

Try to build i386-WinCE was failed. 

Here the chunk of report :

......<br/>
[ 62%] Skipped package libsee which has been disabled for target i386-wince<br/>
[ 63%] Skipped package libvlc which has been disabled for target i386-wince<br/>
[ 64%] Skipped package libxml2 which has been disabled for target i386-wince<br/>
[ 65%] Skipped package lua which has been disabled for target i386-wince<br/>
[ 66%] Skipped package mad which has been disabled for target i386-wince<br/>
[ 66%] Skipped package modplug which has been disabled for target i386-wince<br/>
[ 67%] Skipped package ncurses which has been disabled for target i386-wince<br/>
[ 68%] Skipped package newt which has been disabled for target i386-wince<br/>
Start compiling package numlib for target i386-wince.<br/>
```
       Compiling numlib\BuildUnit_numlib.pp
       Compiling .\numlib\src\dsl.pas
       Compiling .\numlib\src\typ.pas
       Compiling .\numlib\src\omv.pas
       Compiling .\numlib\src\mdt.pas
       Compiling .\numlib\src\det.pas
       Compiling .\numlib\src\eigh1.pas
       Compiling .\numlib\src\eigh2.pas
       Compiling .\numlib\src\eig.pas
       Compiling .\numlib\src\int.pas
       Compiling .\numlib\src\inv.pas
       Compiling .\numlib\src\iom.pas
       Compiling .\numlib\src\sle.pas
       Compiling .\numlib\src\spe.pas
       Compiling .\numlib\src\ipf.pas
       Compiling .\numlib\src\numlib.pas
       Compiling .\numlib\src\ode.pas
       Compiling .\numlib\src\roo.pas
       Compiling .\numlib\src\spl.pas
```
[ 69%] Compiled package numlib<br/>
[ 70%] Skipped package nvapi which has been disabled for target i386-wince<br/>
[ 71%] Skipped package objcrtl which has been disabled for target i386-wince<br/>
Start compiling package oggvorbis for target i386-wince.<br/>
```
       Compiling oggvorbis\BuildUnit_oggvorbis.pp
       Compiling .\oggvorbis\src\ogg.pas
       Compiling .\oggvorbis\src\vorbis.pas
```
[ 72%] Compiled package oggvorbis<br/>
[ 72%] Skipped package openal which has been disabled for target i386-wince<br/>
[ 73%] Skipped package opencl which has been disabled for target i386-wince<br/>
Start compiling package opengles for target i386-wince.<br/>
```
       Compiling opengles\BuildUnit_opengles.pp
       Compiling .\opengles\src\gles20.pas
```
The installer encountered the following error:<br/>
External command "d:/freepascal271/compiler/ppcross386.exe -Twince -FUopengles\u<br/>
nits\i386-wince\ -Fud:\freepascal271\rtl\units\i386-wince\ -Fuopengles\src -Twin<br/>
ce -XPi386-wince- -Xr -Ur -Xs -O2 -n -Fud:/freepascal271/rtl/units/i386-wince -d<br/>
i386 -dRELEASE -viq opengles\BuildUnit_opengles.pp" failed with exit code 1. Con<br/>
sole output:<br/>
Target OS: WinCE for i386<br/>
Compiling opengles\BuildUnit_opengles.pp<br/>
Compiling .\opengles\src\gles20.pas<br/>
gles20.pas(1368,44) Error: Incompatible type for arg no. 2: Got "Pchar", expecte<br/>
d "PWideChar"<br/>
gles20.pas(1468,30) Error: Incompatible type for arg no. 1: Got "Pchar", expecte<br/>
d "PWideChar"<br/>
gles20.pas(1690,33) Error: Incompatible type for arg no. 1: Got "Pchar", expecte<br/>
d "PWideChar"<br/>
gles20.pas(1875,4) Fatal: There were 3 errors compiling module, stopping<br/>
Fatal: Compilation aborted

make[2]: *** [all] Error 1<br/>
make[2]: Leaving directory `d:/freepascal271/packages'<br/>
make[1]: *** [packages_all] Error 2<br/>
make[1]: Leaving directory `d:/freepascal271'<br/>
make: *** [build-stamp.i386-wince] Error 2

d:\freepascal271>

## Additional information:

1. I use Windows 7 Ultimate x64 SP1 with latest update.<br/>
2. FPC 2.6.0 as starter<br/>
3. Make v3.82<br/>
4. Using normal procedure/step to built it.

## Mantis conversion info:

- **Mantis ID:** 24242
- **OS:** Windows 7 Ultimate x64 SP1
- **OS Build:** 6.1
- **Build:** 24183
- **Platform:** i386-WinCE
- **Version:** 2.7.1
- **Fixed in version:** 2.6.4
- **Fixed in revision:** 25927 (#c2c73a8ad5c37a00e268b776712af65968d3eb45)

Story points: 100.0