[fpc-devel] How to solve a checksum error
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Jul 4 17:39:14 CEST 2011
On 04 Jul 2011, at 17:33, Felipe Monteiro de Carvalho wrote:
> On Mon, Jul 4, 2011 at 4:15 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>> This is virtually always caused by differences in the interface and implementation definition of some routines. Examples of ways in which this can happen:
>> a) inline routines: the body of the inline routine changes the interface definition as far as the compiler is concerned
>> b) routines that are declared normally in the interface, but as "external" in the implementation
>
> Any more examples?
No.
> It seams like it would be excelent if the compiler could issue a
> warning when it decides that a unit has the interface / implementation
> problem and requires recompilation...
If you compile with -vtu, the compiler says exactly that when it says that the interface crc has changed. It cannot say which particular definition is responsible for that.
Jonas
More information about the fpc-devel
mailing list