From: jano AT ee DOT nmt DOT edu (John Sinnott) Newsgroups: comp.os.msdos.djgpp Subject: Re: + 14649 optomizing cracks my code! Date: 29 Oct 1996 15:43:11 GMT Organization: New Mexico Tech EE/Phsyics Departments Lines: 13 Sender: jano AT tasman (John Sinnott) Message-ID: <5558mf$ivj@newshost.nmt.edu> NNTP-Posting-Host: tasman.nmt.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >I've been working with some VESA 2.0 functions and I've gotten a >putpixel function to use the protected mode interface but whenever I use >the -O? switch the code no longer works! What's wrong. Here's a >snippet of the code... I have had similar problems, and am most interested in what the problem may be. I am trying to compile a library with optimazition, and it compiles fine. But when I compile other programs that use the library, they also compile fine but crash at run time. Thanks -John