Re: [GNC-dev] Building Mac version using SDK 12

2022-09-15 Thread Mike Alexander
On 15 Sep 2022, at 13:54, john wrote: I don't understand the error but it seems to be an SDK error rather than anything we're doing. Might the compiler have gotten out of sync with the SDK? Yes, it was a compiler version skew. It seems that Apple's frameworks won't compile with some version

Re: [GNC-dev] Building Mac version using SDK 12

2022-09-15 Thread john
> On Sep 15, 2022, at 12:47 PM, Rob Gowin wrote: > > There are suggestions on the interweb that adding -DNS_FORMAT_ARGUMENT(A)= to > compiler options will work around this problem. > That seems unwise. https://stackoverflow.com/questions/18449176/objective-c-format-string-is-not-a-string-li

Re: [GNC-dev] Building Mac version using SDK 12

2022-09-15 Thread Rob Gowin
There are suggestions on the interweb that adding -DNS_FORMAT_ARGUMENT(A)= to compiler options will work around this problem. -- Rob On Thu, Sep 15, 2022 at 12:55 PM john wrote: > > > > On Sep 14, 2022, at 9:41 PM, Mike Alexander wrote: > > > > When I try to build either current maint or mas

Re: [GNC-dev] Building Mac version using SDK 12

2022-09-15 Thread john
> On Sep 14, 2022, at 9:41 PM, Mike Alexander wrote: > > When I try to build either current maint or master using MacOSX12.1.sdk or > MacOSX12.3.sdk for SDKROOT I get compile errors in gnc-filepath-utils.cpp. > The first error is > > In file included from > /System/Volumes/Data/tools/gnuc