Error: Operation "+" not supported for types "PWideChar" and "PWideChar"
Original Reporter info from Mantis: Alextp2
-
Reporter name: CudaText man_
Original Reporter info from Mantis: Alextp2
- Reporter name: CudaText man_
Description:
atsynedit_regexpr.pas(4759,18) Error: Operation "+" not supported for types "PWideChar" and "PWideChar"
for code:
if not MatchOneCharCategory(scan + REOpSz + RENextOffSz, reginput) then Exit;
I have only 1 PWideChar (scan) and others 2 (+ REOpSz + RENextOffSz) are offsets (Int/Int64).
Full repo https://github.com/alexey-t/atsynedit
FPC 3.2.1 didn't give this error.
Steps to reproduce:
Compile demo https://github.com/Alexey-T/ATSynEdit/tree/master/app/demo_editor
Mantis conversion info:
- Mantis ID: 37621
- OS: Linux x64
- Build: r46541
- Version: 3.3.1
- Fixed in revision: 47437 (#6380df9b)