[fpc-devel] Illegal type conversion errors in FPC 2.5.1
juha.manninen at phnet.fi
Sun Nov 22 22:59:03 CET 2009
I managed to install the latest svn FPC and use it with Lazarus.
Trying to compile VirtualTreeView component I get many errors about type
Error: Illegal type conversion: "Set Of TVTColumnOption" to "DWord"
Dummy := LongWord(FOptions);
Error: Illegal type conversion: "DWord" to "Set Of TVTColumnOption"
Result := TVTColumnOptions(LongWord(Value and $FFFF))
Seems that integers and sets can't be casted to each other any more.
How to fix the problem?
More information about the fpc-devel