Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1528

32 bit compilation error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 6.0.2
    • Fix Version/s: 6.1.0, 6.0.3
    • Component/s: Shiboken
    • Labels:
      None
    • Commits:
      780223e30b5909aeaee2b0beb0780a8d8ac3168c

      Description

      It looks like `qsizetype` is `int` on Linux 32 bit (586), resulting in..

       [ 55s] [7/453] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor.cpp.o
      [ 55s] FAILED: ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor.cpp.o
      [ 55s] /usr/bin/clang++ -DCMAKE_CXX_COMPILER=\"/usr/bin/clang+\" -DHAVE_LIBXSLT -DQT_CORE_LIB -DQT_NO_DEBUG -IApiExtractor/apiextractor_autogen/include -I/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.0.2/sources/shiboken6/ApiExtractor -IApiExtractor -I/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.0.2/sources/shiboken6/ApiExtractor/parser -I/usr/include/libxml2 -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib/qt6/mkspecs/linux-g+ -Wall -fvisibility=hidden -Wno-strict-aliasing -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII -O3 -DNDEBUG -fPIC -pthread -std=gnu++17 -MD -MT ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor.cpp.o -MF ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor.cpp.o.d -o ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor.cpp.o -c /home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.0.2/sources/shiboken6/ApiExtractor/apiextractor.cpp
      [ 55s] In file included from /home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.0.2/sources/shiboken6/ApiExtractor/apiextractor.cpp:42:
      [ 55s] In file included from /home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.0.2/sources/shiboken6/ApiExtractor/fileout.h:33:
      [ 55s] /home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.0.2/sources/shiboken6/ApiExtractor/textstream.h:106:17: error: class member cannot be redeclared
      [ 55s] TextStream &operator<<(qsizetype t)

      { putSizeType(t); return *this; }

      [ 55s] ^
      [ 55s] /home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.0.2/sources/shiboken6/ApiExtractor/textstream.h:105:17: note: previous definition is here
      [ 55s] TextStream &operator<<(int t)

      { putInt(t); return *this; }

      [ 55s] ^
      [ 55s] 1 error generated.
       

        Attachments

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            jayvdb John Vandenberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes