[Aldor-l] Compiling setup
Stephen Watt
watt at scl.csd.uwo.ca
Sat Aug 12 18:55:29 EDT 2006
Laurentiu, I think there is more to this than meets the eye.
The Aldor system developers are not the only ones to write libraries --
the compiler should have correct behaviour for any legitimate Aldor code
and not break depending on the underlying C compiler.
-- Stephen
On Sat, Aug 12, 2006 at 06:46:38PM -0400, ldragan at aldor.org wrote:
> On Sat, Aug 12, 2006 at 10:19:42AM -0400, Stephen Watt wrote:
> > The Aldor compiler does indeed need to be fixed to not rely on
> > implementation dependencies of the C compiler in this respect.
>
> I think this issue should be fixed in the library. The Aldor compiler
> only deals with literals, which are constant like in C. The library
> implementing String should know that string literals are constant
> and either make them constant or copy them when a new String is
> initialized.
>
> >
> > We will look into this without waiting until the open source release.
>
> The solution proposed by Christian is very reasonable and
> should work with the current compiler.
>
> --
> Laurentiu
More information about the Aldor-l
mailing list