Re: clang and -Werror vs -Wpointer-sign

2017-02-11 Thread Jonathan Gray
On Wed, Feb 01, 2017 at 10:09:14PM +1100, Jonathan Gray wrote: > On Mon, Jan 30, 2017 at 07:28:03PM +0100, Stefan Kempf wrote: > > Jonathan Gray wrote: > > > Base gcc4 changes the defaults to set -Wno-pointer-sign. > > > Base clang does not, I'm not sure where in the llvm code to do so. > > > Base

Re: clang and -Werror vs -Wpointer-sign

2017-02-01 Thread Jonathan Gray
On Mon, Jan 30, 2017 at 07:28:03PM +0100, Stefan Kempf wrote: > Jonathan Gray wrote: > > Base gcc4 changes the defaults to set -Wno-pointer-sign. > > Base clang does not, I'm not sure where in the llvm code to do so. > > Base gcc3 does not handle -Wno-pointer-sign. > > I think this should turn

Re: clang and -Werror vs -Wpointer-sign

2017-01-30 Thread Stefan Kempf
Jonathan Gray wrote: > Base gcc4 changes the defaults to set -Wno-pointer-sign. > Base clang does not, I'm not sure where in the llvm code to do so. > Base gcc3 does not handle -Wno-pointer-sign. I think this should turn off -Wpointer-sign off by default. Passing -Wpointer-sign on the command