Proposal to set macOS 10.9 Mavericks as earliest supported macOS version for FLTK 1.5
Since FLTK 1.5 requires C++11, it's no longer usable on early versions of macOS
that don't support C++11. I believe the earliest such version is macOS 10.9 Mavericks
released in October 2013. That makes sense because C++11 can hardly be fully supported before 2011. Therefore, I propose to set macOS 10.9 Mavericks as the earliest supported macOS version for FLTK 1.5.
This would allow to remove a lot of code from file src/Fl_cocoa.mm and other source files.
+1, I agree. However, I would propose to go further and select a later version.
Rationale: If we support macOS 10.9 (released 2013) then we support hardware that's even older, which could get macOS updates to 10.9. What's Apple's policy? 5 year old hardware, or maybe less? Anyway, this would allow to use hardware built in 2010 or even earlier. Is this necessary, is this even realistic?
IMHO the more conditional code we can remove, the more stable and maintainable FLTK will be.
Le samedi 31 janvier 2026 à 14:42:22 UTC+1, Albrecht-S a écrit :
+1, I agree. However, I would propose to go further and select a later version.
Rationale: If we support macOS 10.9 (released 2013) then we support hardware that's even older, which could get macOS updates to 10.9. What's Apple's policy? 5 year old hardware, or maybe less? Anyway, this would allow to use hardware built in 2010 or even earlier. Is this necessary, is this even realistic?
IMHO the more conditional code we can remove, the more stable and maintainable FLTK will be.
I'd like to argue for keeping support as extended in time as possible, for these reasons:
- ...
I propose an additional constraint that we could give us in terms of support of old versions:an FLTK developer at least must be able to build FLTK with that old version asCMAKE_OSX_DEPLOYMENT_TARGET. This gives a solid indication thatno operation unsupported by that OS version is called by the source code.
I also add the same investigation should be done for our Windows platform.
I also add the same investigation should be done for our Windows platform.
What investigation do you mean?
I also add the same investigation should be done for our Windows platform.
I'd like to read Matthias and Greg's opinions on this topic.
Regarding Windows I'd hope we can continue to support running on Windows 7 at minimum. I still build on more modern releases (Win10Pro), but expect that to run on the older OS's. I think all of my customers are long off XP, and TMK, all that I've talked to simply skipped over Windows Vista.
As a personal opinion, Win7 is the last version of Windows I thought was "familiar" to me, with simple "File/Edit" menubars, and relatively free of creepy subscription/cloud tie-ins, allowing me to think the machine is still "mine", and not "theirs". In Win10 I feel more lost in their newer interfaces, and not so sure the machine is still "mine". With Win11 I'm sure the machine isn't "mine" any longer, and try to avoid using it, unless there's a client requirement.
I'm fine with dropping 10.4 and back. IMHO if the most "up-to-date" browser for an OS can't open google.com correctly, it's "dead".
I've kind of forgotten where the dividing line is for that with MacOS, but apparently the furthest back Firefox with HTML5 support goes is 10.5.
Pretty sure my customers don't use anything older than 10.5, and that'd be for reliable back end servers that they don't want to upgrade, and still want to run my product's GUIs on.
Sure, I think that's fine. For my purposes I'm sticking with
fltk 1.4 as much as I can.
The oldest MacOS system I'm running 24/7 is 10.10.x, so I
think for fltk 1.5 a MacOs 10.9 minimum is OK.