Re: Minimum GCC version

Neil Hodgson <[email protected]> Sat, 27 Sep 2025 11:07:12 +1000
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <CACWkrTj-Ye0favn5v-86zA75yRrgqD52qfEXL_X2i7c1n=L+1g@mail.gmail.com>
Robin Haberkorn:
> ... I noticed that charconv is used ...
> At v5.5.4 I was assuming that the minimum version is GCC 5.0. But the
> oldest I was building with was probably GCC 7.x. That was on NetBSD 10,
> for which you will soon receive another patch. Actually I upgraded
> Scintilla, so I can provide you with a patch that cleanly applies to HEAD.

Recent Scintilla uses std::from_chars for selection serialization.
std::from_chars is defined by <charconv>.

std::from_chars is part of C++17. Scintilla has required C++17 for 7
years now and code changes should be able to depend on this.

Supporting older compiler versions adds extra work to new features and
maintenance so it's unlikely I'll accept work-arounds. Indeed, it may
be time to consider incrementing the language baseline to C++20, a
standard from 5 years ago.

Neil

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/scintilla-interest/CACWkrTj-Ye0favn5v-86zA75yRrgqD52qfEXL_X2i7c1n%3DL%2B1g%40mail.gmail.com.