Re: [BLACKBOX] compiler trap

From: [at]} <Josef>
Date: Tue, 9 Jul 2013 09:11:28 +0200

----boundary-LibPST-iamunique-1948283602_-_-
Content-type: text/plain

obviously a bug in the compiler.
You can work around it by declaring VAR p, p2: S.PTR.

- JT


----- Original Message -----
From: <luowy{([at]})nowhere.xy
To: <BLACKBOX{([at]})nowhere.xy
Sent: Tuesday, July 09, 2013 7:29 AM
Subject: [BLACKBOX] compiler trap


> 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----boundary-LibPST-iamunique-1948283602_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGZiaWRpcyBcZGVmZjB7XGZvbnR0YmwN
CntcZjBcZnN3aXNzIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYyXGZu
aWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIgTmV3
O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1O30N
Clx1YzFccGFyZFxwbGFpblxkZWZ0YWIzNjAgXGYwXGZzMjAgb2J2aW91c2x5IGEgYnVnIGluIHRo
ZSBjb21waWxlci5ccGFyDQpZb3UgY2FuIHdvc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cg0KPiBccGFyDQo+IFxwYXINCj4gLS0tLVxwYXINCj4gVG8g
dW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIg
dG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxwYXINClRv
IHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1gi
IHRvIExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSH19ACBXZWQ=
----boundary-LibPST-iamunique-1948283602_-_---
Received on Tue Jul 09 2013 - 09:11:28 UTC

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