https://llvm.org/bugs/show_bug.cgi?id=28972
Bug ID: 28972 Summary: error: definition of '_Bind_simple<type-parameter-0-0 (type-parameter-0-1...)>' must be imported from module 'LLVM_Utils.ADT.SmallVector' before it is required Product: clang Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: Modules Assignee: unassignedclangb...@nondot.org Reporter: vvasi...@cern.ch CC: dgre...@apple.com, llvm-bugs@lists.llvm.org Classification: Unclassified modules-selfhost$ cd /home/vvassilev/workspace/llvm-git/modules-selfhost/lib/Support && /home/vvassilev/workspace/llvm-git/inst/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/vvassilev/workspace/llvm-git/modules-selfhost/lib/Support -I/home/vvassilev/workspace/llvm-git/src/lib/Support -I/home/vvassilev/workspace/llvm-git/modules-selfhost/include -I/home/vvassilev/workspace/llvm-git/src/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=date-time -std=c++11 -fmodules -fmodules-cache-path=module.cache -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -fno-rtti -o CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o -c /home/vvassilev/workspace/llvm-git/src/lib/Support/ManagedStatic.cpp In module 'LLVM_Utils' imported from /home/vvassilev/workspace/llvm-git/src/lib/Support/ManagedStatic.cpp:14: /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/mutex:734:12: error: definition of '_Bind_simple<type-parameter-0-0 (type-parameter-0-1...)>' must be imported from module 'LLVM_Utils.ADT.SmallVector' before it is required auto __bound_functor = std::__bind_simple(std::forward<_Callable>(__f), ^ /home/vvassilev/workspace/llvm-git/src/include/llvm/Support/Threading.h:93:10: note: in instantiation of function template specialization 'std::call_once<void (&)()>' requested here std::call_once(flag, std::forward<Function>(F), ^ /home/vvassilev/workspace/llvm-git/src/lib/Support/ManagedStatic.cpp:35:9: note: in instantiation of function template specialization 'llvm::call_once<void (&)()>' requested here llvm::call_once(mutex_init_flag, initializeMutex); ^ /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/functional:1663:12: note: previous definition is here struct _Bind_simple<_Callable(_Args...)> ^ 1 error generated. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs