Re: [BLACKBOX] compiler trap

From: [at]} <Romiras>
Date: Tue, 9 Jul 2013 14:42:05 +0300


Please check my solution: https://github.com/romiras/BlackBox-Component-Framework/commit/57ab2f29b3f1e91259b58a8b7b4a8e75df2ce74e


I'm not sure whether it is a proper solution, but compilation of module Test works for me. :)



2013/7/9 <luowy{([at]})nowhere.xy


        hi all,
        
        compile this module will trig a trap window in bb16rc6:
        
        MODULE Test;
          IMPORT S:=SYSTEM;
            TYPE PVOID=S.PTR;
        
          PROCEDURE Do();
            VAR p,p2:PVOID;
          BEGIN
            p:=p2; (* trap here *)
          END Do;
        
        END Test.
        
        does anybody know how to solve this problem?
        
        
        
        best regards,
        
        luowy
        
        
        P.S:I try to use S.PTR instead of void* when improving C2cp
        
        
        ----
        To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
        


---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Tue Jul 09 2013 - 13:42:05 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:52 UTC