Closed mattiarmston closed 4 months ago
However it introduces many strncpy and strncat warnings
I guess that's from the removal of the flags, not from the new consts? We had a lot of string warnings before too, so don't worry if so.
I think this fix makes sense - maybe we'll end up removing all the consts later, since clearly they are more complicated than i thought with double pointers.. Thanks for the PR!
I have replaced every
creature **hitList
withconst creature **hitList
. This removes the incompatible const pointer errors with GCC 14 and allows for compilation without the-Wno-error=incompatible-pointer-types
flag. However it introduces many strncpy and strncat warnings so I am not sure if this is an appropriate solution.Refs #696
Any advice would be appreciated.