gltfpp icon indicating copy to clipboard operation
gltfpp copied to clipboard

Investigate Clang Bugs

Open mmha opened this issue 8 years ago • 0 comments

When using modules in clang 5.0 svn, Hana iterates over wrong structs. For example, the test Buffer_WithData fails, because parse(Buffer) iterates over Accessor instead.

Also, calling clang-tidy with modules enabled causes a segmentation fault:

$ CC=clang CXX=clang++ cmake .. -DGLTFPP_BUILD_TESTS=1 -DGLTFPP_ENABLE_MODULES=1
$ clang-tidy -p=. ../test/glTF.cpp
[1]    32459 segmentation fault (core dumped)  clang-tidy -p=. ../test/glTF.cpp

mmha avatar Jun 02 '17 17:06 mmha