Skip to content

compatibility with earlier versions of Clang? #3058

Answered by fsb4000
glevner asked this question in Q&A
Discussion options

You must be logged in to vote

No, it's a hard error without configurations.

STL/stl/inc/yvals_core.h

Lines 664 to 666 in 05e5e68

#if __clang_major__ < 14
_EMIT_STL_ERROR(STL1000, "Unexpected compiler version, expected Clang 14.0.0 or newer.");
#endif // ^^^ old Clang ^^^

It probably won't work even if you comment out this line, because when we update the compiler, we remove workarounds if something has been fixed in the new version of the compilers(MSVC, EDG, Clang).

Clang 14 and MSVC 19.33 update: #2861 (you can read "Workaround removals")

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@glevner
Comment options

@fsb4000
Comment options

@glevner
Comment options

Answer selected by glevner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants