From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Vesa 2.0 Date: 4 Mar 2003 15:53:57 GMT Organization: Cornell University Lines: 29 Sender: asu1 AT cornell DOT invalid (on pool-141-149-207-198.syr.east.verizon.net) Message-ID: References: <17326N022 AT web2news DOT com> <17482N497 AT web2news DOT com> <17488N404 AT web2news DOT com> <17546N511 AT web2news DOT com> <17591N820 AT web2news DOT com> NNTP-Posting-Host: pool-141-149-207-198.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1046793237 22571 141.149.207.198 (4 Mar 2003 15:53:57 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 4 Mar 2003 15:53:57 GMT User-Agent: Xnews/5.04.25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Joel_S" wrote in news:17591N820 @web2news.com: >> "Joel_S" wrote in >> news:17546N511 >> @web2news.com: >> >>> Problem solved, I simply changed >>> vesa_pm_info = malloc(r.x.cx); >>> to >>> vesa_pm_info = ( VESA_PM_INFO *)malloc(r.x.cx); >> >> that is not a solution. you are definitely compiling the >> file as C++ not C. >> do learn the difference. > For the last time, the file has a .c extention, the c is lower case. I > don't know how else to compile it as a C file. and for the last time: for some reason, you are compiling it as a C++ file. you do not give any information on the specific command line used in compilation, and hence, we cannot tell you what you are doing wrong. but the "solution" is no solution. you are just covering up a mistake by shutting up the compiler. -- A. Sinan Unur asu1 AT c-o-r-n-e-l-l DOT edu Remove dashes for address Spam bait: mailto:uce AT ftc DOT gov