aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-08-28 13:46:36 +0200
committerTom de Vries <tdevries@suse.de>2023-08-28 13:46:36 +0200
commitc67caa51e47ca301f6d95b34e8d7c89993ba4039 (patch)
treee4b641ef6fa48e300b506cc191bb807f44c18ce7 /gdb/c-lang.c
parent025e84f93566c8ced594ef48ddee1dec7e5b4cdd (diff)
downloadgdb-c67caa51e47ca301f6d95b34e8d7c89993ba4039.zip
gdb-c67caa51e47ca301f6d95b34e8d7c89993ba4039.tar.gz
gdb-c67caa51e47ca301f6d95b34e8d7c89993ba4039.tar.bz2
[gdb/testsuite] Handle gdb.cp/*.exp with older compiler
When running test-cases gdb.cp/*.exp with gcc 4.8.4, I run into compilation failures due to the test-cases requiring c++11 and the compiler defaulting to less than that. Fix this by compiling with -std=c++11. This exposes two FAILs in gdb/testsuite/gdb.cp/empty-enum.exp due to gcc PR debug/16063, so xfail those. Also require have_compile_flag -std=c++17 in gdb.cp/constexpr-field.exp to prevent compilation failure. Tested on x86_64-linux.
Diffstat (limited to 'gdb/c-lang.c')
0 files changed, 0 insertions, 0 deletions