Advertisement
Guest User

gmp ptrdiff errors

a guest
Oct 7th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.63 KB | None | 0 0
  1. In file included from t-cast.cc:20:
  2. In file included from ../../gmp.h:51:
  3. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cstddef:51:9: error: no member named 'ptrdiff_t' in the global namespace
  4. using ::ptrdiff_t;
  5. ~~^
  6. In file included from t-cast.cc:21:
  7. In file included from ../../gmpxx.h:29:
  8. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594:
  9. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:596:
  10. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iterator:386:13: error: unknown type name 'ptrdiff_t'
  11. typedef ptrdiff_t difference_type;
  12. ^
  13. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iterator:413:56: error: unknown type name 'ptrdiff_t'
  14. template<class _Category, class _Tp, class _Distance = ptrdiff_t,
  15. ^
  16. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iterator:720:66: error: unknown type name 'ptrdiff_t'
  17. class _Traits = char_traits<_CharT>, class _Distance = ptrdiff_t>
  18. ^
  19. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iterator:720:54: error: template parameter missing a default argument
  20. class _Traits = char_traits<_CharT>, class _Distance = ptrdiff_t>
  21. ^
  22. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iterator:720:27: note: previous default template argument defined here
  23. class _Traits = char_traits<_CharT>, class _Distance = ptrdiff_t>
  24. ^
  25. In file included from t-cast.cc:21:
  26. In file included from ../../gmpxx.h:29:
  27. In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594:
  28. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:794:13: error: unknown type name 'ptrdiff_t'
  29. typedef ptrdiff_t type;
  30. ^
  31. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:942:13: error: unknown type name 'ptrdiff_t'
  32. typedef ptrdiff_t difference_type;
  33. ^
  34. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1561:13: error: unknown type name 'ptrdiff_t'
  35. ptrdiff_t _Np = __end1 - __begin1;
  36. ^
  37. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1591:13: error: unknown type name 'ptrdiff_t'
  38. ptrdiff_t _Np = __end1 - __begin1;
  39. ^
  40. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1655:13: error: unknown type name 'ptrdiff_t'
  41. typedef ptrdiff_t difference_type;
  42. ^
  43. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1747:13: error: unknown type name 'ptrdiff_t'
  44. typedef ptrdiff_t difference_type;
  45. ^
  46. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1844:23: error: use of undeclared identifier 'ptrdiff_t'
  47. ptrdiff_t, // purposefully not C++03
  48. ^
  49. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1846:65: error: expected class name
  50. raw_storage_iterator<_OutputIterator, _Tp>&> // purposefully not C++03
  51. ^
  52. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1861:12: error: use of undeclared identifier 'ptrdiff_t'
  53. pair<_Tp*, ptrdiff_t>
  54. ^
  55. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1862:22: error: unknown type name 'ptrdiff_t'
  56. get_temporary_buffer(ptrdiff_t __n) _NOEXCEPT
  57. ^
  58. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1864:16: error: use of undeclared identifier 'ptrdiff_t'
  59. pair<_Tp*, ptrdiff_t> __r(0, 0);
  60. ^
  61. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1865:11: error: unknown type name 'ptrdiff_t'
  62. const ptrdiff_t __m = (~ptrdiff_t(0) ^
  63. ^
  64. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1865:29: error: use of undeclared identifier 'ptrdiff_t'
  65. const ptrdiff_t __m = (~ptrdiff_t(0) ^
  66. ^
  67. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1866:38: error: use of undeclared identifier 'ptrdiff_t'
  68. ptrdiff_t(ptrdiff_t(1) << (sizeof(ptrdiff_t) * __CHAR_BIT__ - 1)))
  69. ^
  70. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  71. 20 errors generated.
  72. make[4]: *** [t-cast.o] Error 1
  73. make[3]: *** [check-am] Error 2
  74. make[2]: *** [check-recursive] Error 1
  75. make[1]: *** [check-recursive] Error 1
  76. make: *** [check] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement