View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0003391 | Doomseeker | [All Projects] Bug | public | 2018-03-03 17:14 | 2018-09-29 14:14 |
|
Reporter | WubTheCaptain | |
Assigned To | Zalewa | |
Priority | normal | Severity | block | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | x86_64 | OS | Debian GNU/Linux | OS Version | buster/sid |
Product Version | 1.2 | |
Target Version | 1.2 | Fixed in Version | 1.2 | |
|
Summary | 0003391: 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 Reproduce | COMPILE.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 | |
|