473,385 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

/Od compiler option problem

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

Oct 18 '05 #1
3 1235
babak wrote:
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
Oct 18 '05 #2
babak wrote:
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
Oct 18 '05 #3
babak wrote:
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
Oct 18 '05 #4
babak wrote:
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
Oct 18 '05 #5
babak wrote:
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
Oct 18 '05 #6
babak wrote:
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
Oct 18 '05 #7
babak wrote:
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
Oct 18 '05 #8
babak wrote:
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

Oct 18 '05 #9

mlimber skrev:
babak wrote:
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


OK. Thanks for your help.

/Babak

Oct 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

188
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
1
by: Param | last post by:
Hi , I have faced a strange problem. I have a code something like this... while(!a) { if( condition ) { continue; // 1 } try {
7
by: Matthew Del Buono | last post by:
Don't try to solve the problem. I've found a way -- around or fixing it. I'm just curious as to whether this is Microsoft's problem in their compiler or if there's a standard saying this is to be...
3
by: babak | last post by:
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...
19
by: David W | last post by:
float nanometers(long pm) { return pm / 1000.0f; } void f() { if(nanometers(309311L) == nanometers(309311L)) { // do something }
4
by: sqlguy | last post by:
Why do we have to contact MS for a problem that has been with this compiler from at least the beta of VS 20005. I am so sick and tired of the 30 - 40 clicks it takes to dismiss VS when there is a...
3
by: Rene | last post by:
Hello to all! For a long time I have been "fighting" a problem compiling an OpenGL program which uses GLUT. First I have put a question in a Watcom group (I want to use this compiler) to which I...
27
by: Dave | last post by:
I'm having a hard time tying to build gcc 4.3.1 on Solaris using the GNU compilers. I then decided to try to use Sun's compiler. The Sun Studio 12 compiler reports the following code, which is in...
2
by: =?Utf-8?B?TUNN?= | last post by:
I am using the compiler: Microsoft.VisualBasic.VBCodeProvider What are the different options I can specify using <providerOption>? So far I have: <system.codedom> <compilers> <compiler...
1
by: Alex Vinokur | last post by:
Hi, I have compilation problem on SUN CC compiler with template while using option -m64 (64-bit addressing model). No problem while using option -m32 (32-bit addressing model) $ CC -V CC:...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.