delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/04/09:30:08

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
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: <b42ctn$4il$1@nets3.rz.RWTH-Aachen.DE>
References: <17326N022 AT web2news DOT com> <Xns9333C01A96E16asu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <17482N497 AT web2news DOT com> <Xns9333E7234487Dasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <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 <jbs30000 DOT news DOT invalid AT web2news DOT net> 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.

- Raw text -


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