[m-dev.] diff: another fix for my linkage mismatch change

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Sep 4 20:12:18 AEST 1998


On 04-Sep-1998, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> Another fix to make things work with my change to
> ensure that the declarations and definitions for data constants
> specify the same linkage (extern or static).
> 
> tests/valid/headvar_not_found.m:
> tests/valid/subtype_switch.m:
> 	Add definitions for types which were declared but not defined.

Oops, missed one.

tests/valid/intermod_lambda.m:
	Add definitions for types which were declared but not defined.

Index: tests/valid/intermod_lambda.m
===================================================================
RCS file: /home/mercury1/repository/tests/valid/intermod_lambda.m,v
retrieving revision 1.2
diff -u -r1.2 intermod_lambda.m
--- intermod_lambda.m	1997/05/24 02:20:18	1.2
+++ intermod_lambda.m	1998/09/04 10:10:07
@@ -10,4 +10,6 @@
 
 :- implementation.
 
+:- type foo ---> foo.
+
 :- import_module intermod_lambda2.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list