Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1348

C++ dependency scan fails if #include line starts with UTF-8 BOM marker

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.12.0
    • 1.10.1, 1.11.1, 1.12.2
    • Dependency Tracking
    • None
    • KDE Neon 16.04 
    • 24b624b09388e4ea27de38e058b3d3d59e67bb30

    Description

      We have a .cpp file that starts with a UTF8 BOM marker, like so:

      <U+FEFF>#include "myheader.h"
      #include <QDebug>
      
      ...
      

      Qbs is not able to scan the first line, so all the dependencies on myheader.h etc are lost.

      The second line is parsed correctly.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            olathorsen Ola Røer Thorsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes