xerces xml parser clang fail

Sysprogs forums Forums VisualGDB xerces xml parser clang fail

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21836
    b.timofte
    Participant

    I am using xerces xml parser with cmake .

    The Clang cannot find the class XmlString and although the code compiles intellisense is dead 🙁 for this class.

    Visual Studio 2017 Intellisense works just fine

    Example code which is crossed with a red line using CLang

     

    #include <xercesc/util/XMLString.hpp>

     

    XMLString::release(&attributeName);

     

    The class is in file XMLString.hpp in XERCES_ROOT\src\xercesc\util (the src folder is added to cmake include path ofcourse)

     

     

    • This topic was modified 6 years, 3 months ago by b.timofte.
    #21843
    support
    Keymaster

    Hi,

    The red underlines are normally shown when the Clang IntelliSense discovers errors in the code. Please check the Errors pane in Visual Studio for a specific list of errors. They should explain what is causing the problem (e.g. a missing header file, or an incompatible macro definition).

    If you are not sure, please attach a screenshot of the entire VS window (showing the Solution Explorer, the source file with the navigation bar and the error pane) so we could check for common known issues.

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