Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fix of the KTools::inverseOf() return type #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

victorpopkov
Copy link

Should fix the #12 as I've faced that one as well (Debian 8.3.0-6, gcc 8.3.0):

Scanning dependencies of target ktool_common
[  3%] Building CXX object CMakeFiles/ktool_common.dir/src/common/ktools_common.cpp.o
[  6%] Building CXX object CMakeFiles/ktool_common.dir/src/common/file_abstraction.cpp.o
[ 10%] Building CXX object CMakeFiles/ktool_common.dir/src/common/ktex/ktex.cpp.o
[ 13%] Building CXX object CMakeFiles/ktool_common.dir/src/common/ktex/specs.cpp.o
[ 16%] Building CXX object CMakeFiles/ktool_common.dir/src/common/atlas.cpp.o
In file included from /tmp/ktools-4.4.0/src/common/atlas.hpp:24,
                 from /tmp/ktools-4.4.0/src/common/atlas.cpp:18:
/tmp/ktools-4.4.0/src/common/algebra.hpp: In function 'void KTools::inverseOf(const KTools::ProjectiveMatrix<2, T>&)':
/tmp/ktools-4.4.0/src/common/algebra.hpp:405:10: error: return-statement with a value, in function returning 'void' [-fpermissive]
   return N;
          ^
make[2]: *** [CMakeFiles/ktool_common.dir/build.make:115: CMakeFiles/ktool_common.dir/src/common/atlas.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:183: CMakeFiles/ktool_common.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants