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

Static android build error on redefinition of boolean

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 6.1.0 Beta 1
    • Core: Other
    • None
    • Android

    Description

      The qtbase/src/3rdparty/libjpeg/src/jmorecfg.h header conditionally creates a typedef for boolean (see around line 242). If HAVE_BOOLEAN is not defined, it typedefs it to int. The Android NDK (I'm using 21.3.6528147 if it matters) creates the same typedef but to the type uint8_t. This causes a typedef redefinition error. If I hack that file locally to avoid the redefinition, the build does succeed.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              crscott Craig Scott
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes