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

Clang: Header guard are breaking preamble

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.6.0-beta1
    • C/C++/Obj-C++ Support
    • None

    Description

      #ifdef HEADER
      #define HEADER

      #include <QString>

      #endif

      is not generating a preamble for all includes.

      #pragma once

      is working.

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              bubke Marco Bubke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes