Skip to content

squigglies on boost::promise  #775

@therealkenc

Description

@therealkenc

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 #includes. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions