Package: texstudio
Version: 2.10.2+debian-1
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> texmaker.cpp: In member function 'void Texmaker::editTextToLowercase()':
> texmaker.cpp:3607:47: error: no matches converting function 'toLower' to type 
> 'class QString (class QString::*)() const'
>   changeCase(currentEditor(), &QString::toLower);
>                                                ^
> 
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:41:0,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
>                  from modifiedQObject.h:44,
>                  from mostQtHeaders.h:12,
>                  from texmaker.h:17,
>                  from texmaker.cpp:16:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:390:13: note: candidates 
> are: QString QString::toLower() &&
>      QString toLower() && Q_REQUIRED_RESULT
>              ^~~~~~~
> 
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:388:13: note:              
>    QString QString::toLower() const &
>      QString toLower() const & Q_REQUIRED_RESULT
>              ^~~~~~~
> 
> texmaker.cpp: In member function 'void Texmaker::editTextToUppercase()':
> texmaker.cpp:3611:47: error: no matches converting function 'toUpper' to type 
> 'class QString (class QString::*)() const'
>   changeCase(currentEditor(), &QString::toUpper);
>                                                ^

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to