We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Werror=undef
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current HEAD fails to compile with g++ using -Werror=undef -std=c++17 with a couple errors like:
-Werror=undef -std=c++17
ctre.hpp:388:21: error: "__cpp_char8_t" is not defined, evaluates to 0 [-Werror=undef] 388 | #if __cpp_char8_t
The following one-liner fixes the problem:
sed -i -E "s/#if (__cpp_[^ ]*)/#if defined \1 \&\& \1/g" ctre.hpp
See also this commit.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current HEAD fails to compile with g++ using
-Werror=undef -std=c++17
with a couple errors like:The following one-liner fixes the problem:
sed -i -E "s/#if (__cpp_[^ ]*)/#if defined \1 \&\& \1/g" ctre.hpp
See also this commit.
The text was updated successfully, but these errors were encountered: