[M3devel] zero sized structs?
Jay K
jay.krell at cornell.edu
Thu Oct 4 08:13:28 CEST 2012
Building obliqrt I get:
****** runtime error:*** <*ASSERT*> failed.*** file "../src/M3C.m3", line 1768***
PROCEDURE GetStructSizes_Declare(self: GetStructSizes_t; type: Type; byte_size: ByteSize): M3CG.Var =BEGIN IF type = Type.Struct THEN <* ASSERT byte_size > 0 *> self.sizes[self.count] := byte_size; INC(self.count); END; RETURN NIL;END GetStructSizes_Declare;
due to presumably:
PROCEDURE ApplyThreadClosure (self: ObliqThreadClosure): REFANY = VAR noArgs: ARRAY [0 .. -1] OF ObValue.Val;
...
PROCEDURE HandleWork (self: ObliqWork) = VAR noArgs: ARRAY [0 .. -1] OF ObValue.Val;
..PROCEDURE EvalThread ( self : PackageThread;...noArgs : ARRAY [0 .. -1] OF ObValue.Val;
What is the meaning of this?
- Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20121004/6aa084fc/attachment-0001.html>
More information about the M3devel
mailing list