TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: JERRY COFFIN
date: 1997-06-23 06:58:00
subject: C++ Problem

On (21 Jun 97) Cameron Clark wrote to Paul Elliott...
 PE> Error _lc.c 57: Cannot convert 'void *' to 'BINLOG *' in function 
 PE> main(int,char * *)
 PE> *** 1 errors in Compile ***
 CC>     If I recall correctly ANSI c++ forbids void pointers.
Nope - C++ allows pointers to void, but unlike C doesn't allow implicit
casts to pointers to other types.  I.e. in C if you have a pointer to
void, you can assign that to a pointer to ANY other type without a cast.
In C++, you can only assign it to another pointer to void without a
cast.
    Later,
    Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.