> On 22 Jul 2015, at 19:41, Joshua Kordani <jkord...@lsa2.com> wrote: > > 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.
Hello, the patch looks correct, but the right mailing list is gdb-patc...@sourceware.org and you need a corresponding changelog entry. Tristan. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils