Skip to content

Instantly share code, notes, and snippets.

@maz
Created December 31, 2010 01:44
Show Gist options
  • Save maz/760608 to your computer and use it in GitHub Desktop.
Save maz/760608 to your computer and use it in GitHub Desktop.
In file included from ../src/algorithm.cpp:10:
In file included from ../include/algorithm:589:
../include/__config:95:9: error: unknown type name '__char16_t'
typedef __char16_t char16_t;
^
../include/__config:96:9: error: unknown type name '__char32_t'
typedef __char32_t char32_t;
^
In file included from ../src/algorithm.cpp:10:
In file included from ../include/algorithm:591:
../include/type_traits:222:29: error: redefinition of 'std::__1::__is_integral<char16_t>'
template <> struct __is_integral<char32_t> : public true_type {};
^~~~~~~~~~~~~~~~~~~~~~~
../include/type_traits:221:29: note: previous definition is here
template <> struct __is_integral<char16_t> : public true_type {};
^
../include/type_traits:226:29: error: redefinition of 'std::__1::__is_integral<char16_t>'
template <> struct __is_integral<int> : public true_type {};
^~~~~~~~~~~~~~~~~~
../include/type_traits:221:29: note: previous definition is here
template <> struct __is_integral<char16_t> : public true_type {};
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1644:
../include/string:773:24: error: redefinition of 'std::__1::char_traits<char16_t>'
struct _LIBCPP_VISIBLE char_traits<char32_t>
^~~~~~~~~~~~~~~~~~~~~
../include/string:667:24: note: previous definition is here
struct _LIBCPP_VISIBLE char_traits<char16_t>
^
../include/string:803:24: error: redefinition of 'compare'
char_traits<char32_t>::compare(const char_type* __s1, const char_type* __s2, size_t __n)
^
../include/string:697:24: note: previous definition is here
char_traits<char16_t>::compare(const char_type* __s1, const char_type* __s2, size_t __n)
^
../include/string:817:24: error: redefinition of 'length'
char_traits<char32_t>::length(const char_type* __s)
^
../include/string:711:24: note: previous definition is here
char_traits<char16_t>::length(const char_type* __s)
^
../include/string:827:24: error: redefinition of 'find'
char_traits<char32_t>::find(const char_type* __s, size_t __n, const char_type& __a)
^
../include/string:721:24: note: previous definition is here
char_traits<char16_t>::find(const char_type* __s, size_t __n, const char_type& __a)
^
../include/string:840:24: error: redefinition of 'move'
char_traits<char32_t>::move(char_type* __s1, const char_type* __s2, size_t __n)
^
../include/string:734:24: note: previous definition is here
char_traits<char16_t>::move(char_type* __s1, const char_type* __s2, size_t __n)
^
../include/string:860:24: error: redefinition of 'copy'
char_traits<char32_t>::copy(char_type* __s1, const char_type* __s2, size_t __n)
^
../include/string:754:24: note: previous definition is here
char_traits<char16_t>::copy(char_type* __s1, const char_type* __s2, size_t __n)
^
../include/string:870:24: error: redefinition of 'assign'
char_traits<char32_t>::assign(char_type* __s, size_t __n, char_type __a)
^
../include/string:764:24: note: previous definition is here
char_traits<char16_t>::assign(char_type* __s, size_t __n, char_type __a)
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:130:
In file included from ../include/ios:216:
In file included from ../include/__locale:18:
In file included from ../include/mutex:177:
../include/functional:1798:24: error: redefinition of 'std::__1::hash<char16_t>'
struct _LIBCPP_VISIBLE hash<char32_t>
^~~~~~~~~~~~~~
../include/functional:1790:24: note: previous definition is here
struct _LIBCPP_VISIBLE hash<char16_t>
^
../include/functional:1832:24: error: redefinition of 'std::__1::hash<char16_t>'
struct _LIBCPP_VISIBLE hash<int>
^~~~~~~~~
../include/functional:1790:24: note: previous definition is here
struct _LIBCPP_VISIBLE hash<char16_t>
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:130:
In file included from ../include/ios:216:
../include/__locale:975:23: error: redefinition of 'std::__1::codecvt<char16_t, char, mbstate_t>'
class _LIBCPP_VISIBLE codecvt<char32_t, char, mbstate_t>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/__locale:889:23: note: previous definition is here
class _LIBCPP_VISIBLE codecvt<char16_t, char, mbstate_t>
^
14 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment