Fix Compiler Errors with Clang and GCC 9+ #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes some issues I encountered when compiling it with newer compiler versions.
this->
in front ofoperator()
. Apparently this is no longer supported in newer GCC versions#include <string.h>
. Apparently this is no longer transitively included somewhereIn addition to these changes, on my computer the following changes were also necessary:
IVW_USE_SIGAR
,IVW_MODULE_FONTRENDERING
,IVW_TEST_UNIT_TESTS
,IVW_TEST_INTEGRATION_TESTS
andIVW_TEST_UNIT_TESTS_RUN_ON_BUILD
inviwo-output/lib/freetype.so.6
and replace it with the one installed on your system, e.g.ln -s /usr/lib64/freetype.so.6 inviwo-output/lib/freetype.so.6
. Usefd freetype.so.6 /
to find the lib (or usefind
, don't know the syntax there).Resubmit because I can't change the branch of an already existing PR.