Path: utzoo!attcan!uunet!mcvax!unido!laura!trillian!klute From: klute%trillian.irb@unido.uucp (Rainer Klute) Newsgroups: comp.sys.atari.st Subject: Laser C Message-ID: <522@laura.UUCP> Date: 2 Aug 88 13:10:38 GMT Sender: root@laura.UUCP Reply-To: klute@trillian.UUCP (Rainer Klute) Organization: University of Dortmund,West Germany Lines: 52 After a few days of working with my new Laser C I stumbled over some errors. Here they are: 1. LASER C doesn't work if GDOS is resident. The shell starts up correctly but crashes as soon as a program is loaded. 2. In OSBIND.H a typedef is made for the 'disk transfer address' used by functions Fsfirst() and Fsnext(): typedef struct { char dta_reserved[21]; /* reserved */ char dta_attr; /* attribute */ unsigned int dta_time; /* time */ unsigned int dta_date; /* date */ long dta_len; /* length */ char dta_name[14]; /* name */ } dta; On the other hand Fgetdta() is defined as #define Fgetdta() (dta *)gemdos(0x2f) which causes some error messages when Fgetdta() is used. To overcome this the quoted typedef should be changed to typedef struct _dta { ... } dta; 3. Conversion from double to float does not work for numbers greater than 6.805647338418769898282789654E38. 4. The Resource Construction Program sometimes crashes in the "Save" function. Redress: use the "Save as" function. That's it so far. Any comments (Megamax)? I am willing to compile a list of errors in Laser C. So if you found out any more errors please report them to me by mail. I will summarize to the net. Rainer Klute +---------------------------+------------------------------------------+ | Rainer Klute | UUCP: klute@unido.uucp | | University of Dortmund | (...uunet!mcvax!unido!klute) | | Dept. of CS | BITNET: klute@unido.bitnet | | P.O. Box 500500 | | | D-4600 Dortmund 50 | | +---------------------------+------------------------------------------+ | Federal Republic of Germany | +----------------------------------------------------------------------+