Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!midway!mimsy!ra!carrow From: carrow@itd.nrl.navy.mil (Steven A. Carrow) Newsgroups: comp.lang.c++ Subject: Whar exactly is the 1.2 "void (*) ()" problem? Message-ID: Date: 25 Feb 91 17:40:57 GMT Reply-To: carrow@itd.nrl.navy.mil Lines: 26 I am the wretched soul who posted earlier about trying to compile InterViews on the GP1000 using ccxx. Well, another problem has cropped up, but this one seems to be 1.2 related. The following line in the file sysent.h gives me a syntax error: EXTERN_FUNCTION ( int on_exit, (void (*) (int, DOTDOTDOT), caddr_t) ); The file c_varieties.h had the following comment: /* *This is not necessary for 2.0 since 2.0 has corrected the void (*) () problem */ OK, what exactly is the "void (*) ()" problem, and how can I get around it, given that I am stuck with ccxx? Any help appreciated. Steve -- ***************************************************************************** * Steven A Carrow * ARPA: carrow@itd.nrl.navy.mil * * Code 5570 * UUCP: {backbone}!uunet! * * Naval Research Lab * nrl-css!carrow (I think) * * Washington, DC 20375 * Disclaimer: I can barely speak for * * (202) 767-9125 * myself, much less the government. * *****************************************************************************