Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-9107

Regression: Included file is not parsed until header is opened

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 2.8.0-beta
    • Qt Creator 2.8.0-beta
    • C/C++/Obj-C++ Support
    • None
    • MinGW 4.8.0, Windows XP SP3
    • 52825a91f9a040a5ac29f5f367f75eb52a5b367a

    Description

      I can't reproduce with a minimal example, but in my project I have a file foo.cpp which includes foo.h which in turn includes defs.h which contains some enums and defines.

      The symbols in defs.h are not highlighted and are not accessible in foo.cpp until I open foo.h, then they become highlighted.

      All header files have include guards.

      Problem appeared in 82e347095c4bdb7a6419d28798639e60591e3992

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            erikv Erik Verbruggen
            orgads Orgad Shaneh
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes