Bug #134

interface change not detected

Added by J. Templ over 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:10/12/2016
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7.1
Forum topic:

Description

The compiler does not report an interface change when changing the array length of an exported pointer type that points to a fixed length array. For example, changing 1 to 2 in the following module is not reported as an interface change:

MODULE Test;
TYPE A* = POINTER TO ARRAY 1 OF CHAR;
END Test.

Reported by J. Templ, 2016-10-12.
Based on an issue reported by Oleg-N-Cher for ofront.

Associated revisions

Revision 2f296ff4
Added by J. Templ about 2 years ago

interface change not detected. Refs: #134.
An interface change of a pointer to an anonymous fixed size array
is not detected by the finger printing mechanism because the same
finger printing algorithm is applied twice and cancels the effect.
In order to disturb this pattern a constant is added at one place when the
pattern is detected. The constant is added only for this special case in
order not to change the finger prints of existing interfaces.

Revision 40e1932b
Added by R. Campbell almost 2 years ago

Merge pull request #150 from BlackBoxCenter/issue-#134

interface change not detected. Refs: #134.

History

#1 Updated by R. Campbell almost 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF