Skip to content

Instantly share code, notes, and snippets.

@lumie1337
Last active May 18, 2020 12:57
Show Gist options
  • Save lumie1337/5d226425329a82c3755cf3393faff784 to your computer and use it in GitHub Desktop.
Save lumie1337/5d226425329a82c3755cf3393faff784 to your computer and use it in GitHub Desktop.
/Users/lumie/tmp/contour/3rdparty/libunicode/src/unicode/ucd.cpp:23766:43: error: wrong number of template arguments (1, should be 2)
23766 | auto constexpr Emoji = std::array<Interval>{ // {{{
| ^
In file included from /Users/lumie/tmp/contour/3rdparty/libunicode/src/unicode/ucd.h:16,
from /Users/lumie/tmp/contour/3rdparty/libunicode/src/unicode/ucd.cpp:15:
/usr/local/Cellar/gcc/9.3.0_1/include/c++/9.3.0/array:94:12: note: provided for 'template<class _Tp, long unsigned int _Nm> struct std::array'
94 | struct array
| ^~~~~
make[2]: *** [3rdparty/libunicode/src/unicode/CMakeFiles/unicode.dir/ucd.cpp.o] Error 1
make[1]: *** [3rdparty/libunicode/src/unicode/CMakeFiles/unicode.dir/all] Error 2
make: *** [all] Error 2
[ 40%] Building CXX object 3rdparty/libunicode/src/unicode/CMakeFiles/unicode.dir/emoji_segmenter.cpp.o
[ 41%] Building CXX object 3rdparty/libunicode/src/unicode/CMakeFiles/unicode.dir/ucd.cpp.o
/Users/lumie/tmp/contour/3rdparty/libunicode/src/unicode/ucd.cpp:23766:43: error: wrong number of template arguments (1, should be 2)
23766 | auto constexpr Emoji = std::array<Interval>{ // {{{
| ^
In file included from /Users/lumie/tmp/contour/3rdparty/libunicode/src/unicode/ucd.h:16,
from /Users/lumie/tmp/contour/3rdparty/libunicode/src/unicode/ucd.cpp:15:
/usr/local/Cellar/gcc/9.3.0_1/include/c++/9.3.0/array:94:12: note: provided for 'template<class _Tp, long unsigned int _Nm> struct std::array'
94 | struct array
| ^~~~~
make[2]: *** [3rdparty/libunicode/src/unicode/CMakeFiles/unicode.dir/ucd.cpp.o] Error 1
make[1]: *** [3rdparty/libunicode/src/unicode/CMakeFiles/unicode.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment