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

            Bug ID: 363053
           Summary: Building kopete-16.04.0 with GCC-6.1.0 fails with
                    "error: could not convert 'false' from 'bool' to
                    'const Kopete::MetaContact*'"
           Product: kopete
           Version: unspecified
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: History Plugin
          Assignee: kopete-bugs-n...@kde.org
          Reporter: nsane...@gmail.com

Building kopete-16.04.0 with GCC-6.1.0 fails with:

In file included from
/var/tmp/portage/kde-apps/kopete-16.04.0/work/kopete-16.04.0/plugins/history2/history2logger.cpp:19:0:
/var/tmp/portage/kde-apps/kopete-16.04.0/work/kopete-16.04.0/plugins/history2/history2logger.h:97:81:
error: could not convert 'false' from 'bool' to 'const Kopete::MetaContact*'
                                      int offset=0, const Kopete::MetaContact
*c=false, bool reverseOrder=true);


With gcc-6, only integer literals can be used as null pointer constants (see
https://gcc.gnu.org/gcc-6/porting_to.html).

Reproducible: Always

Steps to Reproduce:
1. emerge -p =kde-apps/kopete-16.04.0


Actual Results:  
In file included from
/var/tmp/portage/kde-apps/kopete-16.04.0/work/kopete-16.04.0/plugins/history2/history2logger.cpp:19:0:
/var/tmp/portage/kde-apps/kopete-16.04.0/work/kopete-16.04.0/plugins/history2/history2logger.h:97:81:
error: could not convert 'false' from 'bool' to 'const Kopete::MetaContact*'
                                      int offset=0, const Kopete::MetaContact
*c=false, bool reverseOrder=true);

Expected Results:  
Successful merge

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

Reply via email to