May 18, 2008 9:27 pm
Last edited May 18, 2008 9:28 pm by David Haley
JoinedJan 29, 2007
I voted to fix the constness, not because I think it's a better solution in the absolute but because I think it can be completed more quickly. IMO it is the better short-term solution. Modernizing will require planning and thought, which means it could be months before such an undertaking even moves to the code phase.
In the meantime, the code simply does not compile for some people and that really isn't acceptable for anybody, not the least of which is the project that looks bad by shipping apparently broken code. That means either removing the -Werror flag or fixing the constness. Since the first has been ruled out as an option, that pretty much only leaves the second for the short term.
Another short-term option could be to make it more obvious that if people are getting such warnings, they can just remove -Werror from the makefile. That said, the const problems really are problems
in the end of the day (bug-prone as we have seen) and should be fixed one way or the other.