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

Fails to build with clang-5 #39

Open
yurivict opened this issue Apr 13, 2018 · 0 comments
Open

Fails to build with clang-5 #39

yurivict opened this issue Apr 13, 2018 · 0 comments

Comments

@yurivict
Copy link

CloudCompare/cork fails with errors like these:

In file included from src/cork.cpp:28:
In file included from src/mesh/mesh.h:48:
In file included from src/mesh/mesh.remesh.tpp:35:
src/mesh/mesh.topoCache.tpp:436:13: error: no matching conversion for functional-style cast from 'const char [14]' to 'std::exception'
            ENSURE(vaddr.count(v) > 0);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from src/cork.cpp:28:
In file included from src/mesh/mesh.h:48:
In file included from src/mesh/mesh.remesh.tpp:35:
src/mesh/mesh.topoCache.tpp:437:13: error: no matching conversion for functional-style cast from 'const char [14]' to 'std::exception'
            ENSURE(count(v->tris, t) == 1);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util/prelude.h:63:9: note: expanded from macro 'ENSURE'
                throw std::exception("ENSURE FAILED"); \
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

No branches or pull requests

1 participant