<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I solved the problem and checked in a working version.<br>If you don't import Private in Main.m3, then at startup you get an error about a missing type.<br><br><br> - Jay<br><br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Sun, 31 Mar 2013 12:46:04 -0500<br>> From: rodney_bates@lcwb.coop<br>> To: m3commit@elegosoft.com<br>> Subject: Re: [M3commit] CVS Update: cm3<br>> <br>> I couldn't get this to compile at all in the CVS tree (that pesky missing .M3EXPORTS problem,<br>> which I have never understood.)<br>> <br>> When I put it in another place, altered the m3makefile with an added import("libm3") and program("main")<br>> and removed the Test.common, it compiled and ran for me, with output:<br>> <br>> Public.F1.a 0x1d9a158<br>> Public.F1.a.a 0x1d9a168<br>> Private.F2:a 0x1d9a158<br>> Private.F2:a.a 0x1d9a168<br>> Private.F2:a.b 0x1d9a160<br>> <br>> <br>> <br>> On 03/31/2013 08:22 AM, Jay Krell wrote:<br>> > CVSROOT: /usr/cvs<br>> > Changes by: jkrell@birch. 13/03/31 08:22:54<br>> ><br>> > Added files:<br>> > cm3/m3-sys/m3tests/src/p2/p253/: Main.m3 Private.i3 Private.m3<br>> > Public.i3 Public.m3 c.c<br>> > m3makefile<br>> ><br>> > Log message:<br>> > small test case to understand opaque types<br>> > The error about missing a compile-time type can be had by<br>> > not importint "Private" in Main.m3.<br>> ><br>> ><br>> <br></div> </div></body>
</html>