Can't resolve type '__thread'

Hi, I'm pretty new to C++ and Clion, so I'm not entirely sure if that's a bug that I should report.

When trying to work with a certain project (on Ubuntu 14), I keep getting the error hightlight in a file where a variable with '__thread' qualifier is defined, as if the qualifier isn't recognized. From what I've learned, this is an earlier version of the 'thread_local' keyword that is only supported by gcc. When building the project, everything goes fine, but inside the IDE I keep getting errors that disrupt static analysis and show up as problems when they're actually not.

Is there a way to make Clion recognize the qualifier? Or should I file a bug report?

3 comments
Comment actions Permalink

Hi, Gleb,

Thanks for the report, I've submitted a bug according to it. Feel free to vote :)

0
Comment actions Permalink

Also having the same issue on CL-141.351-4 just added a vote to that CPP-1837 ticket

0

Please sign in to leave a comment.