Fix compiler warnings
On clang 15, openCARP now builds without warnings using the default CMake build workflow
Most changes:
-
sprintf()
->snprintf()
- add parentheses for assignment conditions (
while (a=b)
->while((a=b))
) - add
default
statements for non-covered switch cases
Closes #174 (closed)