MantisBT - Doomseeker
View Issue Details
0003391Doomseeker[All Projects] Bugpublic2018-03-03 17:142018-09-29 14:14
WubTheCaptain 
Zalewa 
normalblockhave not tried
closedfixed 
x86_64Debian GNU/Linuxbuster/sid
1.2 
1.21.2 
0003391: FTBFS (testini.cpp): cannot bind non-const lvalue reference of type ‘IniSection&’ to an rvalue of type ‘IniSection’
/home/wub/.local/src/doomseeker/doomseeker-hg/src/core/svnrevision.h is up to date at revision 180226-1843.

[...]
[ 28%] Built target doomseeker_autogen
[ 28%] Building CXX object src/core/CMakeFiles/doomseeker.dir/tests/testini.cpp.o
/home/wub/.local/src/doomseeker/doomseeker-hg/src/core/tests/testini.cpp: In member function ‘virtual 
bool TestReadINI::executeTest()’:
/home/wub/.local/src/doomseeker/doomseeker-hg/src/core/tests/testini.cpp:65:35: error: cannot bind non-const 
lvalue reference of type ‘IniSection&’ to an rvalue of type ‘IniSection’
  IniSection& section = ini.section("section.sectionone");
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/wub/.local/src/doomseeker/doomseeker-hg/src/core/tests/testini.cpp: In member function ‘virtual 
bool TestReadINIVariable::executeTest()’:
/home/wub/.local/src/doomseeker/doomseeker-hg/src/core/tests/testini.cpp:82:45: error: cannot bind non-const 
lvalue reference of type ‘IniVariable&’ to an rvalue of type ‘IniVariable’
  IniVariable &variable = ini.retrieveSetting("section.sectionone", "key1");
                          
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wub/.local/src/doomseeker/doomseeker-hg/src/core/tests/testini.cpp: In member function ‘virtual 
bool TestDeleteINIVariable::executeTest()’:
/home/wub/.local/src/doomseeker/doomseeker-hg/src/core/tests/testini.cpp:123:35: error: cannot bind non-const 
lvalue reference of type ‘IniSection&’ to an rvalue of type ‘IniSection’
  IniSection& section = ini.section("section.sectionone");
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/core/CMakeFiles/doomseeker.dir/build.make:5262: src/core/CMakeFiles/doomseeker.dir/tests/testini.cpp.o] 
Error 1
make[1]: *** [CMakeFiles/Makefile2:179: src/core/CMakeFiles/doomseeker.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
COMPILE.txt, error during make.
'https://bitbucket.org/Doomseeker/doomseeker/commits/9ad55124d9a71334682f712738f005db8c6eca77 [^]'

  • g++ 4:7.2.0-1d1
  • libc6 2.26-6
No tags attached.
Issue History
2018-03-03 17:14WubTheCaptainNew Issue
2018-03-03 17:15WubTheCaptainAssigned To => Zalewa
2018-03-03 17:15WubTheCaptainStatusnew => assigned
2018-03-03 17:15WubTheCaptainStatusassigned => new
2018-03-03 17:27WubTheCaptainStatusnew => assigned
2018-03-03 17:27WubTheCaptainAdditional Information Updatedbug_revision_view_page.php?rev_id=11440#r11440
2018-03-03 17:27WubTheCaptainStatusassigned => new
2018-03-03 18:39ZalewaNote Added: 0019108
2018-03-03 18:39ZalewaStatusnew => needs testing
2018-03-03 18:56WubTheCaptainStatusneeds testing => resolved
2018-03-03 18:56WubTheCaptainFixed in Version => 1.2
2018-03-03 18:56WubTheCaptainResolutionopen => fixed
2018-09-29 14:13WubTheCaptainSeveritycrash => block
2018-09-29 14:14WubTheCaptainStatusresolved => closed

Notes
(0019108)
Zalewa   
2018-03-03 18:39   
Everytime when I lazily skip verifying code on my Linux VM, things have to break.

Anyway:'https://bitbucket.org/Doomseeker/doomseeker/commits/072110a8fe0643c4a72461e7768560813bb0a62b [^]'