Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!cornell!batcomputer!braner From: braner@batcomputer.tn.cornell.edu (braner) Newsgroups: comp.sys.atari.st Subject: Re: Laser C bug (also: GNOME) Message-ID: <4158@batcomputer.tn.cornell.edu> Date: 25 Mar 88 14:41:24 GMT References: <4057@batcomputer.tn.cornell.edu> <1198@ucsfcca.ucsf.edu> Reply-To: braner@tcgould.tn.cornell.edu (braner) Organization: Cornell Theory Center, Cornell University, Ithaca NY Lines: 30 Summary: Yes it IS a bug! [] Some people have alerted me to the fact that K&R do NOT include &&, ||, etc in the ops allowed in a "constant expression", so Laser C not allowing "#if (A && B)" is not a bug. I still think it is, since: 1) (A && B) is just as CONSTANT as (A & B), so it must be an oversight on the part of K&R. 2) the logical ops are explicitly included in the draft ANSI standard C. This is 1988, not 1978! Laser C supports many other things that are not in K&R (e.g., enum), so why not support this relatively trivial thing? 3) other compilers that I use allow the logical ops in #if, including UNIX compilers and Turbo C. Thus, my code is held at a low common denominator by Laser C! BTW, it is 4 weeks past the time that Megamax claimed they finally GOT the Laser C manual, and I STILL don't have it. Oh well, it's probably in the mail (3rd class)... - Moshe Braner PS Re: GNOME. I've been told that when you ftp (into tcgould.tn.cornell.edu) you are at ~ftp, so you need to "cd pub/gnome" to find GNOME. Warning: the "alt_chars" array structure in "help.c" is defect since the chars that should have the MSB set don't. If you want to compile on the ST or MS-DOS I suggest you ftp the "source.arc" file and download it first.