Advertisement
pauldacheez

Apple's Clang 5.1 still has that bug...

Mar 24th, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. /Users/Paul/Desktop/assert-test.cpp:3:1: error: implicit instantiation of undefined template '__static_assert_test<false>'
  2. static_assert(std::is_trivially_copyable<volatile int>::value, "wtf");
  3. ^
  4. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__config:490:35: note: expanded from macro 'static_assert'
  5. typedef __static_assert_check<sizeof(__static_assert_test<(__b)>)> \
  6. ^
  7. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__config:486:24: note: template is declared here
  8. template <bool> struct __static_assert_test;
  9. ^
  10. 1 error generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement