This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tui/21482] gdb 8.0 tui doesn't build with native curses on Solaris
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 17 May 2017 08:39:38 +0000
- Subject: [Bug tui/21482] gdb 8.0 tui doesn't build with native curses on Solaris
- Auto-submitted: auto-generated
- References: <bug-21482-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21482
--- Comment #3 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #2 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> ---
[...]
> However (as I wasn't aware initially), you can simply cast the constness
> away in all calls to mvwaddstr. I'll give that a whirl.
The attached patch worked for me, allowing a sparc-sun-solaris2.10
compilation to succeed on the 8.0 branch. Comparing gdb/tui on the
branch and mainline, I noticed that the only difference between the two
is this fix:
2017-05-13 Eli Zaretskii <eliz@gnu.org>
* tui/tui.c (tui_enable): Cast "unknown" to 'char *' to avoid a
C++ compiler warning.
for exactly the same problem (well, same problem, different function).
Rainer
--
You are receiving this mail because:
You are on the CC list for the bug.