Microsoft\'s C++ compiler (cl.exe, as included with Visual Studio) offers several optimization switches. The difference between most of them seems self-explanat
Ox and O2 are almost identical. They
differ only in the fact that O2 also
throws GF and Gy. There is almost no
reason to avoid throwing these two
switches.