[bug #60798] Make does not compile with GCC 11.1.0

2021-06-18 Thread Paul D. Smith
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. When building code for producti

Make does not compile with GCC 11.1.0

2021-06-18 Thread RANDRIANAINA Georges Aaron
I cloned the current make git repository: https://git.savannah.gnu.org/git/emacs.git Then I compiled it with GCC 11.1.0. It triggers the following error: src/main.c:1954:13: error: writes 1 byte in a region of size 0 [-Werror=stringop-overflow=] 2006 |   p[-1] = '\0'; |   ~~^~

[bug #60798] Make does not compile with GCC 11.1.0

2021-06-18 Thread anonyme
URL: Summary: Make does not compile with GCC 11.1.0 Project: make Submitted by: None Submitted on: ven. 18 juin 2021 16:36:51 UTC Severity: 3 - Normal Item Group: Build/