Skip to content

Conversation

firewave
Copy link
Collaborator

No description provided.

@firewave

This comment was marked as resolved.

@firewave
Copy link
Collaborator Author

This fails with

/usr/include/c++/15.1.1/ext/atomicity.h:39: syntax error: failed to evaluate #if condition, division/modulo by zero

The code in question:

#if __has_include(<sys/single_threaded.h>)
# include <sys/single_threaded.h>
#endif

@firewave firewave force-pushed the selfcheck-sys-x branch 2 times, most recently from 508ffaf to fdae274 Compare June 11, 2025 11:24
@firewave firewave force-pushed the selfcheck-sys-x branch 2 times, most recently from dd1cc3f to fbb316f Compare August 4, 2025 10:59
@firewave
Copy link
Collaborator Author

firewave commented Aug 4, 2025

It now fails with

/usr/include/c++/v1/__availability:78: syntax error: failed to evaluate #if condition, undefined function-like macro invocation: __has_feature( ... )

or

/usr/include/c++/v1/__assert:29: syntax error: failed to evaluate #if condition, undefined function-like macro invocation: __has_builtin( ... )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant