From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Vesa 2.0 Date: 4 Mar 2003 14:23:51 GMT Organization: Aachen University of Technology (RWTH) Lines: 16 Message-ID: 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> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1046787831 4693 137.226.32.75 (4 Mar 2003 14:23:51 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 4 Mar 2003 14:23:51 GMT Originator: broeker@ 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. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.