https://bugs.kde.org/show_bug.cgi?id=448378

            Bug ID: 448378
           Summary: Compilation failure due to "expected unqualified-id
                    before numeric constant"
           Product: Discover
           Version: 5.23.90
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: KNewStuff Backend
          Assignee: lei...@leinir.dk
          Reporter: bribb...@disroot.org
                CC: aleix...@kde.org
  Target Milestone: ---

SUMMARY

In file included from /usr/include/limits.h:40,
                 from /usr/include/fortify/stdlib.h:29,
                 from /usr/include/c++/11.2.1/cstdlib:75,
                 from /usr/include/c++/11.2.1/bits/stl_algo.h:59,
                 from /usr/include/c++/11.2.1/algorithm:62,
                 from /usr/include/qt5/QtCore/qglobal.h:142,
                 from /usr/include/qt5/QtCore/qalgorithms.h:43,
                 from /usr/include/qt5/QtCore/qdebug.h:44,
                 from /usr/include/qt5/QtCore/QDebug:1,
                 from
/home/bart/Documents/Git/alpine/aports/community/discover/src/discover-5.23.90/libdiscover/backends/KNSBackend/KNSBackend.cpp:8:
/home/bart/Documents/Git/alpine/aports/community/discover/src/discover-5.23.90/libdiscover/backends/KNSBackend/KNSBackend.cpp:39:18:
error: expected unqualified-id before numeric constant
   39 | static const int PAGE_SIZE = 100;
      |                  ^~~~~~~~~

STEPS TO REPRODUCE
1. Compile Discover 5.23.90 with the KNSBackend enabled

OBSERVED RESULT
Compilation fails with above mentioned error

EXPECTED RESULT
Compilation to succeed

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Alpine Linux 
(available in About System)
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90
Qt Version: 5.15.3 (KDE patches)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to