Project

General

Profile

Bug #46

Updated by J. Templ over 10 years ago

Some changes in the interface of a procedure are not detected by the compiler. 
 The error occurs with system flags bound to the type of a formal parameter. 
 For example removing the ccall system flag in the example below is not detected. 

 MODULE TestSysFlag; 
 IMPORT SYSTEM; 
 PROCEDURE P* (p: PROCEDURE [ccall]; x: REAL); 
 END P; 
 END TestSysFlag. 

 A proposal for fixing this issue exists in CPC 1.7 rc5. 

 Reported by Eugene Temirgaleev, 2013-12-09. 
 Refers to CPC 1.7 rc5 change list number 19.

Back