- Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
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, say boost::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.
#define BOOST_THREAD_PROVIDES_FUTURE #define BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION #include <boost/thread.hpp> #include <boost/thread/future.hpp> int main(int argc, char * argv[]) { boost::thread t; // <-- okay boost::promise<int> p; // <--- squiggles: identifier "promise" is undefined return 0; }
Metadata
Metadata
Assignees
Labels
No labels