Closed ryandesign closed 4 years ago
I hope I've fixed it at the last commit. Thank you for the report!
Thank you, 2a9be2d47bf402f4aa9370ca249cab094a472329 helped. I then ran into a similar error with document.cpp:
document.cpp:526:141: error: expected '('
CSyntaxHighlighter::CSyntaxHighlighter (QTextDocument *parent, CDocument *doc, const QString &fname): QSyntaxHighlighter (parent), document {doc}
^
Following your lead, making a similar change there allowed the build to succeed. I've submitted this in PR #36.
Got it, thanks! Fixed.
tea 50.0.4 doesn't build using Apple LLVM version 9.1.0 (clang-902.0.39.2), which is the version of clang included with Xcode 9.4.1 on macOS 10.13.6. Errors include:
It builds fine using open source clang 6 and later on the same system, but not with open source clang 5 or earlier.
tea 49.0.0 built fine using Xcode clang on this system. Have the compiler requirements of tea increased? Do you now require a newer C++ language standard than you did before? I see references to C++11 in meson.build (which I'm not using) and tea-qmake.pro, but the flag
-std=c++11
is not being given to the compiler. If I manually add-std=c++11
to CXXFLAGS then it builds fine with Xcode clang.