delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/02/02:00:16.2

Path: news.mv.net!news.shore.net!newsfeed.mathworks.com!news.maxwell.syr.edu!news.cis.ohio-state.edu!xxxx1.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!sager+
From: James W Sager Iii <sager+@andrew.cmu.edu>
Newsgroups: comp.os.msdos.djgpp
Subject: ok, I have more info on problem at hand
Date: Sat, 2 Sep 2000 01:53:19 -0400
Organization: Fifth yr. senior, MCS Undeclared, Carnegie Mellon, Pittsburgh, PA
Lines: 36
Message-ID: <Mtg9LD_00Uw9QI9Fw3@andrew.cmu.edu>
NNTP-Posting-Host: po7.andrew.cmu.edu
X-Trace: bb3.andrew.cmu.edu 967874050 2374 128.2.10.107 (2 Sep 2000 05:54:10 GMT)
X-Complaints-To: advisor AT andrew DOT cmu DOT edu
NNTP-Posting-Date: 2 Sep 2000 05:54:10 GMT
X-Added: With Flames (outnews v2.6)
Xref: news.mv.net comp.os.msdos.djgpp:103068

Sorry about the stream of thought process I'm using, but its kinda helpful.
I HORRIDLY SUCK when it comes to installing compilers and source code
onto my computer, but once I have solid knowledge of the functions
behind me, I code extremely well.

Either way, malloc and remalloc are no longer working with this updated
version of c/c++

Here is my code:

int *i;
i=malloc(20);
i=realloc(100);

errors:
 Error: ANSI C++ forbids implicit conversion from `void *' in assignment
 Error: ANSI C++ forbids implicit conversion from `void *' in assignment


These errors are really messing my day up.  I was able to work around
them elsewhere but they nailed me here.  Ideas on what causes this would
be muchly appreciated.

I want to compile my old game project properly before I try compiling
crystal space 3d so I don't ask lots of pathetic questions about why I
can't get it to compile on their newsgroup that are based in the fact
that my compiler doesn't work.

Once I get both of these things working though :)  I'll try and make an
engine like Grand Theft Auto 2(which I have been working towards since
1991)
If anyone has the source for this kind of awesome engine, I'd like to
discuss with them stuff.

Thanks again, this bboard owns.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019