[OB PATCH] Build two gdb.cp testcases with -Wno-unused-comparison
Tom Tromey
tom@tromey.com
Fri May 29 18:08:12 GMT 2020
>>>>> "Gary" == Gary Benson via Gdb-patches <gdb-patches@sourceware.org> writes:
Gary> +if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
Gary> + {debug c++ additional_flags=-Wno-unused-comparison}] } {
Won't this cause build (and therefore test) failures if the compiler
does not accept this option?
I wonder if there's a way to fix the warning in the C++ source file
instead.
Tom
More information about the Gdb-patches
mailing list