[comp.lang.c++] Whar exactly is the 1.2 "void

carrow@itd.nrl.navy.mil (Steven A. Carrow) (02/26/91)

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.    *
*****************************************************************************

wmm@world.std.com (William M Miller) (02/26/91)

In article <DrCARROW.91Feb25124057@excalibur.itd.nrl.navy.mil> carrow@itd.nrl.navy.mil writes:
>/*
> *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.

I don't know what this problem was, but lest anyone get the wrong impression,
"ccxx" has been shipping with version 2.0 for a number of months.

-- William M. Miller, Glockenspiel, Ltd.

carrow@itd.nrl.navy.mil (Steven A. Carrow) (02/26/91)

My apologies to Mr. Miller and Glockenspiel. I did not mean to imply that ccxx
was only up to 1.2, only that we only have 1.2. 

								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.    *
*****************************************************************************