Pointextder
Programmer
I'm getting a strange problem with my code. Basically I traced it down to one variable which is not used. I will get a warning from compiling the release exe about an unreferenced local variable, the debug exe ignores it (0 errors, 0 warnings). If I run the debug exe I get no beeps, if I run the release exe, I get beeps during execution. BTW no alarm or beep functions are included in my code.
Now, if I comment out that variable, both the debug and release exe's will compile fine with no errors or warnings reported. Running the release exe results in no beeps. HOWEVER, now when I run the debug exe it has a ton of beeps. I really can understand why one little unused variable is causing all this. Any ideas? Thanks.
Now, if I comment out that variable, both the debug and release exe's will compile fine with no errors or warnings reported. Running the release exe results in no beeps. HOWEVER, now when I run the debug exe it has a ton of beeps. I really can understand why one little unused variable is causing all this. Any ideas? Thanks.