Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63783

QtEnginio null pointers issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Invalid
    • Affects Version/s: 5.9.2, 5.10.0 Beta 1
    • Fix Version/s: None
    • Component/s: (Inactive) Enginio
    • Labels:
      None
    • Environment:
      OS: Linux core 4.10.0-37-generic #41~16.04.1-Ubuntu SMP x86_64 (Mint Linux 18.2)

      Compiler: GCC/G++ version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)

      Build type: developer/shadow

      Description

      QtEnginio module produces following error while compiling:

      error: zero as null pointer [-Wall-warnings-as-errors]
      

      for files

       

      enginioclient.h
      enginiomodel.h
      enginiooauth2authentication.h.

      In the current state the entry function of these headers looks like:

      explicit EnginioOAuth2Authentication(QObject *parent = 0);
      explicit EnginioModel(QObject *parent = 0);
      explicit EnginioClient(QObject *parent = 0);
      

      and it is the source of error. After changing to:

      explicit EnginioOAuth2Authentication(QObject *parent = NULL);
      explicit EnginioModel(QObject *parent = NULL);
      explicit EnginioClient(QObject *parent = NULL);
      

      the problem disappears.

        Attachments

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

          Activity

            People

            Assignee:
            nierob Nierob
            Reporter:
            twdragon Andrei Vukolov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes