Re: New release of Courier packages
Christian Ebert <[email protected]> Sat, 20 Mar 2021 16:05:58 +0000
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Organization | Phloxic Productions https://phloxic.productions |
| Message-ID | <[email protected]> |
Hi Sam, * Sam Varshavchik on Saturday, March 20, 2021 at 11:17:18 -0400: > Sam Varshavchik writes: >> Christian Ebert writes: >> >>> ./courier-unicode.h:2324:6: error: no template named 'tuple' in >>> namespace 'std' >>> std::tuple<std::vector<unicode_bidi_level_t>, >>> ~~~~~^ >>> ./courier-unicode.h:2335:6: error: no template named 'tuple' in >>> namespace 'std' >> >> There's definitely a "#include <tuple>" at the beginning of courier- >> unicode.h. Your compiler isn't complaining about it. So, you have a >> <tuple> that doesn't define std::tuple? Looks like a compiler >> installation issue to me. >> >>> ./courier-unicode.h:2490:1: error: unknown type name 'constexpr' >>> constexpr int decompose_flag_qc=UNICODE_DECOMPOSE_FLAG_QC; >> >> This looks like the compiler does not have full C++11 support, what >> version of gcc is this? Apple clang version 11.0.0 (clang-1100.0.33.17) Target: x86_64-apple-darwin18.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin It's this clang thing. > I remembered that very old gccs have C++11 support, but they default > to C98. Try: > > ./configure 'CXXFLAGS=-std=c++11' That seems to work. Great! FYI, this works as well. I'm gonna try out the first variant though. Thank you. -- ._ __ | |__ | | _____ _(_) ___ | '_ \| '_ \| |/ _ \ \/ / |/ __| | |_) | | | | | (_) > <| | (__ _ | .__/|_| |_|_|\___/_/\_\_|\___(_) |_| https://phloxic.productions