Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2011
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.00 KB | None | 0 0
  1. clang: warning: argument unused during compilation: '-shared'
  2. In file included from ./src/mongo.cpp:3:
  3. In file included from /usr/include/mongo/client/dbclient.h:20:
  4. In file included from /usr/include/mongo/client/../pch.h:54:
  5. In file included from /usr/include/c++/4.6.0/sstream:38:
  6. In file included from /usr/include/c++/4.6.0/istream:39:
  7. In file included from /usr/include/c++/4.6.0/ios:40:
  8. In file included from /usr/include/c++/4.6.0/bits/char_traits.h:40:
  9. /usr/include/c++/4.6.0/bits/stl_algobase.h:378:43: error: unexpected type name '_ValueTypeI': expected expression
  10. const bool __simple = (__is_trivial(_ValueTypeI)
  11. ^
  12. /usr/include/c++/4.6.0/bits/stl_algobase.h:383:40: error: non-type template argument of type 'bool const' is not an integral constant expression
  13. return std::__copy_move<_IsMove, __simple,
  14. ^~~~~~~~
  15. /usr/include/c++/4.6.0/bits/stl_algobase.h:573:43: error: unexpected type name '_ValueType1': expected expression
  16. const bool __simple = (__is_trivial(_ValueType1)
  17. ^
  18. /usr/include/c++/4.6.0/bits/stl_algobase.h:578:49: error: non-type template argument of type 'bool const' is not an integral constant expression
  19. return std::__copy_move_backward<_IsMove, __simple,
  20. ^~~~~~~~
  21. /usr/include/c++/4.6.0/bits/stl_algobase.h:731:32: error: expected ';' in 'for' statement specifier
  22. for (__decltype(__n + 0) __niter = __n;
  23. ^
  24. /usr/include/c++/4.6.0/bits/stl_algobase.h:732:5: error: use of undeclared identifier '__niter'
  25. __niter > 0; --__niter, ++__first)
  26. ^
  27. /usr/include/c++/4.6.0/bits/stl_algobase.h:732:20: error: use of undeclared identifier '__niter'
  28. __niter > 0; --__niter, ++__first)
  29. ^
  30. /usr/include/c++/4.6.0/bits/stl_algobase.h:732:27: error: expected ')'
  31. __niter > 0; --__niter, ++__first)
  32. ^
  33. /usr/include/c++/4.6.0/bits/stl_algobase.h:731:11: note: to match this '('
  34. for (__decltype(__n + 0) __niter = __n;
  35. ^
  36. /usr/include/c++/4.6.0/bits/stl_algobase.h:743:32: error: expected ';' in 'for' statement specifier
  37. for (__decltype(__n + 0) __niter = __n;
  38. ^
  39. /usr/include/c++/4.6.0/bits/stl_algobase.h:744:5: error: use of undeclared identifier '__niter'
  40. __niter > 0; --__niter, ++__first)
  41. ^
  42. /usr/include/c++/4.6.0/bits/stl_algobase.h:744:20: error: use of undeclared identifier '__niter'
  43. __niter > 0; --__niter, ++__first)
  44. ^
  45. /usr/include/c++/4.6.0/bits/stl_algobase.h:744:27: error: expected ')'
  46. __niter > 0; --__niter, ++__first)
  47. ^
  48. /usr/include/c++/4.6.0/bits/stl_algobase.h:743:11: note: to match this '('
  49. for (__decltype(__n + 0) __niter = __n;
  50. ^
  51. In file included from ./src/mongo.cpp:3:
  52. In file included from /usr/include/mongo/client/dbclient.h:20:
  53. In file included from /usr/include/mongo/client/../pch.h:56:
  54. In file included from /usr/include/c++/4.6.0/memory:66:
  55. /usr/include/c++/4.6.0/bits/stl_uninitialized.h:117:54: error: unexpected type name '_ValueType1': expected expression
  56. return std::__uninitialized_copy<(__is_trivial(_ValueType1)
  57. ^
  58. /usr/include/c++/4.6.0/bits/stl_uninitialized.h:172:46: error: unexpected type name '_ValueType': expected expression
  59. std::__uninitialized_fill<__is_trivial(_ValueType)>::
  60. ^
  61. /usr/include/c++/4.6.0/bits/stl_uninitialized.h:173:2: error: C++ requires a type specifier for all declarations
  62. __uninit_fill(__first, __last, __x);
  63. ^
  64. /usr/include/c++/4.6.0/bits/stl_uninitialized.h:225:48: error: unexpected type name '_ValueType': expected expression
  65. std::__uninitialized_fill_n<__is_trivial(_ValueType)>::
  66. ^
  67. /usr/include/c++/4.6.0/bits/stl_uninitialized.h:226:2: error: C++ requires a type specifier for all declarations
  68. __uninit_fill_n(__first, __n, __x);
  69. ^
  70. In file included from ./src/mongo.cpp:3:
  71. In file included from /usr/include/mongo/client/dbclient.h:20:
  72. In file included from /usr/include/mongo/client/../pch.h:72:
  73. In file included from /usr/include/boost/any.hpp:13:
  74. In file included from /usr/include/c++/4.6.0/algorithm:62:
  75. /usr/include/c++/4.6.0/bits/stl_algo.h:4964:32: error: expected ';' in 'for' statement specifier
  76. for (__decltype(__n + 0) __niter = __n;
  77. ^
  78. /usr/include/c++/4.6.0/bits/stl_algo.h:4965:5: error: use of undeclared identifier '__niter'
  79. __niter > 0; --__niter, ++__first)
  80. ^
  81. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  82. 20 errors generated.
  83. *** Command 21 failed with return value 1: clang++ -Wall -c ./src/mongo.cpp -I/usr/include/mongo -shared -fPIC -o mongo.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement