"Error : Type mismatch" when trying to create a generic class which uses High/Low compiler intrinsic functions.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
See summary, Additional Information and attached project for more info.
Only Length compiler intrinsic function works.
Additional information:
Lazarus revision 50022
FPC revision 31987
FPC make commands:
clean
all
install
OPT=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -O- -Xs- -Si- -vbq -XX -CX -dTEST_WIN32_SEH
COMPILER_OPTIONS=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -O- -Xs- -Si- -vbq -XX -CX -dTEST_WIN32_SEH
INSTALL_PREFIX=F:\free_pascal_and_lazarus\fpc\i386\trunk\binary\fpc_trunk
UPXPROG=echo
IDE=1
REVSTR=31987
ALLOW_WARNINGS=1
NOWPOCYCLE=1
Lazarus make commands:
clean
all
OPT=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -gh -O- -OoNO -Xs- -Si- -vb -XX -CX -dTEST_WIN32_SEH -dHEAPTRC_WINDOW -dDBG_WITH_DEBUGGER_DEBUG
UPXPROG=echo
USESVN2REVISIONINC=0
---
Compile attached project with these command line options : -MObjFPC -Scghi -gw2 -godwarfsets -gl -l -vewnhibq -Filib\i386-win32-win32-30101 -Fu. -FUlib\i386-win32-win32-30101 -FEbin\i386-win32-win32-30101\ -godwarfmethodclassprefix
Mantis conversion info:
- Mantis ID: 28832
- OS: Server 2008 R2
- OS Build: 6.1.7601 (SP1)
- Build: r31987
- Platform: Windows
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 33884 (#8c96fbed)