|
-
Apr 10th, 2001, 07:58 PM
#1
Thread Starter
Member
In MS Visual C++ 6.0, why do some programs crash when compiled in 'Release Mode'? They work perfect in 'Debug'. I heard something about different memory locations in debug and release compiles. Is there a specific command line tag (/XX) that causes this?
Thanks for any info concerning this matter,
Chilibean
-
Apr 10th, 2001, 08:15 PM
#2
Monday Morning Lunatic
The most common cause is the optimisations performed by the compiler. Debug builds have all optimisations disabled, so that they can be traced accurately. Try using Release mode, but disabling optimisations, or only disabling some of them (under Project Settings->Compile).
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|