Re: [AD] msvc7 compiler options

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


aj wrote:
what about replacing -Ox with -O2 ?
why ?
-Ox is better.

it's not
Ox is /Og /Oi /Ot /Oy /Ob2 /Gs
O2 is /Og /Oi /Ot /Oy /Ob2 /Gs /GF /Gy

the MSDN says: "In general, /O2 should be preferred over /Ox"


can you provide me with a URL as my MSDN research has not found this.
in the VS IDE, they are on the same menu option, so its either on of the other.. and the way it looks is that -Ox is "Full Optimization" which implies fast.

aj.





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/