On 04 Jul 2011, at 17:33, Felipe Monteiro de Carvalho wrote:

> On Mon, Jul 4, 2011 at 4:15 PM, Jonas Maebe <jonas.ma...@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_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to