delorie.com/archives/browse.cgi | search |
From: | Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: void |
Date: | Fri, 19 May 2000 23:33:32 +0100 |
Organization: | Customer of Planet Online |
Lines: | 16 |
Message-ID: | <1kebisoo08rpv6p6gnc8rk7h409h6n1sor@4ax.com> |
References: | <8g41l0$7t3$1 AT news DOT netvision DOT net DOT il> |
NNTP-Posting-Host: | modem-60.california.dialup.pol.co.uk |
Mime-Version: | 1.0 |
X-Trace: | news7.svr.pol.co.uk 958775690 22217 62.137.56.60 (19 May 2000 22:34:50 GMT) |
NNTP-Posting-Date: | 19 May 2000 22:34:50 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Newsreader: | Forte Agent 1.7/32.534 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Avi Berkovich" <berkovic AT netvision DOT net DOT il> wrote: > Hello > > I tried compiling some sources for DJGPP like the DLX liberary and I keep > getting the error message: "ANSI C++ forbids using pointer of type void * in > arithmatic". > As I sayed these are sources for DJGPP, so why can't I compile? Is this C or C++ source code? What command did you use to compile? This warning is sometimes issued if you use gpp or gxx to compile C code because the C++ standard is stricter about such things. If that is happening you can either fix the offending source or adjust the command line. Post both if you need suggestions how to fix.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |