Log
[1m===> Building for gexiv2-0.14.0[0m
[ 4% 2/23] /usr/local/bin/meson --internal exe --capture gexiv2/gexiv2-enums.h -- /usr/local/bin/glib-mkenums --identifier-prefix gexiv2 --symbol-prefix GExiv2 --template /magus/work/usr/mports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-enums.h.template /magus/work/usr/mports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-metadata.h /magus/work/usr/mports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-log.h
[ 8% 9/23] cc -Itest/gexiv2-regression.p -Itest -I../test -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -pthread '-DSAMPLE_PATH="/magus/work/usr/mports/graphics/gexiv2/work/gexiv2-0.14.0/test/data"' -Wno-deprecated-declarations -MD -MQ test/gexiv2-regression.p/gexiv2-regression.c.o -MF test/gexiv2-regression.p/gexiv2-regression.c.o.d -o test/gexiv2-regression.p/gexiv2-regression.c.o -c ../test/gexiv2-regression.c
[ 13% 10/23] /usr/local/bin/meson --internal exe --capture gexiv2/gexiv2-enums.cpp -- /usr/local/bin/glib-mkenums --identifier-prefix gexiv2 --symbol-prefix GExiv2 --template /magus/work/usr/mports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-enums.cpp.template /magus/work/usr/mports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-metadata.h /magus/work/usr/mports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-log.h
[ 17% 11/23] c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/meson-generated_.._gexiv2-enums.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/meson-generated_.._gexiv2-enums.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/meson-generated_.._gexiv2-enums.cpp.o -c gexiv2/gexiv2-enums.cpp
[ 21% 12/23] c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-xmp.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-xmp.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-xmp.cpp.o -c ../gexiv2/gexiv2-metadata-xmp.cpp
FAILED: gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-xmp.cpp.o
c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-xmp.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-xmp.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-xmp.cpp.o -c ../gexiv2/gexiv2-metadata-xmp.cpp
../gexiv2/gexiv2-metadata-xmp.cpp:48:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:79:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:187:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:214:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:257:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:294:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:315:24: error: no member named 'toLong' in 'Exiv2::Xmpdatum'
return it->toLong ();
~~~~^
../gexiv2/gexiv2-metadata-xmp.cpp:317:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:334:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:414:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:450:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:488:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:501:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:514:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:527:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:569:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:597:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-xmp.cpp:624:21: error: no type named 'AnyError' in namespace 'Exiv2'
} catch (Exiv2::AnyError& e1) {
~~~~~~~^
../gexiv2/gexiv2-metadata-xmp.cpp:629:25: error: no type named 'AnyError' in namespace 'Exiv2'
} catch (Exiv2::AnyError& e2) {
~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[ 26% 12/23] c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-iptc.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-iptc.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-iptc.cpp.o -c ../gexiv2/gexiv2-metadata-iptc.cpp
FAILED: gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-iptc.cpp.o
c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-iptc.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-iptc.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-iptc.cpp.o -c ../gexiv2/gexiv2-metadata-iptc.cpp
../gexiv2/gexiv2-metadata-iptc.cpp:143:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-iptc.cpp:189:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-iptc.cpp:237:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-iptc.cpp:274:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-iptc.cpp:347:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-iptc.cpp:361:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-iptc.cpp:375:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-iptc.cpp:389:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-iptc.cpp:403:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-iptc.cpp:464:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
10 errors generated.
[ 30% 12/23] c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata.cpp.o -c ../gexiv2/gexiv2-metadata.cpp
FAILED: gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata.cpp.o
c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata.cpp.o -c ../gexiv2/gexiv2-metadata.cpp
In file included from ../gexiv2/gexiv2-metadata.cpp:13:
../gexiv2/gexiv2-stream-io.h:38:62: error: non-virtual member function marked 'override' hides virtual member functions
size_type write (const Exiv2::byte* data, size_type wcount) override;
^
/usr/local/include/exiv2/basicio.hpp:82:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::write' declared here: type mismatch at 2nd parameter ('size_t' (aka 'unsigned long') vs 'StreamIo::size_type' (aka 'long'))
virtual size_t write(const byte* data, size_t wcount) = 0;
^
/usr/local/include/exiv2/basicio.hpp:92:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::write' declared here: different number of parameters (1 vs 2)
virtual size_t write(BasicIo& src) = 0;
^
In file included from ../gexiv2/gexiv2-metadata.cpp:13:
../gexiv2/gexiv2-stream-io.h:39:12: error: virtual function 'write' has a different return type ('StreamIo::size_type' (aka 'long')) than the function it overrides (which has return type 'size_t' (aka 'unsigned long'))
size_type write (Exiv2::BasicIo& src) override;
~~~~~~~~~ ^
/usr/local/include/exiv2/basicio.hpp:92:18: note: overridden virtual function is here
virtual size_t write(BasicIo& src) = 0;
~~~~~~ ^
In file included from ../gexiv2/gexiv2-metadata.cpp:13:
../gexiv2/gexiv2-stream-io.h:41:44: error: non-virtual member function marked 'override' hides virtual member functions
Exiv2::DataBuf read (size_type rcount) override;
^
/usr/local/include/exiv2/basicio.hpp:111:19: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: type mismatch at 1st parameter ('size_t' (aka 'unsigned long') vs 'StreamIo::size_type' (aka 'long'))
virtual DataBuf read(size_t rcount) = 0;
^
/usr/local/include/exiv2/basicio.hpp:124:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: different number of parameters (2 vs 1)
virtual size_t read(byte* buf, size_t rcount) = 0;
^
In file included from ../gexiv2/gexiv2-metadata.cpp:13:
../gexiv2/gexiv2-stream-io.h:42:57: error: non-virtual member function marked 'override' hides virtual member functions
size_type read (Exiv2::byte* buf, size_type rcount) override;
^
/usr/local/include/exiv2/basicio.hpp:111:19: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: different number of parameters (1 vs 2)
virtual DataBuf read(size_t rcount) = 0;
^
/usr/local/include/exiv2/basicio.hpp:124:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: type mismatch at 2nd parameter ('size_t' (aka 'unsigned long') vs 'StreamIo::size_type' (aka 'long'))
virtual size_t read(byte* buf, size_t rcount) = 0;
^
In file included from ../gexiv2/gexiv2-metadata.cpp:13:
../gexiv2/gexiv2-stream-io.h:48:7: error: virtual function 'tell' has a different return type ('long') than the function it overrides (which has return type 'size_t' (aka 'unsigned long'))
long tell () const override;
~~~~ ^
/usr/local/include/exiv2/basicio.hpp:203:32: note: overridden virtual function is here
[[nodiscard]] virtual size_t tell() const = 0;
~~~~~~ ^
In file included from ../gexiv2/gexiv2-metadata.cpp:13:
../gexiv2/gexiv2-stream-io.h:53:14: error: virtual function 'path' has a different return type ('std::string' (aka 'basic_string, allocator>')) than the function it overrides (which has return type 'const std::string &' (aka 'const basic_string, allocator> &'))
std::string path () const override;
~~~~~~~~~~~ ^
/usr/local/include/exiv2/basicio.hpp:221:44: note: overridden virtual function is here
[[nodiscard]] virtual const std::string& path() const noexcept = 0;
~~~~~~~~~~~~ ^
In file included from ../gexiv2/gexiv2-metadata.cpp:13:
../gexiv2/gexiv2-stream-io.h:53:14: error: exception specification of overriding function is more lax than base version
std::string path () const override;
^
/usr/local/include/exiv2/basicio.hpp:221:44: note: overridden virtual function is here
[[nodiscard]] virtual const std::string& path() const noexcept = 0;
^
../gexiv2/gexiv2-metadata.cpp:87:72: error: non-virtual member function marked 'override' hides virtual member functions
size_type write(const Exiv2::byte* /*data*/, size_type /*wcount*/) override { return 0; }
^
/usr/local/include/exiv2/basicio.hpp:82:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::write' declared here: type mismatch at 2nd parameter ('size_t' (aka 'unsigned long') vs '(anonymous namespace)::GioIo::size_type' (aka 'long'))
virtual size_t write(const byte* data, size_t wcount) = 0;
^
/usr/local/include/exiv2/basicio.hpp:92:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::write' declared here: different number of parameters (1 vs 2)
virtual size_t write(BasicIo& src) = 0;
^
../gexiv2/gexiv2-metadata.cpp:88:15: error: virtual function 'write' has a different return type ('(anonymous namespace)::GioIo::size_type' (aka 'long')) than the function it overrides (which has return type 'size_t' (aka 'unsigned long'))
size_type write(BasicIo& /*src*/) override { return 0; }
~~~~~~~~~ ^
/usr/local/include/exiv2/basicio.hpp:92:18: note: overridden virtual function is here
virtual size_t write(BasicIo& src) = 0;
~~~~~~ ^
../gexiv2/gexiv2-metadata.cpp:91:43: error: non-virtual member function marked 'override' hides virtual member functions
Exiv2::DataBuf read(size_type rcount) override {
^
/usr/local/include/exiv2/basicio.hpp:111:19: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: type mismatch at 1st parameter ('size_t' (aka 'unsigned long') vs '(anonymous namespace)::GioIo::size_type' (aka 'long'))
virtual DataBuf read(size_t rcount) = 0;
^
/usr/local/include/exiv2/basicio.hpp:124:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: different number of parameters (2 vs 1)
virtual size_t read(byte* buf, size_t rcount) = 0;
^
../gexiv2/gexiv2-metadata.cpp:102:56: error: non-virtual member function marked 'override' hides virtual member functions
size_type read(Exiv2::byte* buf, size_type rcount) override {
^
/usr/local/include/exiv2/basicio.hpp:111:19: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: different number of parameters (1 vs 2)
virtual DataBuf read(size_t rcount) = 0;
^
/usr/local/include/exiv2/basicio.hpp:124:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: type mismatch at 2nd parameter ('size_t' (aka 'unsigned long') vs '(anonymous namespace)::GioIo::size_type' (aka 'long'))
virtual size_t read(byte* buf, size_t rcount) = 0;
^
../gexiv2/gexiv2-metadata.cpp:191:10: error: virtual function 'tell' has a different return type ('long') than the function it overrides (which has return type 'size_t' (aka 'unsigned long'))
long tell() const override {
~~~~ ^
/usr/local/include/exiv2/basicio.hpp:203:32: note: overridden virtual function is here
[[nodiscard]] virtual size_t tell() const = 0;
~~~~~~ ^
../gexiv2/gexiv2-metadata.cpp:207:17: error: virtual function 'path' has a different return type ('std::string' (aka 'basic_string, allocator>')) than the function it overrides (which has return type 'const std::string &' (aka 'const basic_string, allocator> &'))
std::string path() const override { return "GIO Wrapper"; }
~~~~~~~~~~~ ^
/usr/local/include/exiv2/basicio.hpp:221:44: note: overridden virtual function is here
[[nodiscard]] virtual const std::string& path() const noexcept = 0;
~~~~~~~~~~~~ ^
../gexiv2/gexiv2-metadata.cpp:207:17: error: exception specification of overriding function is more lax than base version
std::string path() const override { return "GIO Wrapper"; }
^
/usr/local/include/exiv2/basicio.hpp:221:44: note: overridden virtual function is here
[[nodiscard]] virtual const std::string& path() const noexcept = 0;
^
../gexiv2/gexiv2-metadata.cpp:92:26: error: non-constant-expression cannot be narrowed from type '(anonymous namespace)::GioIo::size_type' (aka 'long') to 'size_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
Exiv2::DataBuf b{rcount};
^~~~~~
../gexiv2/gexiv2-metadata.cpp:92:26: note: insert an explicit cast to silence this issue
Exiv2::DataBuf b{rcount};
^~~~~~
static_cast( )
../gexiv2/gexiv2-metadata.cpp:94:40: error: 'pData_' is a private member of 'Exiv2::DataBuf'
auto bytes_read = this->read(b.pData_, rcount);
^
/usr/local/include/exiv2/types.hpp:201:21: note: declared private here
std::vector pData_;
^
../gexiv2/gexiv2-metadata.cpp:96:24: error: 'pData_' is a private member of 'Exiv2::DataBuf'
b.reset({b.pData_, bytes_read});
^
/usr/local/include/exiv2/types.hpp:201:21: note: declared private here
std::vector pData_;
^
../gexiv2/gexiv2-metadata.cpp:398:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata.cpp:419:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[ 34% 12/23] c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-exif.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-exif.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-exif.cpp.o -c ../gexiv2/gexiv2-metadata-exif.cpp
FAILED: gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-exif.cpp.o
c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-exif.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-exif.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-exif.cpp.o -c ../gexiv2/gexiv2-metadata-exif.cpp
../gexiv2/gexiv2-metadata-exif.cpp:119:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:149:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:190:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:217:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:235:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal (error, g_quark_from_string ("GExiv2"), e.code (), e.what ());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:256:24: error: no member named 'toLong' in 'Exiv2::Exifdatum'
return it->toLong ();
~~~~^
../gexiv2/gexiv2-metadata-exif.cpp:258:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:275:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:306:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:327:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:416:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:430:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:444:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:458:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:487:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string ("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-exif.cpp:525:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
16 errors generated.
[ 39% 12/23] c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-preview-properties.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-preview-properties.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-preview-properties.cpp.o -c ../gexiv2/gexiv2-preview-properties.cpp
[ 43% 12/23] c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-stream-io.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-stream-io.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-stream-io.cpp.o -c ../gexiv2/gexiv2-stream-io.cpp
FAILED: gexiv2/libgexiv2.so.2.14.0.p/gexiv2-stream-io.cpp.o
c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-stream-io.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-stream-io.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-stream-io.cpp.o -c ../gexiv2/gexiv2-stream-io.cpp
In file included from ../gexiv2/gexiv2-stream-io.cpp:13:
../gexiv2/gexiv2-stream-io.h:38:62: error: non-virtual member function marked 'override' hides virtual member functions
size_type write (const Exiv2::byte* data, size_type wcount) override;
^
/usr/local/include/exiv2/basicio.hpp:82:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::write' declared here: type mismatch at 2nd parameter ('size_t' (aka 'unsigned long') vs 'StreamIo::size_type' (aka 'long'))
virtual size_t write(const byte* data, size_t wcount) = 0;
^
/usr/local/include/exiv2/basicio.hpp:92:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::write' declared here: different number of parameters (1 vs 2)
virtual size_t write(BasicIo& src) = 0;
^
In file included from ../gexiv2/gexiv2-stream-io.cpp:13:
../gexiv2/gexiv2-stream-io.h:39:12: error: virtual function 'write' has a different return type ('StreamIo::size_type' (aka 'long')) than the function it overrides (which has return type 'size_t' (aka 'unsigned long'))
size_type write (Exiv2::BasicIo& src) override;
~~~~~~~~~ ^
/usr/local/include/exiv2/basicio.hpp:92:18: note: overridden virtual function is here
virtual size_t write(BasicIo& src) = 0;
~~~~~~ ^
In file included from ../gexiv2/gexiv2-stream-io.cpp:13:
../gexiv2/gexiv2-stream-io.h:41:44: error: non-virtual member function marked 'override' hides virtual member functions
Exiv2::DataBuf read (size_type rcount) override;
^
/usr/local/include/exiv2/basicio.hpp:111:19: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: type mismatch at 1st parameter ('size_t' (aka 'unsigned long') vs 'StreamIo::size_type' (aka 'long'))
virtual DataBuf read(size_t rcount) = 0;
^
/usr/local/include/exiv2/basicio.hpp:124:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: different number of parameters (2 vs 1)
virtual size_t read(byte* buf, size_t rcount) = 0;
^
In file included from ../gexiv2/gexiv2-stream-io.cpp:13:
../gexiv2/gexiv2-stream-io.h:42:57: error: non-virtual member function marked 'override' hides virtual member functions
size_type read (Exiv2::byte* buf, size_type rcount) override;
^
/usr/local/include/exiv2/basicio.hpp:111:19: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: different number of parameters (1 vs 2)
virtual DataBuf read(size_t rcount) = 0;
^
/usr/local/include/exiv2/basicio.hpp:124:18: note: hidden overloaded virtual function 'Exiv2::BasicIo::read' declared here: type mismatch at 2nd parameter ('size_t' (aka 'unsigned long') vs 'StreamIo::size_type' (aka 'long'))
virtual size_t read(byte* buf, size_t rcount) = 0;
^
In file included from ../gexiv2/gexiv2-stream-io.cpp:13:
../gexiv2/gexiv2-stream-io.h:48:7: error: virtual function 'tell' has a different return type ('long') than the function it overrides (which has return type 'size_t' (aka 'unsigned long'))
long tell () const override;
~~~~ ^
/usr/local/include/exiv2/basicio.hpp:203:32: note: overridden virtual function is here
[[nodiscard]] virtual size_t tell() const = 0;
~~~~~~ ^
In file included from ../gexiv2/gexiv2-stream-io.cpp:13:
../gexiv2/gexiv2-stream-io.h:53:14: error: virtual function 'path' has a different return type ('std::string' (aka 'basic_string, allocator>')) than the function it overrides (which has return type 'const std::string &' (aka 'const basic_string, allocator> &'))
std::string path () const override;
~~~~~~~~~~~ ^
/usr/local/include/exiv2/basicio.hpp:221:44: note: overridden virtual function is here
[[nodiscard]] virtual const std::string& path() const noexcept = 0;
~~~~~~~~~~~~ ^
In file included from ../gexiv2/gexiv2-stream-io.cpp:13:
../gexiv2/gexiv2-stream-io.h:53:14: error: exception specification of overriding function is more lax than base version
std::string path () const override;
^
/usr/local/include/exiv2/basicio.hpp:221:44: note: overridden virtual function is here
[[nodiscard]] virtual const std::string& path() const noexcept = 0;
^
../gexiv2/gexiv2-stream-io.cpp:66:31: error: out-of-line definition of 'write' does not match any declaration in 'StreamIo'
StreamIo::size_type StreamIo::write (const Exiv2::byte* data, StreamIo::size_type write_count) {
^~~~~
../gexiv2/gexiv2-stream-io.cpp:99:27: error: too many arguments to function call, expected single argument 'src', have 2 arguments
write(buffer, read_count);
~~~~~ ^~~~~~~~~~
../gexiv2/gexiv2-stream-io.cpp:86:31: note: 'write' declared here
StreamIo::size_type StreamIo::write (Exiv2::BasicIo& src) {
^
../gexiv2/gexiv2-stream-io.cpp:116:24: error: too many arguments to function call, expected single argument 'src', have 2 arguments
if ( write (&data, 1) == 1)
~~~~~ ^
../gexiv2/gexiv2-stream-io.cpp:86:31: note: 'write' declared here
StreamIo::size_type StreamIo::write (Exiv2::BasicIo& src) {
^
../gexiv2/gexiv2-stream-io.cpp:166:26: error: out-of-line definition of 'read' does not match any declaration in 'StreamIo'
Exiv2::DataBuf StreamIo::read (size_type read_count) {
^~~~
../gexiv2/gexiv2-stream-io.cpp:169:51: error: no member named 'size_' in 'Exiv2::DataBuf'; did you mean 'size'?
long read_bytes = read (buffer.pData_, buffer.size_);
^~~~~
size
/usr/local/include/exiv2/types.hpp:168:24: note: 'size' declared here
[[nodiscard]] size_t size() const {
^
../gexiv2/gexiv2-stream-io.cpp:169:36: error: 'pData_' is a private member of 'Exiv2::DataBuf'
long read_bytes = read (buffer.pData_, buffer.size_);
^
/usr/local/include/exiv2/types.hpp:201:21: note: declared private here
std::vector pData_;
^
../gexiv2/gexiv2-stream-io.cpp:171:12: error: no member named 'size_' in 'Exiv2::DataBuf'
buffer.size_ = read_bytes;
~~~~~~ ^
14 errors generated.
[ 47% 12/23] c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-preview-image.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-preview-image.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-preview-image.cpp.o -c ../gexiv2/gexiv2-preview-image.cpp
FAILED: gexiv2/libgexiv2.so.2.14.0.p/gexiv2-preview-image.cpp.o
c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-preview-image.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-preview-image.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-preview-image.cpp.o -c ../gexiv2/gexiv2-preview-image.cpp
../gexiv2/gexiv2-preview-image.cpp:69:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-preview-image.cpp:144:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
2 errors generated.
[ 52% 12/23] c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-gps.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-gps.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-gps.cpp.o -c ../gexiv2/gexiv2-metadata-gps.cpp
FAILED: gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-gps.cpp.o
c++ -Igexiv2/libgexiv2.so.2.14.0.p -Igexiv2 -I../gexiv2 -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-gps.cpp.o -MF gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-gps.cpp.o.d -o gexiv2/libgexiv2.so.2.14.0.p/gexiv2-metadata-gps.cpp.o -c ../gexiv2/gexiv2-metadata-gps.cpp
../gexiv2/gexiv2-metadata-gps.cpp:93:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-gps.cpp:144:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-gps.cpp:184:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-gps.cpp:300:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-gps.cpp:393:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-gps.cpp:434:9: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
../gexiv2/gexiv2-metadata-gps.cpp:454:13: error: no matching function for call to 'g_set_error_literal'
g_set_error_literal(error, g_quark_from_string("GExiv2"), e.code(), e.what());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gerror.h:228:10: note: candidate function not viable: no known conversion from 'Exiv2::ErrorCode' to 'gint' (aka 'int') for 3rd argument
void g_set_error_literal (GError **err,
^
7 errors generated.
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/mports/graphics/gexiv2