Cannot Install m2i (arch user)
I did everything correctly but it doesn't install.
Log:
/home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1966:1: error: template with C linkage 1966 | template <char TYPE_CODE, typename Char> \ | ^~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::LongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<long unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(long unsigned int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1990:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1990 | FMT_DEFINE_INT_FORMATTERS(unsigned long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::LongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(unsigned int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1989:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1989 | FMT_DEFINE_INT_FORMATTERS(unsigned) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::LongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<long int, fmt::AlignTypeSpec<'\000'> > fmt::pad(long int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1988:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1988 | FMT_DEFINE_INT_FORMATTERS(long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::LongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<int, fmt::AlignTypeSpec<'\000'> > fmt::pad(int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1987:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1987 | FMT_DEFINE_INT_FORMATTERS(int) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1980:1: error: template with C linkage 1980 | template <typename Char> \ | ^~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1939:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'b'> > fmt::bin(fmt::ULongLong)’ 1939 | inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1939:44: note: previous declaration ‘fmt::IntFormatSpec<long long int, fmt::TypeSpec<'b'> > fmt::bin(fmt::LongLong)’ 1939 | inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1939:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'b'> > fmt::bin(fmt::ULongLong)’ 1939 | inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1939:44: note: previous declaration ‘fmt::IntFormatSpec<long unsigned int, fmt::TypeSpec<'b'> > fmt::bin(long unsigned int)’ 1939 | inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1990:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1990 | FMT_DEFINE_INT_FORMATTERS(unsigned long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1939:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'b'> > fmt::bin(fmt::ULongLong)’ 1939 | inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1939:44: note: previous declaration ‘fmt::IntFormatSpec<unsigned int, fmt::TypeSpec<'b'> > fmt::bin(unsigned int)’ 1939 | inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1989:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1989 | FMT_DEFINE_INT_FORMATTERS(unsigned) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1939:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'b'> > fmt::bin(fmt::ULongLong)’ 1939 | inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1939:44: note: previous declaration ‘fmt::IntFormatSpec<long int, fmt::TypeSpec<'b'> > fmt::bin(long int)’ 1939 | inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1988:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1988 | FMT_DEFINE_INT_FORMATTERS(long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1939:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'b'> > fmt::bin(fmt::ULongLong)’ 1939 | inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1939:44: note: previous declaration ‘fmt::IntFormatSpec<int, fmt::TypeSpec<'b'> > fmt::bin(int)’ 1939 | inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1987:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1987 | FMT_DEFINE_INT_FORMATTERS(int) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1943:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'o'> > fmt::oct(fmt::ULongLong)’ 1943 | inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1943:44: note: previous declaration ‘fmt::IntFormatSpec<long long int, fmt::TypeSpec<'o'> > fmt::oct(fmt::LongLong)’ 1943 | inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1943:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'o'> > fmt::oct(fmt::ULongLong)’ 1943 | inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1943:44: note: previous declaration ‘fmt::IntFormatSpec<long unsigned int, fmt::TypeSpec<'o'> > fmt::oct(long unsigned int)’ 1943 | inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1990:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1990 | FMT_DEFINE_INT_FORMATTERS(unsigned long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1943:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'o'> > fmt::oct(fmt::ULongLong)’ 1943 | inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1943:44: note: previous declaration ‘fmt::IntFormatSpec<unsigned int, fmt::TypeSpec<'o'> > fmt::oct(unsigned int)’ 1943 | inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1989:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1989 | FMT_DEFINE_INT_FORMATTERS(unsigned) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1943:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'o'> > fmt::oct(fmt::ULongLong)’ 1943 | inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1943:44: note: previous declaration ‘fmt::IntFormatSpec<long int, fmt::TypeSpec<'o'> > fmt::oct(long int)’ 1943 | inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1988:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1988 | FMT_DEFINE_INT_FORMATTERS(long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1943:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'o'> > fmt::oct(fmt::ULongLong)’ 1943 | inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1943:44: note: previous declaration ‘fmt::IntFormatSpec<int, fmt::TypeSpec<'o'> > fmt::oct(int)’ 1943 | inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1987:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1987 | FMT_DEFINE_INT_FORMATTERS(int) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1947:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'x'> > fmt::hex(fmt::ULongLong)’ 1947 | inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1947:44: note: previous declaration ‘fmt::IntFormatSpec<long long int, fmt::TypeSpec<'x'> > fmt::hex(fmt::LongLong)’ 1947 | inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1947:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'x'> > fmt::hex(fmt::ULongLong)’ 1947 | inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1947:44: note: previous declaration ‘fmt::IntFormatSpec<long unsigned int, fmt::TypeSpec<'x'> > fmt::hex(long unsigned int)’ 1947 | inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1990:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1990 | FMT_DEFINE_INT_FORMATTERS(unsigned long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1947:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'x'> > fmt::hex(fmt::ULongLong)’ 1947 | inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1947:44: note: previous declaration ‘fmt::IntFormatSpec<unsigned int, fmt::TypeSpec<'x'> > fmt::hex(unsigned int)’ 1947 | inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1989:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1989 | FMT_DEFINE_INT_FORMATTERS(unsigned) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1947:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'x'> > fmt::hex(fmt::ULongLong)’ 1947 | inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1947:44: note: previous declaration ‘fmt::IntFormatSpec<long int, fmt::TypeSpec<'x'> > fmt::hex(long int)’ 1947 | inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1988:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1988 | FMT_DEFINE_INT_FORMATTERS(long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1947:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'x'> > fmt::hex(fmt::ULongLong)’ 1947 | inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1947:44: note: previous declaration ‘fmt::IntFormatSpec<int, fmt::TypeSpec<'x'> > fmt::hex(int)’ 1947 | inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1987:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1987 | FMT_DEFINE_INT_FORMATTERS(int) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1951:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'X'> > fmt::hexu(fmt::ULongLong)’ 1951 | inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ | ^~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1951:44: note: previous declaration ‘fmt::IntFormatSpec<long long int, fmt::TypeSpec<'X'> > fmt::hexu(fmt::LongLong)’ 1951 | inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ | ^~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1951:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'X'> > fmt::hexu(fmt::ULongLong)’ 1951 | inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ | ^~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1951:44: note: previous declaration ‘fmt::IntFormatSpec<long unsigned int, fmt::TypeSpec<'X'> > fmt::hexu(long unsigned int)’ 1951 | inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ | ^~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1990:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1990 | FMT_DEFINE_INT_FORMATTERS(unsigned long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1951:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'X'> > fmt::hexu(fmt::ULongLong)’ 1951 | inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ | ^~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1951:44: note: previous declaration ‘fmt::IntFormatSpec<unsigned int, fmt::TypeSpec<'X'> > fmt::hexu(unsigned int)’ 1951 | inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ | ^~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1989:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1989 | FMT_DEFINE_INT_FORMATTERS(unsigned) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1951:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'X'> > fmt::hexu(fmt::ULongLong)’ 1951 | inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ | ^~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1951:44: note: previous declaration ‘fmt::IntFormatSpec<long int, fmt::TypeSpec<'X'> > fmt::hexu(long int)’ 1951 | inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ | ^~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1988:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1988 | FMT_DEFINE_INT_FORMATTERS(long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1951:44: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::TypeSpec<'X'> > fmt::hexu(fmt::ULongLong)’ 1951 | inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ | ^~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1951:44: note: previous declaration ‘fmt::IntFormatSpec<int, fmt::TypeSpec<'X'> > fmt::hexu(int)’ 1951 | inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ | ^~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1987:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1987 | FMT_DEFINE_INT_FORMATTERS(int) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1955:1: error: template with C linkage 1955 | template <char TYPE_CODE> \ | ^~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1966:1: error: template with C linkage 1966 | template <char TYPE_CODE, typename Char> \ | ^~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::ULongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<long long int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::LongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::ULongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<long unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(long unsigned int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1990:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1990 | FMT_DEFINE_INT_FORMATTERS(unsigned long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::ULongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(unsigned int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1989:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1989 | FMT_DEFINE_INT_FORMATTERS(unsigned) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::ULongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<long int, fmt::AlignTypeSpec<'\000'> > fmt::pad(long int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1988:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1988 | FMT_DEFINE_INT_FORMATTERS(long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: error: conflicting declaration of C function ‘fmt::IntFormatSpec<long long unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::ULongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<int, fmt::AlignTypeSpec<'\000'> > fmt::pad(int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1987:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1987 | FMT_DEFINE_INT_FORMATTERS(int) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1980:1: error: template with C linkage 1980 | template <typename Char> \ | ^~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2006:1: error: template with C linkage 2006 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2012:31: error: conflicting declaration of C function ‘fmt::StrFormatSpec<wchar_t> fmt::pad(const wchar_t*, unsigned int, char)’ 2012 | inline StrFormatSpec<wchar_t> pad( | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<long long unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::ULongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1992:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1992 | FMT_DEFINE_INT_FORMATTERS(ULongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2012:31: error: conflicting declaration of C function ‘fmt::StrFormatSpec<wchar_t> fmt::pad(const wchar_t*, unsigned int, char)’ 2012 | inline StrFormatSpec<wchar_t> pad( | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<long long int, fmt::AlignTypeSpec<'\000'> > fmt::pad(fmt::LongLong, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1991:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1991 | FMT_DEFINE_INT_FORMATTERS(LongLong) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2012:31: error: conflicting declaration of C function ‘fmt::StrFormatSpec<wchar_t> fmt::pad(const wchar_t*, unsigned int, char)’ 2012 | inline StrFormatSpec<wchar_t> pad( | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<long unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(long unsigned int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1990:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1990 | FMT_DEFINE_INT_FORMATTERS(unsigned long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2012:31: error: conflicting declaration of C function ‘fmt::StrFormatSpec<wchar_t> fmt::pad(const wchar_t*, unsigned int, char)’ 2012 | inline StrFormatSpec<wchar_t> pad( | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<unsigned int, fmt::AlignTypeSpec<'\000'> > fmt::pad(unsigned int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1989:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1989 | FMT_DEFINE_INT_FORMATTERS(unsigned) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2012:31: error: conflicting declaration of C function ‘fmt::StrFormatSpec<wchar_t> fmt::pad(const wchar_t*, unsigned int, char)’ 2012 | inline StrFormatSpec<wchar_t> pad( | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<long int, fmt::AlignTypeSpec<'\000'> > fmt::pad(long int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1988:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1988 | FMT_DEFINE_INT_FORMATTERS(long) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2012:31: error: conflicting declaration of C function ‘fmt::StrFormatSpec<wchar_t> fmt::pad(const wchar_t*, unsigned int, char)’ 2012 | inline StrFormatSpec<wchar_t> pad( | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1974:47: note: previous declaration ‘fmt::IntFormatSpec<int, fmt::AlignTypeSpec<'\000'> > fmt::pad(int, unsigned int)’ 1974 | inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ | ^~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:1987:1: note: in expansion of macro ‘FMT_DEFINE_INT_FORMATTERS’ 1987 | FMT_DEFINE_INT_FORMATTERS(int) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2019:1: error: template with C linkage 2019 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2042:1: error: template with C linkage 2042 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2087:1: error: template with C linkage 2087 | template <typename Impl, typename Char, typename Spec = fmt::FormatSpec> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2232:3: error: template with C linkage 2232 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2257:1: error: template with C linkage 2257 | template <typename Impl, typename Char, typename Spec = fmt::FormatSpec> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2284:1: error: template with C linkage 2284 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2296:1: error: template with C linkage 2296 | template <typename CharType, typename ArgFormatter> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2363:1: error: template with C linkage 2363 | template <typename T> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2368:1: error: template with C linkage 2368 | template <std::size_t N, bool/*IsPacked*/= (N < ArgList::MAX_PACKED_ARGS)> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2371:1: error: template with C linkage 2371 | template <std::size_t N> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2390:1: error: template with C linkage 2390 | template <std::size_t N> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2399:1: error: template with C linkage 2399 | template <typename Arg, typename... Args> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2447:3: error: template with C linkage 2447 | template <typename... Args> \ | ^~~~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2562:3: note: in expansion of macro ‘FMT_VARIADIC_CTOR’ 2562 | FMT_VARIADIC_CTOR(SystemError, init, int, CStringRef) | ^~~~~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2606:1: error: template with C linkage 2606 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2880:1: error: template with C linkage 2880 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2903:1: error: template with C linkage 2903 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2924:1: error: template with C linkage 2924 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:2940:1: error: template with C linkage 2940 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3004:1: error: template with C linkage 3004 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3097:1: error: template with C linkage 3097 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3286:1: error: template with C linkage 3286 | template <typename Char, typename Allocator = std::allocator<Char> > | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3341:1: error: template with C linkage 3341 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3449:21: error: conflicting declaration of C function ‘std::wstring fmt::format(fmt::WCStringRef, fmt::ArgList)’ 3449 | inline std::wstring format(WCStringRef format_str, ArgList args) { | ^~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3443:20: note: previous declaration ‘std::string fmt::format(fmt::CStringRef, fmt::ArgList)’ 3443 | inline std::string format(CStringRef format_str, ArgList args) { | ^~~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3475:14: error: conflicting declaration of C function ‘void fmt::print(fmt::CStringRef, fmt::ArgList)’ 3475 | FMT_API void print(CStringRef format_str, ArgList args); | ^~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3464:14: note: previous declaration ‘void fmt::print(FILE*, fmt::CStringRef, fmt::ArgList)’ 3464 | FMT_API void print(std::FILE *f, CStringRef format_str, ArgList args); | ^~~~~ /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3559:1: error: template with C linkage 3559 | template <typename T> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3592:1: error: template with C linkage 3592 | template <typename T> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3597:1: error: template with C linkage 3597 | template <typename T> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3604:1: error: template with C linkage 3604 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3606:1: error: template with C linkage 3606 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3743:1: error: template with C linkage 3743 | FMT_VARIADIC(std::string, format, CStringRef) | ^~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3744:1: error: template with C linkage 3744 | FMT_VARIADIC_W(std::wstring, format, WCStringRef) | ^~~~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3745:1: error: template with C linkage 3745 | FMT_VARIADIC(void, print, CStringRef) | ^~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3746:1: error: template with C linkage 3746 | FMT_VARIADIC(void, print, std::FILE *, CStringRef) | ^~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3747:1: error: template with C linkage 3747 | FMT_VARIADIC(void, print_colored, Color, CStringRef) | ^~~~~~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3750:1: error: template with C linkage 3750 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3757:1: error: template with C linkage 3757 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3785:1: error: template with C linkage 3785 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3797:1: error: template with C linkage 3797 | template <typename Char, typename AF> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3810:1: error: template with C linkage 3810 | template <typename Char, typename AF> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3822:1: error: template with C linkage 3822 | template <typename Char, typename AF> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:3837:1: error: template with C linkage 3837 | template <typename Char, typename ArgFormatter> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4007:1: error: template with C linkage 4007 | template <typename Char, typename AF> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4029:1: error: template with C linkage 4029 | template <typename Char, typename It> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4041:1: error: template with C linkage 4041 | template <typename It> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4046:1: error: template with C linkage 4046 | template <typename It> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4052:1: error: template with C linkage 4052 | template <typename Range> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4058:1: error: template with C linkage 4058 | template <typename Range> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4065:1: error: template with C linkage 4065 | template <typename ArgFormatter, typename Char, typename It> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4094:1: error: template with C linkage 4094 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4105:1: error: template with C linkage 4105 | template <typename Char> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4130:1: error: literal operator with C linkage 4130 | operator"" _format(const char *s, std::size_t) { return {s}; } | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4132:1: error: literal operator with C linkage 4132 | operator"" _format(const wchar_t *s, std::size_t) { return {s}; } | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4145:1: error: literal operator with C linkage 4145 | operator"" _a(const char *s, std::size_t) { return {s}; } | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/util.h:10, from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/lib/fmt/fmt/format.h:4147:1: error: literal operator with C linkage 4147 | operator"" _a(const wchar_t *s, std::size_t) { return {s}; } | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/src/util.h:28:5: error: template with C linkage 28 | template< typename T> | ^~~~~~~~ /home/marco/m2i/src/midi2input/src/main.cpp:11:1: note: ‘extern "C"’ linkage started here 11 | extern "C" { | ^~~~~~~~~~ In file included from /home/marco/m2i/src/midi2input/src/lua.h:13, from /home/marco/m2i/src/midi2input/src/main.cpp:12: /home/marco/m2i/src/midi2input/src/util.h:39:8: error: conflicting declaration of C function ‘m2i::logger m2i::LOG(int)’ 39 | logger LOG( int ); | ^~~ /home/marco/m2i/src/midi2input/src/util.h:36:19: note: previous declaration ‘m2i::logger m2i::LOG(const string&)’ 36 | friend logger LOG( const std::string &input ); | ^~~ make[2]: *** [src/CMakeFiles/m2i.dir/build.make:96: src/CMakeFiles/m2i.dir/main.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:277: src/CMakeFiles/m2i.dir/all] Error 2 make: *** [Makefile:172: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...