Changes between Initial Version and Version 1 of Ticket #59224, comment 3


Ignore:
Timestamp:
Oct 14, 2019, 12:52:32 PM (4 years ago)
Author:
sjc999
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59224, comment 3

    initial v1  
    11I've a bit of a hack to fix it. The issue is that some macros are undefined - they are in /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/Availability.h
    22
    3 I'm not sure if this is a gcc or Xcode bug (the latter, I think). The #if's in Availability.h I think are wrong (not had time to really check - they are a little Dover the opt with their nesting) but it can leave the macros undefined. In that file, near the top just after #include <AvailabilityInternal.h> add the three lines:
     3I'm not sure if this is a gcc or Xcode bug (the latter, I think). The #if's in Availability.h I think are wrong (not had time to really check - they are a little over the top with their nesting) but it can leave the macros undefined. In that file, near the top just after #include <AvailabilityInternal.h> add the three lines:
    44
    55#define __OSX_AVAILABLE_STARTING(_osx, _ios)