GrapeTec / T-SPLINE

T-spline Library
GNU Lesser General Public License v3.0
130 stars 50 forks source link

Various minor fixes for an error and some warnings #19

Closed hyarion closed 3 years ago

hyarion commented 3 years ago

New compilers seem to have issues with some files.

The most important fix is: https://github.com/hyarion/T-SPLINE/commit/a737d1e64eaca55177135496e06994856ed88fe3 Without this fix it fails for me.

I've also included some fixes for various warnings, each warning is included in each commit message.

I've tried to make the changes as small as possible to solve the warnings but some functions could use some better error handling (see: https://github.com/hyarion/T-SPLINE/commit/58b730fd9df674ee8f268067a2e09e55cc722c14)

I'm compiling on a macos 10.14.6 machine: Apple clang version 11.0.0 (clang-1100.0.33.17) Target: x86_64-apple-darwin18.7.0