delorie.com/archives/browse.cgi | search |
From: | James W Sager Iii <sager+@andrew.cmu.edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: ok, I have more info on problem at hand |
Date: | Sat, 2 Sep 2000 06:56:03 -0400 |
Organization: | Fifth yr. senior, MCS Undeclared, Carnegie Mellon, Pittsburgh, PA |
Lines: | 29 |
Distribution: | world |
Message-ID: | <wtgBn3600Uw9E3Jl4k@andrew.cmu.edu> |
References: | <Mtg9LD_00Uw9QI9Fw3 AT andrew DOT cmu DOT edu> |
<hl61rs8irsn3odqlu83iquu804087l4bpg AT 4ax DOT com> | |
NNTP-Posting-Host: | po7.andrew.cmu.edu |
X-Trace: | bb3.andrew.cmu.edu 967892297 12528 128.2.10.107 (2 Sep 2000 10:58:17 GMT) |
X-Complaints-To: | advisor AT andrew DOT cmu DOT edu |
NNTP-Posting-Date: | 2 Sep 2000 10:58:17 GMT |
X-Added: | With Flames (outnews v2.6) |
Path: | news.mv.net!newspeer.phoen-x.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.cis.ohio-state.edu!xxxx1.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!sager+ |
Xref: | news.mv.net comp.os.msdos.djgpp:103074 |
Excerpts from netnews.comp.os.msdos.djgpp: 2-Sep-100 Re: ok, I have more info on.. by Damian Yerrick AT hotmail DOT c > >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 > > i = (int *)malloc(20); > should get you started. Yeah, I saw that code around and I know what it means, but I didn't understand the ANSI adoption into GCC. Thanks for the culture lesson, its allowing me to take some more steps in my installation of a 3d world.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |