Re: [BLACKBOX] Trap 0 when compiling LSH and ROT

From: Oberon microsystems AG, Tech-Support <"Oberon>
Date: Thu, 3 Jan 2008 10:04:48 +0100

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

Dear Chris,

thank you very much for your error report.

We are analyzing the error and hope to correct it in the course of our
regular compiler maintenance activity.

Thanks again and kind regards,

Marc Frei

Oberon microsystems AG
+41 (0)44 445 17 51
www.oberon.ch


> -----Original Message-----
> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> CFB Software
> Sent: Donnerstag, 3. Januar 2008 05:03
> To: BlackBox List
> Subject: [BLACKBOX] Trap 0 when compiling LSH and ROT
>
> The following sample code results in a trap 0 when attempting
> to compile with BB 1.6rc5:
>
> MODULE TestShift;
>
> IMPORT
> SYSTEM;
>
> VAR
> int: INTEGER;
> long: LONGINT;
>
> BEGIN
> int := 1;
> long := 2;
> int := SYSTEM.LSH(int, long)
> END TestShift.
>
> (The same problem occurs with SYSTEM.ROT)
>
> I acknowledge that the code is invalid (the second parameter
> should not be a LONGINT). However, a trap rather than a
> compiler error message makes it difficult to locate the
> problem as it is not immediately obvious which line of your
> own source code is causing the problem.
>
> Regards,
>
> Chris Burrows
> CFB Software
> http://www.cfbsoftware.com/gpcp
>
>
> ----
> 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-1549975283_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuX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jb20vZ3BjcFxwYXINCj4gXHBhcg0KPiBccGFyDQo+IC0tLS1ccGFyDQo+IFRvIHVu
c3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIFxw
YXINCj4gdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0KPiBccGFyDQpccGFyDQpccGFy
DQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lH
Tk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0KfQ=
----boundary-LibPST-iamunique-1549975283_-_---
Received on Thu Jan 03 2008 - 10:04:48 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:11 UTC