Following code makes cppcheck (the current revision 703e0a01534b14e6d8ebbefe59ea6b9ad95f29e2 from the master branch) report an incorrect error. ``` template <typename T> using foo = enable_if_t<is_same<T, int>() && sizeof(int) == 4, int>;
template <typename T, typename U = foo<T>> struct bar {};
template <typename T> using baz = bar<T>; ```
That's the message I get: ``` $ cppcheck --language=c++ --std=c++14 testcase.h Checking testcase.h ... [testcase.h:8]: (error) Syntax Error: AST broken, binary operator '>' doesn't have two operands. ```
@proski why are you reporting that to Geany plugins?
Closed #834.
Sorry, I was on a wrong page apparently :(
github-comments@lists.geany.org