scattered and fcompile

From: Stefano Novello <stefano.novello_at_parc-technologies.com>
Date: Fri 09 May 2003 07:50:05 PM GMT
Message-ID: <3E899FAFBF56D611B6A500508B9A9DA206E262@LON-SRV2>
The two libraries are not aware of each other. 
 
fcompiling a module that uses scattered seems to work. 
 
[eclipse 2]: fcompile(t).
scattered.pl compiled traceable 6544 bytes in 0.03 seconds
a.ecl      compiled traceable -8 bytes in 0.00 seconds
b.ecl      compiled traceable -8 bytes in 0.00 seconds
t.ecl      compiled traceable 0 bytes in 0.05 seconds
including /data5/stefano/scattered/a.ecl
including /data5/stefano/scattered/b.ecl
/data5/stefano/scattered/t.eco generated in 0.00 seconds
 
Yes (0.06s cpu)
[eclipse 3]: ^D
bye

But when I try and use the .eco file, I get the following
 
[eclipse 1]: use_module(t).
scattered.pl compiled traceable 6544 bytes in 0.02 seconds
procedure not dynamic in clause(q(_644), Body) in module t
type error in arg(1, '/data5/stefano/scattered/t.eco', term)
Abort
[eclipse 2]: 

I guess either fcompile should be aware of scattered declarations, or
scattered should be aware of eco files (maybe preferable).
 
eclipse version was 5.6#28 on linux
 
I have included an edited version of scattered.pl that seems to work.
 
 
Stefano Novello
Parc Technologies Limited
Office: +44 (0)20 7261 4068
Mobile: +44 (0)79 8985 4422<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />

This e-mail message is for the sole use of the intended recipient (s) -its
contents are the property of PARC Technologies Limited (or its licensors)
and are confidential. Please do not copy, review, use, disclose or
distribute the e-mail or its contents (or allow anyone else to do so)
without our prior permission. PARC Technologies Limited does not guarantee
that this e-mail has not been intercepted and amended nor that it is
virus-free. You should carry out your own virus checks before opening any
attachment.  Any opinions expressed in this e-mail message are those of the
author and not necessarily PARC Technologies Limited.

 

 




Received on Fri May 09 20:52:25 2003

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:21 PM GMT GMT