On Mon, Aug 7, 2017 at 6:18 PM, Johannes Schindelin
wrote:
> The POSIX standard only requires the `read` builtin to handle `-r`:
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/read.html
>
> However, Bash introduced the option `-d ` to override IFS for
>
On Mon, Aug 7, 2017 at 10:37 PM, Emmanuel Deloget wrote:
>
>
>
> On Mon, Aug 7, 2017 at 9:46 PM, Johannes Schindelin
> wrote:
>>
>> Hi Denys,
>>
>> On Mon, 7 Aug 2017, Denys Vlasenko wrote:
>>
>> > On Mon, Aug 7, 2017 at 12:09 PM, Johannes Schindelin
When compiling xz_dec_stream.c with GCC (at least with versions 5.4.0
and 7.1.0), it complains thusly:
In function 'dec_stream_footer':
error: dereferencing type-punned pointer will break
strict-aliasing rules [-Werror=strict-aliasing]
if
Hi Emmanuel,
On Mon, 7 Aug 2017, Emmanuel Deloget wrote:
> On Mon, Aug 7, 2017 at 12:25 PM, Lauri Kasanen wrote:
> > On Mon, 7 Aug 2017 12:09:45 +0200 (CEST)
> > Johannes Schindelin wrote:
> >> Meaning: GCC gets this all wrong and should not complain.
On Mon, Aug 7, 2017 at 9:46 PM, Johannes Schindelin <
johannes.schinde...@gmx.de> wrote:
> Hi Denys,
>
> On Mon, 7 Aug 2017, Denys Vlasenko wrote:
>
> > On Mon, Aug 7, 2017 at 12:09 PM, Johannes Schindelin
> > wrote:
> > > When compiling xz_dec_stream.c with GCC
Hi,
On Mon, 7 Aug 2017, Johannes Schindelin wrote:
> On Mon, 7 Aug 2017, Denys Vlasenko wrote:
>
> > On Mon, Aug 7, 2017 at 12:09 PM, Johannes Schindelin
> > wrote:
> > > When compiling xz_dec_stream.c with GCC 7.1.0, it complains thusly:
> > >
> > > In
Hi Denys,
On Mon, 7 Aug 2017, Denys Vlasenko wrote:
> On Mon, Aug 7, 2017 at 12:09 PM, Johannes Schindelin
> wrote:
> > When compiling xz_dec_stream.c with GCC 7.1.0, it complains thusly:
> >
> > In function 'dec_stream_footer':
> > error:
On Mon, Aug 7, 2017 at 12:09 PM, Johannes Schindelin
wrote:
> When compiling xz_dec_stream.c with GCC 7.1.0, it complains thusly:
>
> In function 'dec_stream_footer':
> error: dereferencing type-punned pointer will break strict-aliasing
>
Hello,
On Mon, Aug 7, 2017 at 12:25 PM, Lauri Kasanen wrote:
> On Mon, 7 Aug 2017 12:09:45 +0200 (CEST)
> Johannes Schindelin wrote:
>> Meaning: GCC gets this all wrong and should not complain. So let's force
>> it to be quiet for a couple of lines.
>
On Mon, 7 Aug 2017 12:09:45 +0200 (CEST)
Johannes Schindelin wrote:
> Meaning: GCC gets this all wrong and should not complain. So let's force
> it to be quiet for a couple of lines.
I believe this is both wrong and dangerous. If gcc warns about it, it
will also very
The POSIX standard only requires the `read` builtin to handle `-r`:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/read.html
However, Bash introduced the option `-d ` to override IFS for
just one invocation, and it is quite useful.
It is also super easy to implement in BusyBox' ash,
When compiling xz_dec_stream.c with GCC 7.1.0, it complains thusly:
In function 'dec_stream_footer':
error: dereferencing type-punned pointer will break strict-aliasing
rules [-Werror=strict-aliasing]
if (xz_crc32(s->temp.buf + 4, 6, 0) !=
12 matches
Mail list logo