[Bug driver/63810] New: gcc sets incorrect macro for OS X deployment targets

jeremyhu at macports dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 11 02:00:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63810

            Bug ID: 63810
           Summary: gcc sets incorrect macro for OS X deployment targets
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jeremyhu at macports dot org

Even after the change for bug #61407, gcc is not setting up the deployment
target macro correctly.  gcc always sets the tiny version to 0 which is not
always the case.  For example:

$ echo | clang-mp-3.5 -E -dM - -mmacosx-version-min=10.09.04 | grep
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
#define __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 1094



More information about the Gcc-bugs mailing list