[Kde-bindings] [bindings] [Bug 360844] New: perlqt fails to build with GCC 6

Petr Pisar via KDE Bugzilla bugzilla_noreply at kde.org
Tue Mar 22 10:36:40 UTC 2016


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

            Bug ID: 360844
           Summary: perlqt fails to build with GCC 6
           Product: bindings
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kde-bindings at kde.org
          Reporter: ppisar at redhat.com

I encountered a build failure with GCC. Both git master code and Qt-0.96.0 on
CPAN suffers from this problem:

/builddir/build/BUILD/Qt-0.96.0/qtcore/src/util.cpp:2248:59: error: cannot
convert 'bool' to 'void*' in initialization
         static smokeperl_object nothis = { 0, 0, 0, false };
                                                           ^

This is because GCC 6 defaults to newer C++ standard that is stricter. Attached
patch fixes it.

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-bindings mailing list