cvs.gedasymbols.org/archives/browse.cgi | search |
From: | "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu> |
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: | <Xns93346EDF9B59Easu1cornelledu@132.236.56.8> |
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> <Xns933451E63E5C1asu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <17546N511 AT web2news DOT com> <Xns933468E7092A9asu1cornelledu AT 130 DOT 81 DOT 64 DOT 196> <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" <jbs30000 DOT news DOT invalid AT web2news DOT net> wrote in news:17591N820 @web2news.com: >> "Joel_S" <jbs30000 DOT news DOT invalid AT web2news DOT net> 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |