Re: dos is a lost cause !

new topic     » goto parent     » topic index » view thread      » older message » newer message
BRyan said...

That got us to run to a different error now I am getting :

be_machine.c(4906): Error! E1010: Type mismatch

That line is simply

if (addr != NULL) free((char *)addr); 

I have no idea why you are getting this. Perhaps your watcom settings are set to be more pedantic than mine? Perhaps your watcom wants:

if ((char*)addr != NULL) free((char *)addr); 

Or

if ((void*)addr != NULL) free((void*)addr); 

Or

if (addr != (unsigned)NULL) free((char *)addr); 

But I really have no idea why your Watcom is being so pedantic or what it wants. (This was a great reason to drop Watcom support altogether imnsho.)

This is a really bad idea, but for now just comment out that line and the line above it.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu