Re: XForms: C++ problems

Vicentini Emanuele (vicentin@arena.sci.univr.it)
Mon, 18 May 1998 13:23:24 +0200 (CEST)

# To subscribers of the xforms list from Vicentini Emanuele <vicentin@arena.sci.univr.it> :

On Sun, 17 May 1998, Phill Brady wrote:

>
> Error: Cannot use void* to initialize FD_newbut*.
> I am using the Sun CC compiler on Solaris.
> When I use cc and compile the code as c it works with no problems.
> Anyone know whats going on?
>

In C you can use a void pointer to initialize everything, but in
C++ void pointers cannot be used without explicit casting.

Bye,
Emanuele.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/