code logs -> 2023 -> Fri, 13 Jan 2023< code.20230112.log - code.20230114.log >
--- Log opened Fri Jan 13 00:00:05 2023
01:11 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
01:11 mode/#code [+qo Vornicus Vornicus] by ChanServ
01:21
<@celticminstrel>
McMartin: You mentioned a parameter I could pass to clang to ensure I don’t accidentally use 10.7-incompatible stuff, but I went and forgot what it was before I got the chance to make use of it…
01:21 gizmore [kvirc@Nightstar-v7s9b3.dip0.t-ipconnect.de] has joined #code
01:24 gizmore|2 [kvirc@Nightstar-2asmos.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
01:44 Degi_ [Degi@Nightstar-bbknbh.pool.telefonica.de] has joined #code
01:46 Degi [Degi@Nightstar-lhuj1h.pool.telefonica.de] has quit [Ping timeout: 121 seconds]
01:46 Degi_ is now known as Degi
02:02
<&McMartin>
celticminstrel: -mmacosx-version-min=10.10 -Wunguarded-availability
02:02
<&McMartin>
Note that Xcode's build config has a version for this too, but its labels are misleading
02:02
<&McMartin>
"Yes" means "not actually yes"; you need to select "Yes (all versions)"
02:03
<@celticminstrel>
I assume I replace 10.10 with 10.7.
02:03
<&McMartin>
Yeah, or whichever.
02:03
<&McMartin>
("Yes" without "(all versions") only checks calls added in 10.13 or later.)
02:03
<@celticminstrel>
What’s this about Xcode’s build config?
02:03
<&McMartin>
"We can turn on out-of-deployment-version checking for all versions by adding the -Wunguarded-availability flag to our CFLAGS. In Xcode, this is filed under “Warnings – All languages” under the name “Unguarded Availability”, and in a truly impressive feat of user interface design, you need to change it from “Yes” to “Yes (all versions)” for it to actually behave in the way we want.
02:03
<&McMartin>
(“No” disables it even when the new calls are into the 10.13 or 10.14 SDKs.)."
02:04
<&McMartin>
10.7 is when ARC is introduced, so you Do Not Want To Target Earlier Than 10.7, generally speaking.
02:04
<@celticminstrel>
I have no idea what to search for to find this setting in Xcode.
02:04
<@celticminstrel>
Maybe it doesn’t exist yet?
02:05 * McMartin dunno
02:06
<&McMartin>
This would be a 10.14 Xcode doing the build, because the notion I had here was "build targeting old versions with new tools"
02:06
<@celticminstrel>
I’m on 10.15, so I assume your Xcode was no newer than mine then.
02:06
<&McMartin>
The alternative being "keep ancient tools around forever and hope Apple maintains compatibility with their build products" and IMO that's not a great plan and in fact it remains a bad plan for any value of "Apple" that is not "Microsoft"
02:07
<&McMartin>
... yeah, it should just be on the part of Xcode where you set compiler flags in recent Xcodes.
02:07
<&McMartin>
I think you click the xcodeproj entry in the project view
02:07
<&McMartin>
Unless you're just using Make here, in which case, yeah, CFLAGS
02:07
<@celticminstrel>
Oh, I thought you said there was a dedicated entry in those settings for this.
02:07
<@celticminstrel>
Rather than putting it in Additional Flags.
02:10
<@celticminstrel>
It looks like that doesn’t work, because the deployment target is set to 10.9.
02:11
<@celticminstrel>
clang: warning: overriding '-mmacosx-version-min=10.7' option with '-target x86_64-apple-macos10.9' [-Woverriding-t-option]
02:14
<&McMartin>
Oh yes, you will also need to set the deployment target then
02:15
<&McMartin>
(If setting versionmin to 10.9 works, well, that's a start... but IIRC there is little reason to go below 10 and not go all the way to 7)
02:16
<@celticminstrel>
I had the deployment target set to 10.7, but it was warning me about that.
02:16
<@celticminstrel>
Because apparently 10.9 is the oldest one installed or something?
02:31
<&McMartin>
Sounds like it's just Apple being petty. :/
02:33
<@celticminstrel>
Extremely plausible… :(
02:35
<&McMartin>
(10.7, 10.10, and 10.12 make very significant changes to the runtime and the core UI construction kits.)
02:35
<&McMartin>
(10.9... does not)
02:36
<@celticminstrel>
So targeting 10.9 should at least avoid most things that would be incompatible with 10.7, huh?
03:03
<~Vornicus>
I have a simple question. How: https://twitter.com/jonathanbfine/status/1535719441341743105
03:12
<&McMartin>
I would generally think so, but I admit my expertise here has much more to do with Objective-C and its related OS libraries than the C++ side.
04:30 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
06:32 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has joined #code
06:32 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
08:15 jessifae_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection closed]
08:15 jessifae [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
08:39 jessifae_ [catalyst@Nightstar-8jvq4v.dab.02.net] has joined #code
08:41 jessifae [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
09:27 jessifae [catalyst@Nightstar-637ikn.dab.02.net] has joined #code
09:29 jessifae_ [catalyst@Nightstar-8jvq4v.dab.02.net] has quit [Ping timeout: 121 seconds]
09:45 abudhabi_ [abudhabi@Nightstar-j4sgml.adsl.tpnet.pl] has joined #code
09:48 abudhabi [abudhabi@Nightstar-m9hvcd.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
10:59 Pinkhair [Pink@Nightstar-dgaf27.ph.cox.net] has joined #code
11:00 Pink [Pink@Nightstar-dgaf27.ph.cox.net] has quit [Ping timeout: 121 seconds]
11:44 jessifae_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
11:48 jessifae [catalyst@Nightstar-637ikn.dab.02.net] has quit [Ping timeout: 121 seconds]
14:45 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:45 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:46 Emmy [Emmy@Nightstar-qo29c7.fixed.kpn.net] has joined #code
16:52 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
17:31 jessifae [catalyst@Nightstar-t6si60.dab.02.net] has joined #code
17:33 jessifae_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
18:05 jessifae_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
18:07 jessifae [catalyst@Nightstar-t6si60.dab.02.net] has quit [Ping timeout: 121 seconds]
18:09 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
19:30 jessifae [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
19:30 jessifae_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection closed]
19:45 jessifae [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection reset by peer]
19:45 jessifae_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
21:03 gizmore|2 [kvirc@Nightstar-v7s9b3.dip0.t-ipconnect.de] has joined #code
21:06 gizmore [kvirc@Nightstar-v7s9b3.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
23:12 Emmy [Emmy@Nightstar-qo29c7.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Sat Jan 14 00:00:06 2023
code logs -> 2023 -> Fri, 13 Jan 2023< code.20230112.log - code.20230114.log >

[ Latest log file ]