shared_ptrs and std::strings intellisense red lines?

Sysprogs forums Forums VisualGDB shared_ptrs and std::strings intellisense red lines?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #754
    gmoney
    Participant

    I have included APP_STL := gnustl_static and APP_CPPFLAGS := -std=c++11 in the Application.mk. std::shared_ptr<> and std::string compile, but they have red lines under them indicating an error. This wouldn’t be a big problem, but as I add new classes that rely on these, the new classes come up as errors. Its really starting to look messy 🙁

    Is there anything I can do to clean the view up to recognize the new classes/types and remove the red lines? Also, are these the correct flags for these types?

    #2993
    ket
    Participant

    Hi,

    Likely IntelliSense does not recognize the types as the relevant header directories have not been specified. Please try adding the gnustl header directory to IntelliSense directories in VisualGDB Project Properties. The directory you need to add should be “sourcescxx-stlgnu-libstdc++4.8include” under your Android NDK installation directory if you are using the 4.8 gcc toolchain.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.