[M3devel] configur -enable-checking vs. types

Jay K jay.krell at cornell.edu
Mon Nov 15 11:18:40 CET 2010


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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20101115/33c5c61e/attachment-0001.html>


More information about the M3devel mailing list