Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003391Doomseeker[All Projects] Bugpublic2018-03-03 17:142018-09-29 14:14
ReporterWubTheCaptain 
Assigned ToZalewa 
PrioritynormalSeverityblockReproducibilityhave not tried
StatusclosedResolutionfixed 
Platformx86_64OSDebian GNU/LinuxOS Versionbuster/sid
Product Version1.2 
Target Version1.2Fixed in Version1.2 
Summary0003391: FTBFS (testini.cpp): cannot bind non-const lvalue reference of type ‘IniSection&’ to an rvalue of type ‘IniSection’
Description
/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
Steps To ReproduceCOMPILE.txt, error during make.
Additional Information'https://bitbucket.org/Doomseeker/doomseeker/commits/9ad55124d9a71334682f712738f005db8c6eca77 [^]'

  • g++ 4:7.2.0-1d1
  • libc6 2.26-6
Attached Files

- Relationships

-  Notes
User avatar (0019108)
Zalewa (developer)
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 [^]'

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2018-03-03 17:14 WubTheCaptain New Issue
2018-03-03 17:15 WubTheCaptain Assigned To => Zalewa
2018-03-03 17:15 WubTheCaptain Status new => assigned
2018-03-03 17:15 WubTheCaptain Status assigned => new
2018-03-03 17:27 WubTheCaptain Status new => assigned
2018-03-03 17:27 WubTheCaptain Additional Information Updated View Revisions
2018-03-03 17:27 WubTheCaptain Status assigned => new
2018-03-03 18:39 Zalewa Note Added: 0019108
2018-03-03 18:39 Zalewa Status new => needs testing
2018-03-03 18:56 WubTheCaptain Status needs testing => resolved
2018-03-03 18:56 WubTheCaptain Fixed in Version => 1.2
2018-03-03 18:56 WubTheCaptain Resolution open => fixed
2018-09-29 14:13 WubTheCaptain Severity crash => block
2018-09-29 14:14 WubTheCaptain Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker