[Bf-committers] MSVC compiler optimize flags

Peter den Bak blender.reply.for.peter at xs4all.nl
Thu Nov 25 18:44:21 CET 2004


Hi,

/O1 and /O2 also do the trick, and are slightly faster.

Regards,

Peter


-----Original Message-----
From: bf-committers-bounces at projects.blender.org
[mailto:bf-committers-bounces at projects.blender.org] On Behalf Of Ton
Roosendaal
Sent: Thursday, November 25, 2004 6:28 PM
To: bf-blender developers
Subject: [Bf-committers] MSVC compiler optimize flags

Hi,

While hunting a bug in the windows version, it appears that errors can  
happenn with certain compiler flags, and only in MSVC7, not in MSVC6  
(or so!).

http://projects.blender.org/tracker/index.php? 
func=detail&aid=1842&group_id=9&atid=125

Peter found a compiler option (/Ox) that seems to solve this error, but  
I'd appreciate an investigation what really goes on...

- Are the default compile flags OK?
- Is nothing affecting floating point precision?
- Or maybe something that moves pointers to negative addresses?

Thanks!

-Ton-


------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton at blender.org  
http://www.blender.org

_______________________________________________
Bf-committers mailing list
Bf-committers at projects.blender.org
http://projects.blender.org/mailman/listinfo/bf-committers



More information about the Bf-committers mailing list