RE: Invalid use of const pointer?

2022-01-18 Thread Joe Filion
another note, Jon Forrest responded to this thread. I’m not sure what that is about. Joe Sent from Mail for Windows From: Paul SmithSent: Monday, January 17, 2022 4:21 PMTo: bug-make@gnu.orgSubject: Re: Invalid use of const pointer? On Sun, 2022-01-09 at 20:02 -0500, Joe Filion wrote:> If interested

RE: Invalid use of const pointer?

2022-01-09 Thread Joe Filion
 Regarding: “This Thanks mostly goes to Joe Filion who initally noticed this.” Your welcome. If interested, I found another similar construct in another area of the code. Don’t worry, this appears to be the last one. On line 557 of implicit.c:   p = strchr (nptr, '%');

Invalid use of const pointer?

2022-01-07 Thread Joe Filion
Hello, While examining the source code for make, I see something suspicious with a const pointer.  Line 3094 of read.c is: char *userend = strchr (name + 1, '/'); The name parameter is a const pointer, so the overloaded version of strchr that takes a const pointer as the first parameter should also