Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-711

Unable to resolve const identifier in header outside of project directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 9.0
    • None
    • cnd - Editor
    • None

    Description

      1. Using MSYS2 MinGW_w64 64-bit toolchain. 
      2. Open attached project "PPP2ED.zip" in NetBeans.
      3. After project is parsed, notice Graph.h shows no error hints.
      4. Copy the "FLTK" directory inside project directory outside of project directory one level.
      5. In the Project Properties, change the C++ Compiler >> Include directory to reflect new location (i.e. ../FLTK/include ) and save.
      6. Wait for project to parse.
      7. Right click on project and go to Code Assistant >> Reparse Project.
      8. See Graph.h again and notice "Unable to resolve" hints on lines 19-23, 42-46, 62-77.

      Expected: The identifiers are resolved. 

      Workaround: Use FLTK directory inside of project folder.

      Attachments

        1. PPP2ED.zip
          3.04 MB
          Mark Wilmoth
        2. messages.log
          61 kB
          Mark Wilmoth

        Activity

          People

            Unassigned Unassigned
            MackSix Mark Wilmoth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: