SHARE
TWEET

errors from clang

a guest Feb 17th, 2020 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. clang -I /usr/local/Cellar/libtommath/1.2.0/include -I /Users/shadow/git/cppcoro/include -I /Library/Developer/CommandLineTools/usr/include/c++/v1 pi.c
  2.  
  3. In file included from pi.c:1:
  4. In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/array:108:
  5. In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__tuple:15:
  6. In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cstddef:45:
  7. /Library/Developer/CommandLineTools/usr/include/c++/v1/__nullptr:55:1: error: unknown type name 'namespace'
  8. namespace std
  9. ^
  10. /Library/Developer/CommandLineTools/usr/include/c++/v1/__nullptr:55:14: error: expected ';' after top level declarator
  11. namespace std
  12.              ^
  13. In file included from pi.c:1:
  14. In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/array:108:
  15. In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__tuple:15:
  16. /Library/Developer/CommandLineTools/usr/include/c++/v1/cstddef:50:7: error: expected ';' after top level declarator
  17. using ::size_t;
  18.       ^
  19. /Library/Developer/CommandLineTools/usr/include/c++/v1/cstddef:50:8: error: expected identifier or '('
  20. using ::size_t;
  21.        ^
  22. /Library/Developer/CommandLineTools/usr/include/c++/v1/cstddef:55:7: error: expected ';' after top level declarator
  23. using ::max_align_t;
  24.       ^
  25. /Library/Developer/CommandLineTools/usr/include/c++/v1/cstddef:55:8: error: expected identifier or '('
  26. using ::max_align_t;
  27.        ^
  28. /Library/Developer/CommandLineTools/usr/include/c++/v1/cstddef:60:1: error: unknown type name '_LIBCPP_END_NAMESPACE_STD'
  29. _LIBCPP_END_NAMESPACE_STD
  30. ^
  31. In file included from pi.c:1:
  32. In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/array:108:
  33. In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__tuple:16:
  34. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:408:28: error: expected ';' after top level declarator
  35. _LIBCPP_BEGIN_NAMESPACE_STD
  36.                            ^
  37. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:411:1: error: unknown type name 'template'
  38. template <class _Tp> class _LIBCPP_TEMPLATE_VIS reference_wrapper;
  39. ^
  40. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:411:10: error: expected identifier or '('
  41. template <class _Tp> class _LIBCPP_TEMPLATE_VIS reference_wrapper;
  42.          ^
  43. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:412:1: error: unknown type name 'template'
  44. template <class _Tp> struct _LIBCPP_TEMPLATE_VIS hash;
  45. ^
  46. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:412:10: error: expected identifier or '('
  47. template <class _Tp> struct _LIBCPP_TEMPLATE_VIS hash;
  48.          ^
  49. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:414:1: error: unknown type name 'template'
  50. template <class>
  51. ^
  52. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:414:10: error: expected identifier or '('
  53. template <class>
  54.          ^
  55. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:417:1: error: unknown type name 'template'
  56. template <class _Tp>
  57. ^
  58. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:417:10: error: expected identifier or '('
  59. template <class _Tp>
  60.          ^
  61. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:420:1: error: unknown type name 'template'
  62. template <class _Tp, bool>
  63. ^
  64. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:420:10: error: expected identifier or '('
  65. template <class _Tp, bool>
  66.          ^
  67. /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:423:1: error: unknown type name 'template'
  68. template <bool _Bp, class _If, class _Then>
  69. ^
  70. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  71. 20 errors generated.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top