Overloaded Pos for WideChar and WideString
Original Reporter info from Mantis: hitman
-
Reporter name: Andreas Schneider
Original Reporter info from Mantis: hitman
- Reporter name: Andreas Schneider
Description:
If Pos(WideChar, WideString) is called, the compiler "Can't determine which overloaded function to call". It works fine when compiling for i386-win32 though.
A temporary workaround to get it compiling on i386-linux seemed to be to cast the widechar into a unicodechar, but then again it didn't compile for i386-win32 anymore.
A test program is attached.
Mantis conversion info:
- Mantis ID: 12233
- OS: Linux
- OS Build: 2.6.26
- Platform: i386
- Version: 2.3.1
- Fixed in version: 2.4.0
- Fixed in revision: 11830 (#f64dbd70)