You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If /tmp/unreadable.cpp is unreadable (e.g. because chmod a-r) then clang gives a fatal error on this conditional. GCC gets this right and is silent only because the __has_include is unevaluated.
If /tmp/unreadable.cpp is unreadable (e.g. because chmod a-r) then clang gives a fatal error on this conditional. GCC gets this right and is silent only because the __has_include is unevaluated.
It might be tricky as I think the problem is that the processing of _has_include isn't taking place in the context of the expression evaluator (which is where it should be, IMO).
It might be tricky as I think the problem is that the processing of _has_include isn't taking place in the context of the expression evaluator (which is where it should be, IMO).
If /tmp/unreadable.cpp is unreadable (e.g. because chmod a-r) then clang gives a fatal error on this conditional. GCC gets this right and is silent only because the __has_include is unevaluated.
#if 0 && __has_include("/tmp/unreadable.cpp")
#endif
The text was updated successfully, but these errors were encountered: