Le 12/16/16 à 23:33, Steffan Karger a écrit :
> Also, is -Werror=format-security needed (instead of -Wformat-security)
> if we already have -Werror?
No. In this case, it's indeed clearer to have -Wformat-security
Julien
signature.asc
Description: OpenPGP digital signature
-
Le 12/17/16 à 11:44, Gert Doering a écrit :
> Taking 2.4_rc2 and building on AIX with -Wall -Wno-pointer-sign is
> actually much less bad than I thought :-) - but there are things in
> there which are annoying, like these
>
> ../../../git/src/openvpn/route.c: In function 'add_route_ipv6':
> ../..
Hi,
On Sat, Dec 17, 2016 at 04:26:46PM +0500, ?? wrote:
> > The world is bigger than Linux.
>
> There should be high level autoconf magic, which will add option if chosen
> compiler supports it.
That wasn't my point. Some systems are making it hard to get Linux-developed
so
17 дек. 2016 г. 15:07 пользователь "Gert Doering"
написал:
Hi,
On Fri, Dec 16, 2016 at 11:16:08PM +0100, Julien Muchembled wrote:
> BTW, instead of failing on these 3 specific warnings, we could go the
opposite way, since -Wall is quite silent. I suggest:
>
> -Wall -Wno-unused -Wno-pointer-sig
Hi,
On Sat, Dec 17, 2016 at 11:16:10AM +0100, Steffan Karger wrote:
> > NAK to "-Wall -Werror", unless you've tested that this does not break
> > compilation on any of the supported platforms.
>
> Sure, but I think we should help out with that. Such as, do a test
> build on the supported platfor
On 17 December 2016 at 11:05, Gert Doering wrote:
> On Fri, Dec 16, 2016 at 11:16:08PM +0100, Julien Muchembled wrote:
>> BTW, instead of failing on these 3 specific warnings, we could go the
>> opposite way, since -Wall is quite silent. I suggest:
>>
>> -Wall -Wno-unused -Wno-pointer-sign -Wer
Hi,
On Fri, Dec 16, 2016 at 11:16:08PM +0100, Julien Muchembled wrote:
> BTW, instead of failing on these 3 specific warnings, we could go the
> opposite way, since -Wall is quite silent. I suggest:
>
> -Wall -Wno-unused -Wno-pointer-sign -Werror -Wno-error=strict-aliasing
> -Werror=format-se
On 16-12-16 23:16, Julien Muchembled wrote:
> Le 12/16/16 à 21:52, Steffan Karger a écrit :
>>> +AX_CHECK_COMPILE_FLAG([ -Werror=implicit ], [
>>> +CFLAGS_EXTRA="$CFLAGS_EXTRA -Werror=implicit"
>>> +])
>>> +AX_CHECK_COMPILE_FLAG([ -Werror=format -Werror=format-security ], [
>>> +CFLAGS_EX
Le 12/16/16 à 21:52, Steffan Karger a écrit :
>> +AX_CHECK_COMPILE_FLAG([ -Werror=implicit ], [
>> +CFLAGS_EXTRA="$CFLAGS_EXTRA -Werror=implicit"
>> +])
>> +AX_CHECK_COMPILE_FLAG([ -Werror=format -Werror=format-security ], [
>> +CFLAGS_EXTRA="$CFLAGS_EXTRA -Werror=format -Werror=format-secu
On 16-12-16 22:53, Arne Schwabe wrote:
> Am 16.12.16 um 19:26 schrieb Julien Muchembled:
>> The bug in Trac #792 (pointer wrongly truncated as 'int', leading to
>> segfaults)
>> would have been understood faster with either
>> -Werror=implicit or -Werror=format
>> (and above all, before running
Am 16.12.16 um 19:26 schrieb Julien Muchembled:
> The bug in Trac #792 (pointer wrongly truncated as 'int', leading to
> segfaults)
> would have been understood faster with either
> -Werror=implicit or -Werror=format
> (and above all, before running buggy executables in production)
>
> Debian a
Hi,
On 16-12-16 19:26, Julien Muchembled wrote:
> The bug in Trac #792 (pointer wrongly truncated as 'int', leading to
> segfaults)
> would have been understood faster with either
> -Werror=implicit or -Werror=format
> (and above all, before running buggy executables in production)
>
> Debian
The bug in Trac #792 (pointer wrongly truncated as 'int', leading to segfaults)
would have been understood faster with either
-Werror=implicit or -Werror=format
(and above all, before running buggy executables in production)
Debian already compiles with -Werror=format-security, and it's indeed a
13 matches
Mail list logo