Closed zeroschism closed 9 years ago
fixed by pull #45
IMHO, this fix is not the right approach. These are C files, so the cast is not needed per se. But they are included by .cpp files (either directly or via headers) and therefore end up in a C++ translation unit, so even the c-style cast is discouraged. Well, malloc and free are discouraged in C++ anyway.
Why not take this opportunity to finally make these files first class C++ citizens by converting the remaining C-isms?
when trying to build a ctable on freebsd 10.1-RELEASE with the latest tcl8.6.3, I get make errors related to conversion from void* to char* when using ckalloc. My guess is that a number of things changed in 8.6 that will need to be accounted for.
From a similar bug in VTK (http://www.paraview.org/Bug/view.php?id=13449):
In tcl8.6:
while tcl8.5 had
Example error output: