Re: [PATCH svn-fe] fast-import: make code "-Wpointer-arith" clean

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

 



Heya,

On Mon, Feb 28, 2011 at 22:32, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
> This should fix it, I suppose? ÂA
>
> Â Â Â Â-std=c99 -O3 -Wall -W
> Â Â Â Â-Wno-sign-compare
> Â Â Â Â-Wno-unused-parameter
> Â Â Â Â-Wno-missing-field-initializers
> Â Â Â Â-Wno-empty-body
> Â Â Â Â-Wno-pointer-to-int-cast
> Â Â Â Â-Wno-type-limits
> Â Â Â Â-Wno-unused-but-set-variable
> Â Â Â Â-Wold-style-definition -Wpointer-arith -Wvla
> Â Â Â Â-Wdeclaration-after-statement -Werror
>
> build passes, except for an "unsigned long expire" in builtin-reflog
> that confuses this copy of gcc.

How come this slipped by unnoticed (except by Junio)? Is the default
Makefile not strict enough?

-- 
Cheers,

Sverre Rabbelier
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]