Thread (6 messages) 6 messages, 4 authors, 2016-06-28

Re: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ?

From: Segher Boessenkool <hidden>
Date: 2016-06-28 08:51:26
Also in: lkml

On Tue, Jun 28, 2016 at 08:06:56AM +0100, David Binderman wrote:
I think you can also get a similar warning if you tweek the gcc compiler warning
flags. -Wformat=2 maybe.
-Wformat=1 (which is enabled by -Wall) already warns for this.

warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help