MantisBT - Doomseeker
View Issue Details
0002636Doomseeker[All Projects] Bugpublic2016-02-14 18:462018-09-29 14:36
DrinkyBird 
Zalewa 
highmajoralways
closedfixed 
LinuxArch Linux4.4.1-2-ARCH
 
1.11.1 
0002636: Doomseeker fails to build with GCC 5.3.0
I get this error when building Doomseeker with GCC 5.3.0:


/tmp/pkgbuild-1000/doomseeker-hg/src/doomseeker/src/core/gui/createserver/gamerulespanel.cpp:45:33: error: ‘>>’ should be ‘> >’ within a nested template argument list
  QMap<QString, QMap<QString, int>> memorizedLimits;


Should be a simple fix; simply pad the contents of the template arguments with spaces.
Build Doomseeker using GCC 5.3.0.

# sean at durian in ~/AUR [18:42:01]
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc/src/gcc-5-20160209/configure --prefix=/usr \
    --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man \
    --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ \
    --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared \
    --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl
    --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
    --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object \
    --enable-linker-build-id --enable-lto --enable-plugin \
    --enable-install-libiberty --with-linker-hash-style=gnu \
    --enable-gnu-indirect-function --disable-multilib --disable-werror \
    --enable-checking=release
Thread model: posix
gcc version 5.3.0 (GCC)
No tags attached.
Issue History
2016-02-14 18:46DrinkyBirdNew Issue
2016-02-14 18:49DrinkyBirdNote Added: 0014442
2016-02-15 17:31ZalewaAdditional Information Updatedbug_revision_view_page.php?rev_id=8728#r8728
2016-02-15 17:48ZalewaNote Added: 0014446
2016-02-15 17:48ZalewaAssigned To => Zalewa
2016-02-15 17:48ZalewaStatusnew => needs testing
2016-02-15 17:49ZalewaNote Edited: 0014446bug_revision_view_page.php?bugnote_id=14446#r8730
2016-02-15 18:07DrinkyBirdNote Added: 0014447
2016-02-16 16:50ZalewaNote Added: 0014451
2016-02-16 16:50ZalewaStatusneeds testing => resolved
2016-02-16 16:50ZalewaFixed in Version => 1.1
2016-02-16 16:50ZalewaResolutionopen => fixed
2018-09-29 14:25WubTheCaptainStatusresolved => closed
2018-09-29 14:36WubTheCaptainTarget Version => 1.1

Notes
(0014442)
DrinkyBird   
2016-02-14 18:49   
Also, this doesn't happen when building 1.0. I have no idea if this issue is GCC 5.3.0 specific either.
(0014446)
Zalewa   
2016-02-15 17:48   
(edited on: 2016-02-15 17:49)
The old bane of right binary shift/extraction operator/template of a template ambiguity. Compilators are consisently inconsistent on whether they will compile the code or not.

Should be fixed now. Please test.

(0014447)
DrinkyBird   
2016-02-15 18:07   
Yep, compiles fine
(0014451)
Zalewa   
2016-02-16 16:50   
Closing as fixed.