mirror of
https://github.com/ianlancetaylor/libbacktrace.git
synced 2026-11-05 18:50:15 +08:00
libbacktrace: fix testsuite for clang
* btest.c (test1, test3): Add optnone attribute. * edtest.c (test1): Likewise. * mtest.c (test1, test3): Likewise. * configure.ac: Use -Wno-attributes and -Wno-unknown-attributes. * configure: Regenerate.
This commit is contained in:
1 parent
e3e64ddd18
commit
d4bdca038e
5 files changed
+9
-7
No files matched your search
@@ -11931,7 +11931,8 @@ WARN_FLAGS=
|
||||
save_CFLAGS="$CFLAGS"
|
||||
for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
|
||||
-Wmissing-prototypes -Wold-style-definition \
|
||||
-Wmissing-format-attribute -Wcast-qual; do
|
||||
-Wmissing-format-attribute -Wcast-qual \
|
||||
-Wno-attributes -Wno-unknown-attributes; do
|
||||
# Do the check with the no- prefix removed since gcc silently
|
||||
# accepts any -Wno-* option on purpose
|
||||
case $real_option in
|
||||
|
||||
Reference in new issue
Block a user