[M3commit] CVS Update: cm3
jay.krell at cornell.edu
Sun Mar 31 21:44:59 CEST 2013
I solved the problem and checked in a working version.
If you don't import Private in Main.m3, then at startup you get an error about a missing type.
> Date: Sun, 31 Mar 2013 12:46:04 -0500
> From: rodney_bates at lcwb.coop
> To: m3commit at elegosoft.com
> Subject: Re: [M3commit] CVS Update: cm3
> I couldn't get this to compile at all in the CVS tree (that pesky missing .M3EXPORTS problem,
> which I have never understood.)
> When I put it in another place, altered the m3makefile with an added import("libm3") and program("main")
> and removed the Test.common, it compiled and ran for me, with output:
> Public.F1.a 0x1d9a158
> Public.F1.a.a 0x1d9a168
> Private.F2:a 0x1d9a158
> Private.F2:a.a 0x1d9a168
> Private.F2:a.b 0x1d9a160
> On 03/31/2013 08:22 AM, Jay Krell wrote:
> > CVSROOT: /usr/cvs
> > Changes by: jkrell at birch. 13/03/31 08:22:54
> > Added files:
> > cm3/m3-sys/m3tests/src/p2/p253/: Main.m3 Private.i3 Private.m3
> > Public.i3 Public.m3 c.c
> > m3makefile
> > Log message:
> > small test case to understand opaque types
> > The error about missing a compile-time type can be had by
> > not importint "Private" in Main.m3.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the M3commit