Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site unc.UUCP
Path: utzoo!linus!vaxine!wjh12!genrad!decvax!mcnc!unc!jge
From: jge@unc.UUCP (John Eyles)
Newsgroups: net.micro.pc
Subject: DeSmet C bugs
Message-ID: <7338@unc.UUCP>
Date: Mon, 11-Jun-84 18:40:40 EDT
Article-I.D.: unc.7338
Posted: Mon Jun 11 18:40:40 1984
Date-Received: Thu, 14-Jun-84 06:33:07 EDT
Organization: CS Dept., U. of N. Carolina at Chapel Hill
Lines: 20

I have found several bugs in Version 2.1 of the DeSmet C compiler.

1) the exponential function "exp" may give erroneous
	results when the argument is negative
2) the name of an array is not always synonymous with the
	pointer to the first element of the array, i.e: it may
	be necessary to say:
		double a[10][20]
		double *pa;
		pa = &a[0][0];
	and use pa rather than a for subscript offset calculations;
	I haven't investgated this very thoroughly, but it may only
	be a problem with double-subscripted arrays or with arrays
	passed as arguments to functions
3) if  function which is defined in a .h header file is then redefined
	explicitly in your code (and you have "include"'ed the .h file),
	the program tends to completely hang when it is run

Hope this helps somebody out there who is going crazy trying to figure
out what the hell is wrong with their program.