scm-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scm-discuss] building scm


From: Aubrey Jaffer
Subject: Re: [Scm-discuss] building scm
Date: Sun, 17 Oct 2010 23:36:38 -0400 (EDT)

 | Date: Sun, 17 Oct 2010 23:18:23 +0200
 | From: Philipp Klaus Krause <address@hidden>
 | 
 | Am 17.10.2010 18:31, schrieb Aubrey Jaffer:
 | > After running `make scmlit', I ran your command on a clean
 | > version of slib-3b3.zip and scm-5e7.zip on gcc (Ubuntu
 | > 4.4.3-4ubuntu5) 4.4.3 on x86_64.  There were 24 warnings and no
 | > errors.  The warnings on my system are harmless, mostly about
 | > discarding `const' from strings and integer size conversions.
 | 
 | I was worried about "warning: cast to pointer from integer of
 | different size", since they look like scm might try to store
 | pointers in ints.

No, its the other direction.  The `pos' (string) argument to wta() and
ASRTER is a small positive integer for the common messages in
errmsgs[] in "repl.c".

 | >  | Previously I looked at the scm in Debian (5e5) and tried
 | >  | hobbit. The code hobbit creates looks horrible and broken.
 | > 
 | > Did it fail to compile or link?
 | 
 | Yes.  For starters it uses K&R style functions instead of ANSI/ISO.
 | AFAIK K&R style functions not been valid C for over 20 years.

The first version of Hobbit was in 1992; ANSI-C was not universally
supported then.

 | It creates identifier names that contain characters not required to
 | be valid in C identifiers, such as 'รค' (and I do not know of any C
 | compiler allowing these in identifiers).

Codepoints other than ASCII are not accepted in C identifiers; but
they are in SCM.  Do the identifiers in your Scheme program include
non-ASCII characters?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]