This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] More C++ build fixing
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Fri, 15 May 2015 14:34:07 -0400
- Subject: [binutils-gdb] More C++ build fixing
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 452003ef2ca3e1cf81b17d960b59b8a8c167054b ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 452003ef2ca3e1cf81b17d960b59b8a8c167054b
More C++ build fixing
Fixes:
In file included from ../../../binutils-gdb/gdb/gdbserver/server.h:61:0,
from ../../../binutils-gdb/gdb/gdbserver/server.c:19:
../../../binutils-gdb/gdb/gdbserver/target.h:442:50: error: second operand to the conditional operator is of type 'void', but the third operand is neither a throw-expression nor of type 'void'
(*the_target->handle_new_gdb_connection) () : 0)
^
Reported by Yuanhui Zhang.
gdb/gdbserver/ChangeLog:
2015-05-15 Pedro Alves <palves@redhat.com>
* target.h (target_handle_new_gdb_connection): Rewrite using if
wrapped in do/while.