[PATCH] [gdb/testsuite] Use c++ flag in c++ test-cases
Tom Tromey
tom@tromey.com
Thu Jan 30 16:52:47 GMT 2025
>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
Tom> In some cases, test-cases use c++, but don't add "c++" to the compilation
Tom> flags. This can cause problems with some compilers.
This seems fine to me.
Tom> +set flags {}
Tom> +lappend flags debug
Tom> +lappend flags c++
IMO there's nothing wrong with the more concise {debug c++}.
Approved-By: Tom Tromey <tom@tromey.com>
Tom
More information about the Gdb-patches
mailing list