[fpc-devel] trunk no longer compiles with -Cr

Martin lazarus at mfriebe.de
Tue Mar 20 14:07:44 CET 2012


On 20/03/2012 12:55, Ludo Brands wrote:
>> typelib.pas(1353,48) Error: range check error while
>> evaluating constants
>> (-1 must be between 0 and 4294967295)
> Can you raise a mantis issue? I'll fix this. According to msdn
> http://msdn.microsoft.com/en-us/library/cc237755%28v=prot.10%29.aspx the
> function ITypeInfo::GetRefTypeOfImplType is defined as
>
> HRESULT GetRefTypeOfImplType(
>    [in] UINT index,
>    [out] HREFTYPE* pRefType
> );
>
> index: MUST be a nonnegative integer, or -1.
>

Done http://bugs.freepascal.org/view.php?id=21516



More information about the fpc-devel mailing list