Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!lll-lcc!qantel!ihnp4!inuxc!pur-ee!uiucdcs!uiucdcsp!gaulke From: gaulke@uiucdcsp.CS.UIUC.EDU Newsgroups: net.lang.c++ Subject: C++ problems with DMD code Message-ID: <66700003@uiucdcsp> Date: Thu, 18-Sep-86 20:01:00 EDT Article-I.D.: uiucdcsp.66700003 Posted: Thu Sep 18 20:01:00 1986 Date-Received: Sat, 20-Sep-86 23:51:09 EDT Lines: 25 Nf-ID: #N:uiucdcsp:66700003:000:625 Nf-From: uiucdcsp.CS.UIUC.EDU!gaulke Sep 18 19:01:00 1986 I have found a problem with C++ when using it to write code for the DMD. The following is part of the output of the preprocessor when including the file for a simple program. typedef int (*ptr_fint)(); main() { (*((int (*)())((ptr_fint *)0x0071d700)[ 43]))( 1 ); } I don't understand what the above jumble is, but it compiles fine using cc. CC, however, gives the following error message: line 4: error: un expected 1 argument for ? 1 error I am using version 1.0. Is this a problem with 1.1 as well? Thanks for any help, Dave Gaulke gaulke@a.cs.uiuc.edu ...!{cmcl2,seismo,ihnp4}!uiucdcs!gaulke