From: James W Sager Iii 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: References: 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.