From: "Joel_S" Newsgroups: comp.os.msdos.djgpp Subject: Re: Vesa 2.0 Date: Tue, 04 Mar 2003 17:02:06 +0100 Organization: Web2news.com Message-ID: <17597N726@web2news.com> References: <17326N022 AT web2news DOT com> <17482N497 AT web2news DOT com> <17488N404 AT web2news DOT com> <3E6454E3 DOT D29B507C AT yahoo DOT com> <17545N461 AT web2news DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 198.81.26.238 X-Complaints-To: abuse AT web2news DOT net Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Joel_S wrote: >> Problem solved, I simply changed >> vesa_pm_info = malloc(r.x.cx); >> to >> vesa_pm_info = ( VESA_PM_INFO *)malloc(r.x.cx); > > Problem not solved, but avoided. > > If that particular change made the code compile, that > definitely means > you're compiling it as C++, not C. You never showed us an actual > compilation command line, so it's hard to say how that happened. But > happen it did. If forced to bet, I'd place my money on capital C > vs. lower-case C. Actually, it is lower-case c. I'm using RHIDE, so, after changing the files from C to c, I had to remove them from the project list, and re-add them. Anyway, it's all fixed now, thanks for your help. -- Direct access to this group with http://web2news.com http://web2news.com/?comp.os.msdos.djgpp