Bug#843078: pokerth: FTBFS: qobjectdefs_impl.h:72:88: error: '>>' should be '> >' within a nested template argument list

Adrian Bunk bunk at stusta.de
Thu Nov 3 18:58:06 UTC 2016


Control: retitle -1 pokerth: -std=gnu++98 workaround no longer works with Qt 5.7

Thanks for your report.

The core of the problem is:

g++ -c -m64 -pipe -std=gnu++98 ...
...
/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:562:6: 
error: #error Qt requires a C++11 compiler and yours does not seem to be that.
 #    error Qt requires a C++11 compiler and yours does not seem to be that.
      ^~~~~

This package uses -std=gnu++98 as workaround for code that is not 
valid C++11 code, but the headers of Qt 5.7 (that just entered unstable) 
require a compiler in C++11 (or higher) mode.


> Regards,

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Pkg-games-devel mailing list