Mail Archives: djgpp/2003/03/04/11:16:22
> 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.
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
- Raw text -