Uploaded image for project: 'Qt Solutions'
  1. Qt Solutions
  2. QTSOLBUG-153

missing #ifndef-s in qtsingleapplication header files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: No Version
    • Fix Version/s: None
    • Component/s: Single Application
    • Labels:
      None

      Description

      Minor and low prio, but:

      qtsingleapplication/qtsingleapplication.h and other headers in qtsingleapplication/ miss standard "#ifndef" statements so including (also indirectly; we run into this when trying to start using precompiled headers) the header twice obviously leads to

      qtsingleapplication/qtsingleapplication.h:68: error: redefinition of 'class QtSingleApplication'
      qtsingleapplication/qtsingleapplication.h:69: error: previous definition of 'class QtSingleApplication'
      

      (note that headers in e.g. qtsoap solution do have correct

      #ifndef QTSOAP_H
      #define QTSOAP_H
      ...
      #endif
      

      => I didn't check other solutions)

        Attachments

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

          Activity

            People

            Assignee:
            andysh Andy Shaw
            Reporter:
            wiecko Marek Wieckowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes