[M3devel] configur -enable-checking vs. types

Jay K jay.krell at cornell.edu
Tue Nov 16 01:00:53 CET 2010


I tried various casts, no luck. I'm confused here.. :(
 
 - Jay


________________________________
> From: jay.krell at cornell.edu
> To: m3devel at elegosoft.com
> Subject: configur -enable-checking vs. types
> Date: Mon, 15 Nov 2010 10:18:40 +0000
>
> jbook2:graphicutils jay$ cm3cg AMD64_DARWIN/RsrcFilter.mc -quiet -m64
> ../src/RsrcFilter.m3: In function 'RsrcFilter_M3':
> ../src/RsrcFilter.m3:145:0: error: type mismatch in address expression
> struct
> {
> } *
>
> struct
> {
> }
>
> D.1466 = &M_RsrcFilter;
>
>
>
> I don't think this is actually "struct value" vs. "struct pointer".
> It is actually "struct1 pointer" vs. "struct2 pointer".
> So, I can probably just cast it away.
> But it points to a need in compiler to deal differently with types.
> They should be small integers like procs/labels/vars, I believe.
> So should fields.
>
>
> - Jay 		 	   		  


More information about the M3devel mailing list