This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Selective Compiler Optimization


Selective Compiler Optimization

Postby Bapdude » Sep 21, 2004 @ 5:32pm

User avatar
Bapdude
pm Member
 
Posts: 140
Joined: May 14, 2004 @ 5:06am


Postby refractor » Sep 21, 2004 @ 5:39pm

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby Bapdude » Sep 21, 2004 @ 5:53pm

User avatar
Bapdude
pm Member
 
Posts: 140
Joined: May 14, 2004 @ 5:06am


Postby xPeterx » Sep 21, 2004 @ 7:12pm

xPeterx
pm Member
 
Posts: 144
Joined: Jul 28, 2003 @ 2:50pm
Location: Germany


Postby angedelamort » Sep 21, 2004 @ 10:12pm

usually, when it's not working in release, it's because of a memory problem. But to be sure, you can always look at the assembly code to see if the compiler messed up ;)
User avatar
angedelamort
pm Member
 
Posts: 304
Joined: Mar 7, 2002 @ 11:16pm
Location: Montreal, Quebec


Postby rcp » Sep 22, 2004 @ 12:27am

User avatar
rcp
pm Member
 
Posts: 184
Joined: Jul 18, 2003 @ 2:12am
Location: Duluth, GA. (Southeast US)


Postby Bapdude » Sep 22, 2004 @ 1:51am

rcp:

Thanks for your suggestion. Yes, you are correct...I should try to understand the problem rather than looking for a "bandaid" solution.

My problem basically involves flags that are set before a function call. In the "debug" version, the flags are set correctly (initialized) prior to entering the function. In the "release" version, the flags are not. It's actually VERY simple code, so I can't imagine why the compiler has a problem with it. Of course, I've seen stranger things... :D
User avatar
Bapdude
pm Member
 
Posts: 140
Joined: May 14, 2004 @ 5:06am


Postby Dan East » Sep 22, 2004 @ 2:42am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Kzinti » Sep 22, 2004 @ 3:09am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Stupid debug filling with zeros

Postby andys » Oct 6, 2004 @ 2:36pm

andys
pm Member
 
Posts: 230
Joined: Jan 19, 2002 @ 6:19pm
Location: London


Re: Stupid debug filling with zeros

Postby Kzinti » Oct 6, 2004 @ 4:26pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Dan East » Oct 6, 2004 @ 7:50pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Kzinti » Oct 6, 2004 @ 9:02pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Dan East » Oct 7, 2004 @ 12:39am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby refractor » Oct 7, 2004 @ 6:59am

Heh - I also use 0xdeadbeef.
User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum