Hey Roland - friendly question:
I saw this error earlier today and threw in a temporary local fix where I
pushed the “const” qualifier deeper (into findcc.[ch]) rather than relax it
in mk dep.c. You choose the other route. Did you do that because you expect
to have that storage r/w, or something else, rather than enforcing a
restriction (that currently seems to hold) further into the code?

Signed Curious. 🙂





On Thu, Aug 19, 2021 at 21:24 Roland Illig <ril...@netbsd.org> wrote:

> Module Name:    src
> Committed By:   rillig
> Date:           Fri Aug 20 04:23:56 UTC 2021
>
> Modified Files:
>         src/usr.bin/mkdep: mkdep.c
>
> Log Message:
> mkdep: fix string constness in call to findcc
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.45 -r1.46 src/usr.bin/mkdep/mkdep.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>
>

Reply via email to