| Summary: | perlqt fails to build with GCC 6 | ||
|---|---|---|---|
| Product: | [Unmaintained] bindings | Reporter: | Petr Pisar <ppisar> |
| Component: | general | Assignee: | bindings-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chrisburel, rdieter |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Fix | ||
Created attachment 98020 [details]
Fix
I applied the patch from Petr in 4d05f40d. http://commits.kde.org/perlqt/4d05f40d7e33b8becb57e309bec916e1caa58c45 |
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