-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
squigglies on boost::promise #775
Comments
I deleted everything in |
Is your IntelliSenseEngine setting set to Default or "Tag Parser"? It needs to be "Default" to get squiggles to appear at all. |
Set as "Default". The problem was that I was getting squiggles on That was (and still is) the unexplained part. So maybe just stash in the back of your head in case someone else hits something like it. Reinstalling everything (which is cheap) fixed the problem, but I don't know why. Maybe it had to do with wiping out and rebuilding |
I tried out your sample code and BOOST_NO_EXCEPTIONS is getting defined somewhere, so all of future.hpp is in an inactive preprocessor block. I'm looking to see where it is getting defined. |
Adding "_CPPUNWIND=1" to the "defines" array in your c_cpp_properties.json fixes the issue on Win32. We can get this added to the default set of defines (e.g. msvc.64.intel.json) to make IntelliSense for Boost work better by default. I imagine most users are going to want exception support. |
Thank you. I have the following below in my
Thanks again for the follow-up even though I closed the issue. Appreciated. |
One more data point, which might help explain this, since you were kind enough to follow up. In my Visual Studio 2017 project, I am using the new "Folder" feature and |
Thanks. Sorry for the confusion. CMake support is on our backlog, but not implemented yet. |
Maybe it would make sense (and I hope I am not talking out of my butt here) to allow flags that would otherwise be defined in |
For the likes of me I can't get cpptools to recognize
boost::promise
. This is on Win32, 1.13-insider, cpptools 0.11.2.c_cpp_properties.json
seems to be okay. The boost header files are recognized -- there are no squigglies on the#include
s. Other boost stuff, sayboost::thread
is recognized. The exact same setup magically works fine in Visual Studio; heck I have them both up simultaneously on the same folder. So I am stumped on something that is probably going to be obvious.The text was updated successfully, but these errors were encountered: