bug-make
[Top][All Lists]
Advanced

[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: David A. Wheeler
Subject: Re: [bug #60798] Make does not compile with GCC 11.1.0
Date: Mon, 21 Jun 2021 10:12:12 -0400


     p[-1] = '\0';

Is this just a style warning being turned into an error?
That is, would this compile if the line was rewritten as:

*(p - 1) = ‘\0’;

Which means the same thing per the spec?
If the rewrite would fix it, I suggest doing the rewrite, to
reduce compilation problems.

--- David A. Wheeler


reply via email to

[Prev in Thread] Current Thread [Next in Thread]