From: radon AT swipnet DOT se (Rikard Björklind) Newsgroups: comp.os.msdos.djgpp Subject: Re: Linker, ERROR! Date: Wed, 10 Dec 1997 18:56:23 GMT Organization: A customer of Tele2 Lines: 3 Message-ID: <348db87d.942068@nntpserver.swip.net> References: <348b13cb DOT 1967907 AT nntpserver DOT swip DOT net> NNTP-Posting-Host: mn8.swip.net Cache-Post-Path: mn8!s-298159 AT dialup90-1-35 DOT swipnet DOT se To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk It seems that after I installed windows 95, the problem dissapeared. Strange uh? he exact error. The fragment you provided might be >part of the warning given when the programmer tries to assign a pointer >to an integer. Okay, here it is: warning: assignment makes pointer from integer without a cast and here is the code: --- #include char *screen; main() { asm ("movw $0x0013,%ax"); asm ("int $0x10"); if (__djgpp_nearptr_enable() == 0) return 1; screen = 0xa0000 + __djgpp_conventional_base; screen[0]=1; screen[1]=2; screen[2]=3; asm ("movw $0,%ax"); asm ("int $0x16"); asm ("movw $0x0003h,%ax"); asm ("int $0x10"); } --- maybe the problem is my bad english, I don't know, but if someone would like to help me I'd be happy. =)