Transition to cmake on Windows
#28
Quote: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.

/GF is great - it pools all identical string literals in a read-only memory region. So if you have some literal in multiple areas of code you'll only have it once in the executable which reduces the image size. And if your code attempts to modify it you'll get Access Violation which protects you against dumb errors.
Reply
Thanks given by:


Messages In This Thread
Transition to cmake on Windows - by xoft - 01-12-2014, 08:32 PM
RE: Transition to cmake on Windows - by NiLSPACE - 01-12-2014, 08:36 PM
RE: Transition to cmake on Windows - by xoft - 01-12-2014, 09:18 PM
RE: Transition to cmake on Windows - by tigerw - 01-12-2014, 09:19 PM
RE: Transition to cmake on Windows - by NiLSPACE - 01-12-2014, 09:31 PM
RE: Transition to cmake on Windows - by xoft - 01-12-2014, 09:32 PM
RE: Transition to cmake on Windows - by worktycho - 01-12-2014, 10:27 PM
RE: Transition to cmake on Windows - by xoft - 01-12-2014, 11:26 PM
RE: Transition to cmake on Windows - by NiLSPACE - 01-12-2014, 09:34 PM
RE: Transition to cmake on Windows - by xoft - 01-14-2014, 02:16 AM
RE: Transition to cmake on Windows - by xoft - 01-14-2014, 06:33 AM
RE: Transition to cmake on Windows - by bearbin - 01-14-2014, 06:40 AM
RE: Transition to cmake on Windows - by NiLSPACE - 01-14-2014, 06:45 AM
RE: Transition to cmake on Windows - by ThuGie - 01-14-2014, 07:30 AM
RE: Transition to cmake on Windows - by xoft - 01-14-2014, 04:34 PM
RE: Transition to cmake on Windows - by tigerw - 01-14-2014, 09:02 AM
RE: Transition to cmake on Windows - by xoft - 01-14-2014, 06:41 PM
RE: Transition to cmake on Windows - by xoft - 01-15-2014, 11:46 PM
RE: Transition to cmake on Windows - by NiLSPACE - 01-16-2014, 12:01 AM
RE: Transition to cmake on Windows - by xoft - 01-16-2014, 12:47 AM
RE: Transition to cmake on Windows - by tigerw - 01-16-2014, 04:42 AM
RE: Transition to cmake on Windows - by xoft - 01-16-2014, 06:29 AM
RE: Transition to cmake on Windows - by tigerw - 01-16-2014, 09:28 AM
RE: Transition to cmake on Windows - by xoft - 01-16-2014, 06:56 PM
RE: Transition to cmake on Windows - by xoft - 01-16-2014, 09:41 PM
RE: Transition to cmake on Windows - by tigerw - 01-17-2014, 04:17 AM
RE: Transition to cmake on Windows - by xoft - 01-17-2014, 05:18 AM
RE: Transition to cmake on Windows - by tigerw - 01-17-2014, 05:47 AM
RE: Transition to cmake on Windows - by bearbin - 01-17-2014, 06:02 AM
RE: Transition to cmake on Windows - by xoft - 01-17-2014, 06:42 AM
RE: Transition to cmake on Windows - by tigerw - 01-17-2014, 07:20 AM
RE: Transition to cmake on Windows - by xoft - 01-17-2014, 05:11 PM
RE: Transition to cmake on Windows - by tigerw - 01-18-2014, 05:17 AM
RE: Transition to cmake on Windows - by xoft - 01-18-2014, 09:28 AM
RE: Transition to cmake on Windows - by ThuGie - 01-19-2014, 10:30 AM
RE: Transition to cmake on Windows - by xoft - 01-19-2014, 05:02 PM
RE: Transition to cmake on Windows - by ThuGie - 01-19-2014, 11:06 PM
RE: Transition to cmake on Windows - by xoft - 01-19-2014, 11:48 PM
RE: Transition to cmake on Windows - by tigerw - 01-20-2014, 12:42 AM
RE: Transition to cmake on Windows - by xoft - 01-20-2014, 01:21 AM
RE: Transition to cmake on Windows - by ThuGie - 01-20-2014, 03:10 AM



Users browsing this thread: 3 Guest(s)