-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
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
Clang 12 fails to build Flang with -DWITH_WERROR=ON
#1065
Comments
This was referenced Jun 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setting the CMake variable
WITH_WERROR=ON
tells Clang to compile Flang code with-Werror
, which turns compile-time warnings into fatal errors. This had to be turned off by default in b8b4914 since LLVM 12 now produces many more warnings than previous LLVM versions.I will submit a number of PRs to fix the Flang code base, in order to reduce the number of compile-time warnings, and enable
WITH_WERROR=ON
to be used again. Some problems requiring more extensive changes will be considered in future issues.The text was updated successfully, but these errors were encountered: