[fpc-devel] RangeCheck error in SetResourceStrings

Petr Kristan petr.kristan at epos.cz
Thu Jun 2 09:34:14 CEST 2011


After upgrade fpc to trunk rev. 17622 I get in function SetResourceStrings line 333 fpc_rangeerror. 

This occurs on translation resource: 
ResStr^ = {NAME = 0x9e7410 'rtlconsts.smcinil', CURRENTVALUE = 0x0, DEFAULTVALUE = 0x0, HASHVALUE = 4294967295, DUMMY = 0}

Definition of resourcestring I found in:
rtl/objpas/rtlconst.inc:  SMCINil                       = '';

But in rst file is not '' but this:
# hash value = 4294967295

I tried manualy repair rtlconsts.rst 
And after rebuild everything was ok.

I assume that file is generated, but cannot found how.
In order to try repair it.


Petr Kristan
EPOS PRO s.r.o., Bozeny Nemcove 2625, 530 02 Pardubice
tel: +420 466335223    Czech Republic (Eastern Europe) 
fax: +420 466510709

More information about the fpc-devel mailing list