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

QtEnginio null pointers issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.9.2, 5.10.0 Beta 1
    • (Inactive) Enginio
    • None
    • 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

            nierob Nierob
            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