CLion syntax error issues with opencv/armadillo
I am using CLion to do C++ development on Mac OS. It's a great IDE with many cool features, but I find the syntax error highlighting feature doesn't work well with matrix libraries like armadillo/opencv. I installed the libraries via brew, and I am using Apple clang toolchain. However, CLion is showing too many distracting syntax errors incorrectly, even though the program compiles perfectly fine with cmake. Is there a way to solve this issue? Below is a screenshot of the one of the "errors": It's a perfectly ok opencv mat constructor with MatExpr, but somehow CLion doesn't find the right function defintion. I can provide more details if needed. If nothing else works, I think a way to quickly toggle showing/hiding the errors would work for me as well, but I haven't figured that out yet either. Thanks in advance!
PHP Storm 7 (Darcula) Highligts quotes in SQL query
Customising the syntax colour in Sublime Text 3
Use one language definition inside another?
SublimeText3 - Keeps switching back to default color scheme
How to write a custom syntax mode in Coda 2 for Qooxdoo
Sublime Text 3 Change Syntax Coloring?
How to disable code highlighting for google code prettify?
TFS2013 web access syntax highlighting
jinja2 syntax highlighting definitions for Panic's Coda 2?
How do I stop my own highlighting while inside another highlighting group?
Vim: Syntax Highlighting Doesn't Work with Recursive `nextgroup` Across Newlines When Contained
can't override syntax highlighting in sublime text 3
textpad syntax highlighting confused by apostrophe
Vim: Looking for Help to Create Custom Syntax Highlighting
How to specify syntax highlighting in VI editor
Vim: how to automatically highlight each line containing a keyword?