[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #60798] Make does not compile with GCC 11.1.0
From: |
Dmitrii Pasechnik |
Subject: |
Re: [bug #60798] Make does not compile with GCC 11.1.0 |
Date: |
Sat, 19 Jun 2021 15:31:06 +0100 |
On Fri, Jun 18, 2021 at 12:53:32PM -0400, Paul D. Smith wrote:
> Follow-up Comment #1, bug #60798 (project make):
>
> FWIW, this warning is not valid in this situation. The code is correct; p
> will always be pointing into a valid buffer and never pointing at the first
> character in that buffer, so p[-1] always points to valid memory.
It's undefined behaviour in C to point to such a location, isn't it?
Is this hack really needed?
>
> When building code for production use, you should never use -Werror.
- [bug #60798] Make does not compile with GCC 11.1.0, anonyme, 2021/06/18
- [bug #60798] Make does not compile with GCC 11.1.0, Paul D. Smith, 2021/06/18
- Re: [bug #60798] Make does not compile with GCC 11.1.0,
Dmitrii Pasechnik <=
- Re: [bug #60798] Make does not compile with GCC 11.1.0, Paul Smith, 2021/06/19
- Re: [bug #60798] Make does not compile with GCC 11.1.0, Eli Zaretskii, 2021/06/19
- Re: [bug #60798] Make does not compile with GCC 11.1.0, Dmitrii Pasechnik, 2021/06/19
- Re: [bug #60798] Make does not compile with GCC 11.1.0, Paul Smith, 2021/06/19
- Re: [bug #60798] Make does not compile with GCC 11.1.0, Andreas Schwab, 2021/06/21
- Re: [bug #60798] Make does not compile with GCC 11.1.0, David A. Wheeler, 2021/06/21
- Re: [bug #60798] Make does not compile with GCC 11.1.0, RANDRIANAINA Georges Aaron, 2021/06/21
- Re: [bug #60798] Make does not compile with GCC 11.1.0, Dmitry Goncharov, 2021/06/19
- Re: [bug #60798] Make does not compile with GCC 11.1.0, Dmitrii Pasechnik, 2021/06/19
- Re: [bug #60798] Make does not compile with GCC 11.1.0, Eli Zaretskii, 2021/06/19