[Passwordsafe-linux] Build-failure with GCC 5.1.0
Popular easy-to-use and secure password manager
Brought to you by:
ronys
From: Alexander S. <ale...@gm...> - 2015-05-23 22:36:26
|
Archlinux just moved gcc 5.1.0 into the non-testing repositories. Unfortunately passwordsafe fails to build with this version. I'm not yet sure whether to blame gcc itself or passwordsafe for this so please bear with me. The full 'make' output: http://ix.io/iJh The package itself: https://aur.archlinux.org/packages/passwordsafe/ The line causing the build-error: g++ -std=c++11 -Wall -I../../core -I../.. `/usr/bin/wx-config --debug=no --unicode=yes --inplace --cxxflags` -pthread -I/usr/include/ykpers-1 -O0 -g -ggdb -DUNICODE -DDEBUG -c rand.cpp -o ../../../obj/unicodedebug/os/rand.o rand.cpp: In function ‘bool pws_os::GetRandomData(void*, long unsigned int)’: rand.cpp:38:45: error: cannot convert ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘bool’ in return return is.read(static_cast<char *>(p), len); ^ Building with the previous stable gcc 4.9.2 works just fine. Now, before I bother the gcc folks I'd like to get a second opinion. Is this gcc exposing an issue in passwordsafe or passwordsafe exposing one with the new compiler? Regards, Alexander Schnaidt |