Re: [ANNOUNCEMENT] Gnote 3.21.0 (unstable) released



Hi,

I just tried to build it for Fedora rawhide and the build fails with
this error:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../src -pthread 
-I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6 
-I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include 
-I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 
-I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include 
-I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz 
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/cairomm-1.0 
-I/usr/lib64/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm 
-I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 
-I/usr/lib64/sigc++-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/libsecret-1 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DDATADIR=\"/usr/share\" 
-DLIBDIR=\"/usr/lib64\" -DNDEBUG -Wall -Wcast-align -Wcast-qual -Wformat-security -Wpointer-arith 
-Wreturn-type -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DNDEBUG -Wall -Wextra 
-Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wunused -Wpointer-arith -Wshadow 
-fshow-column -c backlinksnoteaddin.cpp  -fPIC -DPIC -o .libs/backlinksnoteaddin.o
In file included from ../../../src/noteaddin.hpp:38:0,                 from backlinksnoteaddin.hpp:27,      
           from backlinksnoteaddin.cpp:25:
../../../src/note.hpp: In member function 'bool gnote::Note::has_buffer() const':
../../../src/note.hpp:127:14: error: cannot convert 'const Glib::RefPtr<gnote::NoteBuffer>' to 'bool' in 
return       return m_buffer;              ^~~~~~~~
../../../src/note.hpp: In member function 'bool gnote::Note::is_loaded() const':
../../../src/note.hpp:142:23: error: cannot convert 'const Glib::RefPtr<gnote::NoteBuffer>' to 'bool' in 
return       return (m_buffer);

Two questions:
- Does Gnote 3.20 build fine using all remaining stuff the same?
- Which version of Glibmm is used?

Namely, Glib::RefPtr should be automatically convertible to bool. It
might be a compatibility breaking change in Glibmm.

-- 
Aurimas

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]