Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clang: warning: argument unused during compilation: '-shared'
- In file included from ./src/mongo.cpp:3:
- In file included from /usr/include/mongo/client/dbclient.h:20:
- In file included from /usr/include/mongo/client/../pch.h:54:
- In file included from /usr/include/c++/4.6.0/sstream:38:
- In file included from /usr/include/c++/4.6.0/istream:39:
- In file included from /usr/include/c++/4.6.0/ios:40:
- In file included from /usr/include/c++/4.6.0/bits/char_traits.h:40:
- /usr/include/c++/4.6.0/bits/stl_algobase.h:378:43: error: unexpected type name '_ValueTypeI': expected expression
- const bool __simple = (__is_trivial(_ValueTypeI)
- ^
- /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
- return std::__copy_move<_IsMove, __simple,
- ^~~~~~~~
- /usr/include/c++/4.6.0/bits/stl_algobase.h:573:43: error: unexpected type name '_ValueType1': expected expression
- const bool __simple = (__is_trivial(_ValueType1)
- ^
- /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
- return std::__copy_move_backward<_IsMove, __simple,
- ^~~~~~~~
- /usr/include/c++/4.6.0/bits/stl_algobase.h:731:32: error: expected ';' in 'for' statement specifier
- for (__decltype(__n + 0) __niter = __n;
- ^
- /usr/include/c++/4.6.0/bits/stl_algobase.h:732:5: error: use of undeclared identifier '__niter'
- __niter > 0; --__niter, ++__first)
- ^
- /usr/include/c++/4.6.0/bits/stl_algobase.h:732:20: error: use of undeclared identifier '__niter'
- __niter > 0; --__niter, ++__first)
- ^
- /usr/include/c++/4.6.0/bits/stl_algobase.h:732:27: error: expected ')'
- __niter > 0; --__niter, ++__first)
- ^
- /usr/include/c++/4.6.0/bits/stl_algobase.h:731:11: note: to match this '('
- for (__decltype(__n + 0) __niter = __n;
- ^
- /usr/include/c++/4.6.0/bits/stl_algobase.h:743:32: error: expected ';' in 'for' statement specifier
- for (__decltype(__n + 0) __niter = __n;
- ^
- /usr/include/c++/4.6.0/bits/stl_algobase.h:744:5: error: use of undeclared identifier '__niter'
- __niter > 0; --__niter, ++__first)
- ^
- /usr/include/c++/4.6.0/bits/stl_algobase.h:744:20: error: use of undeclared identifier '__niter'
- __niter > 0; --__niter, ++__first)
- ^
- /usr/include/c++/4.6.0/bits/stl_algobase.h:744:27: error: expected ')'
- __niter > 0; --__niter, ++__first)
- ^
- /usr/include/c++/4.6.0/bits/stl_algobase.h:743:11: note: to match this '('
- for (__decltype(__n + 0) __niter = __n;
- ^
- In file included from ./src/mongo.cpp:3:
- In file included from /usr/include/mongo/client/dbclient.h:20:
- In file included from /usr/include/mongo/client/../pch.h:56:
- In file included from /usr/include/c++/4.6.0/memory:66:
- /usr/include/c++/4.6.0/bits/stl_uninitialized.h:117:54: error: unexpected type name '_ValueType1': expected expression
- return std::__uninitialized_copy<(__is_trivial(_ValueType1)
- ^
- /usr/include/c++/4.6.0/bits/stl_uninitialized.h:172:46: error: unexpected type name '_ValueType': expected expression
- std::__uninitialized_fill<__is_trivial(_ValueType)>::
- ^
- /usr/include/c++/4.6.0/bits/stl_uninitialized.h:173:2: error: C++ requires a type specifier for all declarations
- __uninit_fill(__first, __last, __x);
- ^
- /usr/include/c++/4.6.0/bits/stl_uninitialized.h:225:48: error: unexpected type name '_ValueType': expected expression
- std::__uninitialized_fill_n<__is_trivial(_ValueType)>::
- ^
- /usr/include/c++/4.6.0/bits/stl_uninitialized.h:226:2: error: C++ requires a type specifier for all declarations
- __uninit_fill_n(__first, __n, __x);
- ^
- In file included from ./src/mongo.cpp:3:
- In file included from /usr/include/mongo/client/dbclient.h:20:
- In file included from /usr/include/mongo/client/../pch.h:72:
- In file included from /usr/include/boost/any.hpp:13:
- In file included from /usr/include/c++/4.6.0/algorithm:62:
- /usr/include/c++/4.6.0/bits/stl_algo.h:4964:32: error: expected ';' in 'for' statement specifier
- for (__decltype(__n + 0) __niter = __n;
- ^
- /usr/include/c++/4.6.0/bits/stl_algo.h:4965:5: error: use of undeclared identifier '__niter'
- __niter > 0; --__niter, ++__first)
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
- *** 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