This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/18709] New: Compilation fails on Darwin 11.4.2 in darwin-nat.c
- From: "jkordani at lsa2 dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 23 Jul 2015 05:18:28 +0000
- Subject: [Bug gdb/18709] New: Compilation fails on Darwin 11.4.2 in darwin-nat.c
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18709
Bug ID: 18709
Summary: Compilation fails on Darwin 11.4.2 in darwin-nat.c
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: jkordani at lsa2 dot com
Target Milestone: ---
Created attachment 8451
--> https://sourceware.org/bugzilla/attachment.cgi?id=8451&action=edit
changes per compiler warnings.
cc1: warnings being treated as errors
darwin-nat.c: In function âdarwin_ptraceâ:
darwin-nat.c:259: warning: format â%xâ expects type âunsigned intâ, but
argument 5 has type âcaddr_tâ
darwin-nat.c: In function âdarwin_resumeâ:
darwin-nat.c:839: warning: format â%xâ expects type âunsigned intâ, but
argument 4 has type âlong intâ
darwin-nat.c: In function âcancel_breakpointâ:
darwin-nat.c:1065: warning: format â%xâ expects type âunsigned intâ, but
argument 3 has type âlong intâ
darwin-nat.c: In function â_initialize_darwin_inferiorâ:
darwin-nat.c:2174: warning: format â%lxâ expects type âlong unsigned intâ, but
argument 3 has type âmach_port_tâ
patch attached, although I don't know if the change for line 259 and 2174 are
the right approach.
--
You are receiving this mail because:
You are on the CC list for the bug.