Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site pyuxv.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!pyuxww!pyuxv!cim2 From: cim2@pyuxv.UUCP (Robert L. Fair) Newsgroups: net.lang.c,net.micro.pc,net.unix Subject: Microsoft 'C' - Strange behaviour with doubles Message-ID: <200@pyuxv.UUCP> Date: Sat, 3-May-86 20:39:51 EDT Article-I.D.: pyuxv.200 Posted: Sat May 3 20:39:51 1986 Date-Received: Sun, 4-May-86 06:30:20 EDT Organization: CHC Lines: 26 Xref: watmath net.lang.c:8835 net.micro.pc:8050 net.unix:7774 Consider an array of 15 pointers to arrays of doubles: double (*parray[15])[]; The following code to 'malloc' the actual double array barfs on Microsoft 'C', with a 'different levels of indirection' warning on the '='. The code passes through LINT, and compiles OK on UN*X 5.2 char *malloc(); parray[0] = (double*)malloc((unsigned)sizeof(double)*75); Microsoft produces the same error if the coercion is (double**), (double), or nothing at all ! Any ideas ? Rob. Fair {ihnp4|gamma|bambi}!pyuxv!cim2 Bell Communications Research Piscataway New Jersey Subject: Newsgroups: general