/Od compiler option problem

B

babak

Hi

I am running a project in eVC 4.0 and I have been running into a bug
that only appears in the release build of the project. I eventually
found out that when I had the compiler option /Od set the project would
work properly but when it was not set the bug would appear.
I looked for /Od in the MSDN library but it didn't provide much help.
Can anyone help me with what in my code that could lead to this? I.e
what should I look for in my project to fix this bug?

Is it ok to have this option set in a release build? What are the
consequences of that?

Thanks for all your help.
Best regards.
/Babak
 
J

John Ratliff

babak said:
Hi

I am running a project in eVC 4.0 and I have been running into a bug
that only appears in the release build of the project. I eventually
found out that when I had the compiler option /Od set the project would
work properly but when it was not set the bug would appear.
I looked for /Od in the MSDN library but it didn't provide much help.
Can anyone help me with what in my code that could lead to this? I.e
what should I look for in my project to fix this bug?

Is it ok to have this option set in a release build? What are the
consequences of that?

Thanks for all your help.
Best regards.
/Babak

You need to ask this question in a newsgroup for Visual Studio. Try the
microsoft.public.foo groups.

--John Ratliff
 
M

mlimber

babak said:
Hi

I am running a project in eVC 4.0 and I have been running into a bug
that only appears in the release build of the project. I eventually
found out that when I had the compiler option /Od set the project would
work properly but when it was not set the bug would appear.
I looked for /Od in the MSDN library but it didn't provide much help.
Can anyone help me with what in my code that could lead to this? I.e
what should I look for in my project to fix this bug?

Is it ok to have this option set in a release build? What are the
consequences of that?

Thanks for all your help.
Best regards.
/Babak

Hi, Babak. This question is specific to your compiler, not to standard
C++. I'd suggest you try a newsgroup associated with your compiler
where you can get more specific help.

You might also be interested in these articles:

http://www.codeproject.com/debug/releasemode.asp
http://www.codeproject.com/debug/survivereleasever.asp

Cheers! --M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,662
Latest member
sxarexu

Latest Threads

Top