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-bindi...@kde.org
          Reporter: ppi...@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 watching all bug changes.

Reply via email to