[cfe-commits] [PATCH] Add -fobjc-direct-class-refs

Jonathan Schleifer js at webkeks.org
Tue Jun 5 10:03:02 PDT 2012


Am 05.06.2012 um 18:57 schrieb Douglas Gregor:

> and we have a new command-line option. Unfortunately, the old command-line option can never go away, because people depend on it, so we have to map old to new "forever".

Actually, no. You can't rely on having it anyway, because it is currently missing entirely, thus in all previous releases, it's missing. Code needs to check if that flag is available and only use it if so. If it suddenly goes away again, nothing will break. It's even possible to mix code compiled with that flag with code compiled without it.

--
Jonathan





More information about the cfe-commits mailing list