bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation fails on Darwin 11.4.2 in darwin-nat.c


From: Tristan Gingold
Subject: Re: Compilation fails on Darwin 11.4.2 in darwin-nat.c
Date: Thu, 23 Jul 2015 08:51:18 +0200

> On 22 Jul 2015, at 19:41, Joshua Kordani <address@hidden> 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 address@hidden
and you need a corresponding changelog entry.

Tristan.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]