[Konsole-devel] [konsole] [Bug 343851] New: build failed due to "call to member function 'readLine' is ambiguous"

Takahiro Hashimoto kenya888 at gmail.com
Fri Feb 6 05:23:25 UTC 2015


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

            Bug ID: 343851
           Summary: build failed due to "call to member function
                    'readLine' is ambiguous"
           Product: konsole
           Version: 3.90.900
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: kenya888 at gmail.com

Created attachment 90937
  --> https://bugs.kde.org/attachment.cgi?id=90937&action=edit
build error log

*Environment:
 - Gentoo kernel 3.17.8-gentoo-r1
 - Clang 3.5.0-r100
 - Qt5 dev branch from git source (not portage tree)

*How to reproduce:
 - Build konsole with qt5 dev branch ( with ./kdesrc-build --refresh-build
konsole)

*Behavior to expected:
 - Build succeeded

*Behavior in fact:
 - Build failed with error " ProcessInfo.cpp:448:37: error: call to member
function 'readLine' is ambiguous "

*Route cause:
 - As QtTextStream::readLine() has been overloaded in Qt5 dev branch[1]
readLine(0) is detected as ambiguous.

*Suggestion to fix:
 - call readLine() without no arg to be set maxlen=0 as default. (see attached
file)

[1] https://codereview.qt-project.org/#/c/98606/

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


More information about the konsole-devel mailing list