Looks like I introduced this in 5ced92528362d8a9ea3c15a9752f3dc184108060.
build: fix usage of `-Wloop-analysis` #26958
pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:fix_build_loop_analysis changing 1 files +1 −1-
fanquake commented at 5:59 PM on January 23, 2023: member
-
166e0c057c
build: fix usage of -Wloop-analysis
Looks like I introduced this in 5ced92528362d8a9ea3c15a9752f3dc184108060.
- fanquake added the label Build system on Jan 23, 2023
-
DrahtBot commented at 5:59 PM on January 23, 2023: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #25972 (build: no-longer disable WARN_CXXFLAGS when CXXFLAGS is set by fanquake)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
- hebasto approved
-
hebasto commented at 6:24 PM on January 23, 2023: member
ACK 166e0c057c91f7c8666fe8aa43f699956a2b4b8b, tested on Ubuntu 22.04:
- master branch (a62231bca629e945349255a1d331dd5c7a86ddd1):
$ ./autogen.sh $ ./configure CC=clang CXX=clang++ 2>&1 | grep loop-analysis checking whether C++ compiler accepts -Wloop-analysis... yes CXXFLAGS = -fdebug-prefix-map=$(abs_top_srcdir)=. -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wrange-loop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wunreachable-code-loop-increment -Wimplicit-fallthrough -Wno-unused-parameter -Wno-self-assign -Wno-deprecated-copy -g -O2- this PR:
$ ./autogen.sh $ ./configure CC=clang CXX=clang++ 2>&1 | grep loop-analysis checking whether C++ compiler accepts -Wloop-analysis... yes CXXFLAGS = -fdebug-prefix-map=$(abs_top_srcdir)=. -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wunreachable-code-loop-increment -Wimplicit-fallthrough -Wno-unused-parameter -Wno-self-assign -Wno-deprecated-copy -g -O2 - jarolrod approved
-
jarolrod commented at 12:09 AM on January 24, 2023: member
ACK 166e0c057c91f7c8666fe8aa43f699956a2b4b8b
Tested on macOS with the following commands
master
$ ./configure CC=clang CXX=clang++ 2>&1 | grep loop-analysis checking whether C++ compiler accepts -Wloop-analysis... yes CXXFLAGS = -Wstack-protector -fstack-protector-all -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wrange-loop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wunreachable-code-loop-increment -Wimplicit-fallthrough -Wno-unused-parameter -Wno-self-assign -Wno-deprecated-copy -g -O2pr
$ ./configure CC=clang CXX=clang++ 2>&1 | grep loop-analysis checking whether C++ compiler accepts -Wloop-analysis... yes CXXFLAGS = -Wstack-protector -fstack-protector-all -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wunreachable-code-loop-increment -Wimplicit-fallthrough -Wno-unused-parameter -Wno-self-assign -Wno-deprecated-copy -g -O2 - maflcko merged this on Jan 24, 2023
- maflcko closed this on Jan 24, 2023
- fanquake deleted the branch on Jan 24, 2023
- sidhujag referenced this in commit 73edbb90ab on Jan 24, 2023
- bitcoin locked this on Jan 24, 2024