TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: BALOG PAL
date: 1997-06-25 04:14:00
subject: C++ Problem

                             Hi, Cameron Clark!
On 21 Jun 97  21:02:16 you wrote to Paul Elliott
 PE> Error _lc.c 57: Cannot convert 'void *' to 'BINLOG *' in function
 CC> If I recall correctly ANSI c++ forbids void pointers.
It does not. You can use void pointers like in C.
The above error is about a void * can't be automatically converted to any
other pointer. The rule is, that you can assign any pointr to a void pointer,
but can't assign a void pointr to any other type pointer.
Using a cast removes the error (at compile time at least :)
Paul
... Coffin not available. Press F10 to cremate
--- OS/2 Warp
---------------
* Origin: The FlintStones' Cave in BedRock (2:371/20)

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