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

missing #ifndef-s in qtsingleapplication header files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • No Version
    • Single Application
    • None

      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)

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

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

              Created:
              Updated:

                There are no open Gerrit changes