Editor won't load headers correctly

Answered

I am using CLion under Windows and I've installed Boost some time ago. I added it to my CMake file:

if (WIN32)
set(BOOST_ROOT "D:/boost_1_64_0")
include_directories(${Boost_INCLUDE_DIR})
endif()

Now, I am trying to compile some code that uses Boost library, but in the editor it shows me errors like "Too few arguments to template" or "Class doesn't contain function":

Even if the editor shows those errors, I can compile the code and run it as you can see and that's strange. How I could fix this? Because is very annoying to see errors in the code that works.

0
1 comment

Hello!

Sorry for the inconvenience, please follow or upvote the corresponding ticket in our tracker.

0

Please sign in to leave a comment.