Skip to content

GCC 13 error on #include <TargetConditionals.h> #5216

Closed Answered by Bo98
tcbrindle asked this question in Casks
Discussion options

You must be logged in to vote

It's going to be fixed in GCC 14 I believe (usually late April/early May).

It's technically an SDK bug introduced in Xcode/CLT 15.3 however.

There's not really many workarounds, though one workaround could be:

#ifndef __has_extension
#define __has_extension(x) 0
#endif

before any includes

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tcbrindle
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Casks
Labels
None yet
2 participants