=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for jigdo-0.7.3nb66 test -h gfx -o -d gfx || ln -s "./gfx" gfx cd src && /usr/bin/make all export cpp='-I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I. -I. -I./glibcurl -I./gtk -I./job -I./net -I./util -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="/usr/pkg/share/jigdo/" -DPACKAGE_LOCALE_DIR="/usr/pkg/share/locale" -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/pkg/include/libpng16 -pthread -I/usr/pkg/include/fribidi -I/usr/pkg/include' export cxx="$cpp -O2 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual " export c="$cpp -Wall -O2 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -W " c++ $cxx -c cachefile.cc -o cachefile.o c++ $cxx -c compat.cc -o compat.o c++ $cxx -c jigdo-file-cmd.cc -o jigdo-file-cmd.o In file included from ./scan.hh:31:0, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ In file included from ./jigdo-file-cmd.hh:28:0, from jigdo-file-cmd.cc:25: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void seekFromEnd(bistream& file) throw(JigdoDescError); ^~~~~ ./mkimage.hh:233:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); ^~~~~ ./mkimage.hh:295:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(JigdoDescError, bad_alloc) { ^~~~~ In file included from jigdo-file-cmd.cc:27:0: ./recursedir.hh:79:7: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError, bad_alloc); ^~~~~ ./recursedir.hh:105:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError); ^~~~~ jigdo-file-cmd.cc:56:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] istream* openForInput(istream*& dest, const string& name) throw(Cleanup) { ^~~~~ jigdo-file-cmd.cc:106:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] ostream* openForOutput(ostream*& dest, const string& name) throw(Cleanup) { ^~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::makeTemplate()': jigdo-file-cmd.cc:221:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr imageDel(openForInput(image, imageFile)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:223:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr cfDel(new ConfigFile()); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:227:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr jigdoMergeDel(openForInput(jigdoMerge, ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:240:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr templDel(openForOutput(templ, templFile)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:253:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:269:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr jigdoDel(openForOutput(jigdoF, jigdoFile)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::makeImage()': jigdo-file-cmd.cc:306:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr templDel(openForInput(templ, templFile)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::listTemplate()': jigdo-file-cmd.cc:335:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr templDel(openForInput(templ, templFile)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::verifyImage()': jigdo-file-cmd.cc:370:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr imageDel(openForInput(image, imageFile)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:376:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr templDel(openForInput(templ, templFile)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::printMissing(JigdoFileCmd::Command)': jigdo-file-cmd.cc:450:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr templDel(openForInput(templ, templFile)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:465:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr jigdoDel(openForInput(jigdo, jigdoFile)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:466:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr cfDel(new ConfigFile()); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ $cxx -c jigdo-file.cc -o jigdo-file.o In file included from ./scan.hh:31:0, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ In file included from ./jigdo-file-cmd.hh:28:0, from jigdo-file.cc:32: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void seekFromEnd(bistream& file) throw(JigdoDescError); ^~~~~ ./mkimage.hh:233:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); ^~~~~ ./mkimage.hh:295:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(JigdoDescError, bad_alloc) { ^~~~~ In file included from jigdo-file.cc:37:0: ./recursedir.hh:79:7: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError, bad_alloc); ^~~~~ ./recursedir.hh:105:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError); ^~~~~ jigdo-file.cc: In static member function 'static void {anonymous}::MyProgressReporter::print(std::__cxx11::string, bool)': jigdo-file.cc:224:22: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int i = s.size() - 1; ~~~~~~~~~^~~ jigdo-file.cc: In static member function 'static JigdoFileCmd::Command JigdoFileCmd::cmdOptions(int, char**)': jigdo-file.cc:557:35: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] case 'h': case 'H': optHelp = c; break; ^ jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc: In function 'size_t {anonymous}::scanMemSize(const char*)': jigdo-file.cc:420:7: warning: this statement may fall through [-Wimplicit-fallthrough=] x = x * 1024; ~~^~~~~~~~~~ jigdo-file.cc:421:3: note: here case 'm': case 'M': ^~~~ jigdo-file.cc:422:7: warning: this statement may fall through [-Wimplicit-fallthrough=] x = x * 1024; ~~^~~~~~~~~~ jigdo-file.cc:423:3: note: here case 'k': case 'K': ^~~~ jigdo-file.cc:425:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*++s == '\0') return x; ^~ jigdo-file.cc:426:3: note: here default: ^~~~~~~ c++ $cxx -c jigdoconfig.cc -o jigdoconfig.o c++ $cxx -c mkimage.cc -o mkimage.o In file included from ./scan.hh:31:0, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ In file included from mkimage.cc:30:0: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void seekFromEnd(bistream& file) throw(JigdoDescError); ^~~~~ ./mkimage.hh:233:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); ^~~~~ ./mkimage.hh:295:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(JigdoDescError, bad_alloc) { ^~~~~ In file included from mkimage.cc:34:0: ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalOut() const': ./zstream-gz.hh:55:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalIn() const': ./zstream-gz.hh:56:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalOut() const': ./zstream-gz.hh:90:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalIn() const': ./zstream-gz.hh:91:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ mkimage.cc: At global scope: mkimage.cc:76:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void JigdoDesc::seekFromEnd(bistream& file) throw(JigdoDescError) { ^~~~~ mkimage.cc:114:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(JigdoDescError, bad_alloc) { ^~~~~ mkimage.cc: In member function 'bistream& JigdoDescVec::get(bistream&)': mkimage.cc:118:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr desc; ^~~~~~~~ In file included from /usr/include/g++/bits/locale_conv.h:41:0, from /usr/include/g++/locale:43, from /usr/include/g++/iomanip:43, from mkimage.cc:23: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ mkimage.cc: In member function 'bostream& JigdoDescVec::put(bostream&, MD5Sum*) const': mkimage.cc:246:36: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] unsigned s = (*i)->serialSizeOf(); ~~~~~~~~~~~~~~~~~~^~ mkimage.cc: In function 'int {anonymous}::writeAll(const {anonymous}::Task&, JigdoDescVec&, std::queue&, bistream*, size_t, bostream*, const char*, bool, {anonymous}::ProgressReporter&, JigdoCache*, uint64)': mkimage.cc:454:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr data(new Zibstream(*templ, readAmount + 8*1024)); ^~~~~~~~ In file included from /usr/include/g++/bits/locale_conv.h:41:0, from /usr/include/g++/locale:43, from /usr/include/g++/iomanip:43, from mkimage.cc:23: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ mkimage.cc:454:63: warning: conversion to 'unsigned int' from 'long unsigned int' may alter its value [-Wconversion] auto_ptr data(new Zibstream(*templ, readAmount + 8*1024)); ~~~~~~~~~~~^~~~~~~~ mkimage.cc:488:53: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] data->read(buf, (toWrite < readAmount ? toWrite : readAmount)); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mkimage.cc:488:53: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] mkimage.cc: In static member function 'static int JigdoDesc::makeImage(JigdoCache*, const string&, const string&, const string&, bistream*, bool, JigdoDesc::ProgressReporter&, size_t, bool)': mkimage.cc:748:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr imgDel(img); ^~~~~~~~ In file included from /usr/include/g++/bits/locale_conv.h:41:0, from /usr/include/g++/locale:43, from /usr/include/g++/iomanip:43, from mkimage.cc:23: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./util/rsyncsum.hh:31:0, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./serialize.hh: In instantiation of 'Iterator serialize4(NumType, Iterator) [with NumType = int; Iterator = unsigned char*]': mkimage.cc:256:33: required from here ./serialize.hh:156:10: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *i = x & 0xff; ++i; ~~^~~~~~ ./serialize.hh:157:17: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *i = (x >> 8) & 0xff; ++i; ~~~~~~~~~^~~~~~ ./serialize.hh:158:18: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *i = (x >> 16) & 0xff; ++i; ~~~~~~~~~~^~~~~~ ./serialize.hh:159:18: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *i = (x >> 24) & 0xff; ++i; ~~~~~~~~~~^~~~~~ ./serialize.hh: In instantiation of 'Iterator serialize1(NumType, Iterator) [with NumType = JigdoDesc::Type; Iterator = unsigned char*]': ./mkimage.hh:310:17: required from 'Iterator JigdoDesc::ImageInfo::serialize(Iterator) const [with Iterator = unsigned char*]' mkimage.cc:268:30: required from here ./serialize.hh:132:10: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *i = x & 0xff; ++i; ~~^~~~~~ ./serialize.hh: In instantiation of 'Iterator serialize4(NumType, Iterator) [with NumType = unsigned int; Iterator = unsigned char*]': ./util/rsyncsum.hh:196:17: required from 'Iterator RsyncSum64::serialize(Iterator) const [with Iterator = unsigned char*]' ./serialize.hh:48:23: required from 'Iterator serialize(const Object&, Iterator) [with Object = RsyncSum64; Iterator = unsigned char*]' ./mkimage.hh:340:18: required from 'Iterator JigdoDesc::WrittenFile::serialize(Iterator) const [with Iterator = unsigned char*]' mkimage.cc:272:33: required from here ./serialize.hh:159:18: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] *i = (x >> 24) & 0xff; ++i; ~~~~~~~~~~^~~~~~ c++ $cxx -c mkjigdo.cc -o mkjigdo.o In file included from ./mktemplate.hh:42:0, from mkjigdo.cc:25: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ c++ $cxx -c mktemplate.cc -o mktemplate.o In file included from ./scan.hh:31:0, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ In file included from mktemplate.cc:42:0: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void seekFromEnd(bistream& file) throw(JigdoDescError); ^~~~~ ./mkimage.hh:233:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); ^~~~~ ./mkimage.hh:295:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(JigdoDescError, bad_alloc) { ^~~~~ In file included from mktemplate.cc:46:0: ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalOut() const': ./zstream-gz.hh:55:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalIn() const': ./zstream-gz.hh:56:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalOut() const': ./zstream-gz.hh:90:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalIn() const': ./zstream-gz.hh:91:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ mktemplate.cc: In function 'void {anonymous}::writeBuf(const byte*, size_t, size_t, size_t, Zobstream*)': mktemplate.cc:132:35: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] zip->write(buf + begin, end - begin); ~~~~^~~~~~~ mktemplate.cc:134:44: warning: conversion to 'unsigned int' from 'long unsigned int' may alter its value [-Wconversion] zip->write(buf + begin, bufferLength - begin); ~~~~~~~~~~~~~^~~~~~~ mktemplate.cc:135:26: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] zip->write(buf, end); ^ mktemplate.cc: In member function 'bool MkTemplate::rereadUnmatched(FilePart*, uint64)': mktemplate.cc:310:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr inputFile(new bifstream(inputName.c_str(),ios::binary)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from mktemplate.cc:35: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ mktemplate.cc:316:31: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] zip->write(tmpBuf.get(), n); // will catch Zerror "upstream" ^ mktemplate.cc: In member function 'void MkTemplate::scanImage_mainLoop_fastForward(uint64, RsyncSum64*, byte*, size_t*, size_t*, size_t*, size_t, size_t, uint32, size_t)': mktemplate.cc:655:35: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] unsigned len = nextAlignedOff - off; ~~~~~~~~~~~~~~~^~~~~ mktemplate.cc:656:48: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] if (len > nextEvent - off) len = nextEvent - off; ~~~~~~~~~~^~~~~ mktemplate.cc: In member function 'bool MkTemplate::scanImage(byte*, size_t, size_t, uint32, size_t, MD5Sum&)': mktemplate.cc:739:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr zipDel; ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from mktemplate.cc:35: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ mktemplate.cc: In member function 'bool MkTemplate::run(const string&, const string&)': mktemplate.cc:962:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int blockBits = bitWidth(fileCount) + 1; ^~~~~~~~~ mktemplate.cc: At global scope: mktemplate.cc:141:8: warning: 'void {anonymous}::write48(bostream&, uint64)' defined but not used [-Wunused-function] void write48(bostream& s, uint64 x) { ^~~~~~~ c++ $cxx -c partialmatch.cc -o partialmatch.o In file included from ./mktemplate.hh:42:0, from partialmatch.cc:15: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ c++ $cxx -c recursedir.cc -o recursedir.o recursedir.cc:235:5: warning: #warning TODO hackish [-Wcpp] # warning TODO hackish ^~~~~~~ In file included from recursedir.cc:32:0: ./recursedir.hh:79:7: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError, bad_alloc); ^~~~~ ./recursedir.hh:105:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError); ^~~~~ recursedir.cc:68:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool RecurseDir::getNextObjectName(string& result) throw(RecurseError) { ^~~~~ recursedir.cc:140:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError, bad_alloc) { ^~~~~ c++ $cxx -c scan.cc -o scan.o In file included from ./scan.hh:31:0, from scan.cc:30: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./scan.hh:31, from scan.cc:30: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ c++ $cxx -c util/bstream.cc -o util/bstream.o c++ $cxx -c util/configfile.cc -o util/configfile.o gcc $c -c util/glibc-getopt.c -o util/glibc-getopt.o gcc $c -c util/glibc-getopt1.c -o util/glibc-getopt1.o c++ $cxx -c util/glibc-md5.cc -o util/glibc-md5.o util/glibc-md5.cc: In static member function 'static void MD5Sum::md5_process_bytes(const void*, size_t, MD5Sum::md5_ctx*)': util/glibc-md5.cc:221:19: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] ctx->buflen += add; ~~~~~~~~~~~~^~~~~~ util/glibc-md5.cc:277:22: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] ctx->buflen = left_over; ^~~~~~~~~ util/glibc-md5.cc: In static member function 'static void MD5Sum::md5_process_block(const void*, size_t, MD5Sum::md5_ctx*)': util/glibc-md5.cc:308:17: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] ctx->total[0] += len; ~~~~~~~~~~~~~~^~~~~~ c++ $cxx -c util/log.cc -o util/log.o util/log.cc: In constructor 'Logger::Logger(const char*, bool)': util/log.cc:30:48: warning: conversion to 'unsigned char' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] : unitNameVal(unitName), unitNameLen(strlen(unitName)), ~~~~~~^~~~~~~~~~ util/log.cc: In static member function 'static void Logger::scanOptions(const string&, const char*)': util/log.cc:77:26: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned len = s.length(); ~~~~~~~~^~ c++ $cxx -c util/md5sum.cc -o util/md5sum.o c++ $cxx -c util/rsyncsum.cc -o util/rsyncsum.o In file included from util/rsyncsum.cc:15:0: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from util/rsyncsum.cc:15: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ util/rsyncsum.cc: In member function 'RsyncSum& RsyncSum::removeFront(const byte*, size_t, size_t)': util/rsyncsum.cc:67:59: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= (front.get() >> 16) + (areaSize - len) * front.get(); ^ c++ $cxx -c util/string.cc -o util/string.o util/string.cc: In static member function 'static std::__cxx11::string Subst::subst(const char*, int, const Subst*)': util/string.cc:85:18: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] char max = '1' + args; ~~~~^~~~~~ c++ $cxx -c zstream.cc -o zstream.o In file included from zstream.cc:29:0: ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalOut() const': ./zstream-gz.hh:55:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalIn() const': ./zstream-gz.hh:56:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalOut() const': ./zstream-gz.hh:90:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalIn() const': ./zstream-gz.hh:91:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ zstream.cc: In member function 'Zibstream& Zibstream::read(byte*, unsigned int)': zstream.cc:266:42: warning: conversion to 'unsigned int' from 'long unsigned int' may alter its value [-Wconversion] unsigned toRead = (dataLen < bufSize ? dataLen : bufSize); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ zstream.cc:273:34: warning: conversion to 'unsigned int' from 'std::streamsize {aka long int}' may alter its value [-Wconversion] unsigned n = stream->gcount(); ~~~~~~~~~~~~~~^~ In file included from zstream.cc:26:0: ./serialize.hh: In instantiation of 'Iterator serialize4(NumType, Iterator) [with NumType = unsigned int; Iterator = unsigned char*]': zstream.cc:78:23: required from here ./serialize.hh:159:18: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] *i = (x >> 24) & 0xff; ++i; ~~~~~~~~~~^~~~~~ c++ $cxx -c zstream-bz.cc -o zstream-bz.o c++ $cxx -c zstream-gz.cc -o zstream-gz.o In file included from zstream-gz.cc:26:0: ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalOut() const': ./zstream-gz.hh:55:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalIn() const': ./zstream-gz.hh:56:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalOut() const': ./zstream-gz.hh:90:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalIn() const': ./zstream-gz.hh:91:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ zstream-gz.cc: In function 'void {anonymous}::throwZerrorGz(int, const char*)': zstream-gz.cc:51:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (m.empty()) m = "zlib Z_STREAM_ERROR"; ^~ zstream-gz.cc:52:5: note: here case Z_DATA_ERROR: ^~~~ zstream-gz.cc:53:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (m.empty()) m = "zlib Z_DATA_ERROR"; ^~ zstream-gz.cc:54:5: note: here case Z_BUF_ERROR: ^~~~ zstream-gz.cc:55:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (m.empty()) m = "zlib Z_BUF_ERROR"; ^~ zstream-gz.cc:56:5: note: here case Z_VERSION_ERROR: ^~~~ zstream-gz.cc:57:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (m.empty()) m = "zlib Z_VERSION_ERROR"; ^~ zstream-gz.cc:58:5: note: here default: ^~~~~~~ c++ $cxx -c util/debug.cc -o util/debug.o c++ -o jigdo-file cachefile.o compat.o jigdo-file-cmd.o jigdo-file.o jigdoconfig.o mkimage.o mkjigdo.o mktemplate.o partialmatch.o recursedir.o scan.o util/bstream.o util/configfile.o util/glibc-getopt.o util/glibc-getopt1.o util/glibc-md5.o util/log.o util/md5sum.o util/rsyncsum.o util/string.o zstream.o zstream-bz.o zstream-gz.o util/debug.o -lbz2 -lz -lintl -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib gcc $c -c glibcurl/glibcurl.c -o glibcurl/glibcurl.o c++ $cxx -c gtk/gtk-makeimage.cc -o gtk/gtk-makeimage.o In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/gtk-makeimage.cc:16: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject.h:26:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/gtk-makeimage.cc:16: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/gtk-makeimage.cc:16: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/gtk-makeimage.cc:16: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from ./job/single-url.hh:25:0, from ./job/makeimagedl.hh:37, from ./gtk/gtk-makeimage.hh:27, from gtk/gtk-makeimage.cc:16: ./util/progress.hh:51:47: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ ./util/progress.hh:64:34: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:67:37: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:111:33: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/gtk-makeimage.cc:16: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from ./job/makeimagedl.hh:39:0, from ./gtk/gtk-makeimage.hh:27, from gtk/gtk-makeimage.cc:16: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/gtk-makeimage.cc:16: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./gtk/gtk-makeimage.hh:27:0, from gtk/gtk-makeimage.cc:16: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/gtk-makeimage.cc:16: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from gtk/gtk-makeimage.cc:17:0: ./gtk/gtk-single-url.hh: At global scope: ./gtk/gtk-single-url.hh:151:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal pauseStart; // timestamp of last download pause, or uninitialized ^~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/gtk-makeimage.cc:16: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from gtk/gtk-makeimage.cc:17:0: ./gtk/gtk-single-url.hh: In member function 'void GtkSingleUrl::on_pauseButton_clicked()': ./gtk/gtk-single-url.hh:172:33: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&pauseStart); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/gtk-makeimage.cc:16: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ gtk/gtk-makeimage.cc: In constructor 'GtkMakeImage::GtkMakeImage(const string&, const string&)': gtk/gtk-makeimage.cc:30:36: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned destLen = destDir.length(); ~~~~~~~~~~~~~~^~ gtk/gtk-makeimage.cc: In member function 'virtual bool GtkMakeImage::run()': gtk/gtk-makeimage.cc:61:44: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned lastSlash = mid.jigdoUri().rfind('/'); ~~~~~~~~~~~~~~~~~~~~^~~~~ gtk/gtk-makeimage.cc:63:17: warning: comparison is always true due to limited range of data type [-Wtype-limits] if (lastSlash != string::npos) ~~~~~~~~~~^~~~~~~~~ In file included from ./gtk/joblist.hh:28:0, from ./gtk/jobline.hh:23, from ./gtk/gtk-makeimage.hh:26, from gtk/gtk-makeimage.cc:16: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::MakeImageDl::IO]': gtk/gtk-makeimage.cc:28:27: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ c++ $cxx -c gtk/gtk-single-url.cc -o gtk/gtk-single-url.o In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject.h:26:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from ./job/single-url.hh:25:0, from ./gtk/gtk-single-url.hh:28, from gtk/gtk-single-url.cc:21: ./util/progress.hh:51:47: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ ./util/progress.hh:64:34: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:67:37: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:111:33: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from gtk/gtk-single-url.cc:21:0: ./gtk/gtk-single-url.hh:151:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal pauseStart; // timestamp of last download pause, or uninitialized ^~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from gtk/gtk-single-url.cc:21:0: ./gtk/gtk-single-url.hh: In member function 'void GtkSingleUrl::on_pauseButton_clicked()': ./gtk/gtk-single-url.hh:172:33: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&pauseStart); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ gtk/gtk-single-url.cc: In member function 'void GtkSingleUrl::updateWindow()': gtk/gtk-single-url.cc:307:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ||state == ERROR && singleUrl->resumePossible())) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/gtk-single-url.cc: In member function 'void GtkSingleUrl::resumeAsk(stat*)': gtk/gtk-single-url.cc:326:22: warning: conversion to 'int' from 'time_t {aka long int}' may alter its value [-Wconversion] int days = fileAge / (60*24); ~~~~~~~~^~~~~~~~~ gtk/gtk-single-url.cc:327:28: warning: conversion to 'int' from 'time_t {aka long int}' may alter its value [-Wconversion] int hours = fileAge / 60 - days * 24; ~~~~~~~~~~~~~^~~~~~~~~~~ gtk/gtk-single-url.cc:328:42: warning: conversion to 'int' from 'time_t {aka long int}' may alter its value [-Wconversion] int minutes = fileAge - (days * 60*24) - (hours * 60); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ gtk/gtk-single-url.cc: In member function 'void GtkSingleUrl::showProgress()': gtk/gtk-single-url.cc:522:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal now; ^~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ gtk/gtk-single-url.cc:523:26: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&now); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ gtk/gtk-single-url.cc: In member function 'void GtkSingleUrl::on_restartButton_clicked()': gtk/gtk-single-url.cc:697:14: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal now; ^~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ gtk/gtk-single-url.cc:698:28: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&now); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gtk-single-url.cc:21: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ In file included from ./util/bstream.hh:34:0, from ./util/bstream-counted.hh:24, from ./gtk/gtk-single-url.hh:25, from gtk/gtk-single-url.cc:21: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': gtk/gtk-single-url.cc:133:34: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ c++ $cxx -c gtk/gui.cc -o gtk/gui.o In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gui.cc:24: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject.h:26:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gui.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gui.cc:24: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gui.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from ./job/single-url.hh:25:0, from ./gtk/gtk-single-url.hh:28, from gtk/gui.cc:24: ./util/progress.hh:51:47: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ ./util/progress.hh:64:34: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:67:37: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:111:33: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gui.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from gtk/gui.cc:24:0: ./gtk/gtk-single-url.hh:151:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal pauseStart; // timestamp of last download pause, or uninitialized ^~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gui.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from gtk/gui.cc:24:0: ./gtk/gtk-single-url.hh: In member function 'void GtkSingleUrl::on_pauseButton_clicked()': ./gtk/gtk-single-url.hh:172:33: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&pauseStart); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-single-url.hh:26, from gtk/gui.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ In file included from ./job/makeimagedl.hh:39:0, from ./gtk/gtk-makeimage.hh:27, from gtk/gui.cc:25: ./job/url-mapping.hh: At global scope: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/gui.cc:25: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./gtk/gtk-makeimage.hh:27:0, from gtk/gui.cc:25: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/gui.cc:25: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ gtk/gui.cc: In function 'void {anonymous}::setLicenseText(GtkTextBuffer*)': gtk/gui.cc:244:62: warning: conversion to 'gint {aka int}' from 'std::streamsize {aka long int}' may alter its value [-Wconversion] gtk_text_buffer_insert(textBuf, &iter, buf, file.gcount()); ~~~~~~~~~~~^~ In file included from ./util/bstream.hh:34:0, from ./util/bstream-counted.hh:24, from ./gtk/gtk-single-url.hh:25, from gtk/gui.cc:24: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ c++ $cxx -c gtk/interface.cc -o gtk/interface.o In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from gtk/interface.cc:22: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject.h:26:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from gtk/interface.cc:22: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from gtk/interface.cc:22: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from gtk/interface.cc:22: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ gtk/interface.cc: In member function 'GtkWidget* GUI::Window::create()': gtk/interface.cc:629:71: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (jigdo_ShortInfo), 7.45058e-09, 0.5); ^ gtk/interface.cc:685:64: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (label229), 7.45058e-09, 0.5); ^ gtk/interface.cc:783:64: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (label239), 7.45058e-09, 0.5); ^ gtk/interface.cc: In member function 'GtkWidget* GUI::Settings::create()': gtk/interface.cc:1602:64: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (label121), 7.45058e-09, 0.5); ^ gtk/interface.cc:1611:64: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (label122), 7.45058e-09, 0.5); ^ gtk/interface.cc:1619:64: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (label123), 7.45058e-09, 0.5); ^ c++ $cxx -c gtk/jigdo.cc -o gtk/jigdo.o In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from ./gtk/interface.hh:8, from ./gtk/gui.hh:21, from gtk/jigdo.cc:27: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject.h:26:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/interface.hh:8, from ./gtk/gui.hh:21, from gtk/jigdo.cc:27: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from ./gtk/interface.hh:8, from ./gtk/gui.hh:21, from gtk/jigdo.cc:27: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from ./net/download.hh:24, from gtk/jigdo.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ gtk/jigdo.cc: In function 'int main(int, char**)': gtk/jigdo.cc:191:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("http_proxy="); ^ gtk/jigdo.cc:192:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("https_proxy="); ^ gtk/jigdo.cc:193:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("ftp_proxy="); ^ gtk/jigdo.cc:194:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("gopher_proxy="); ^ gtk/jigdo.cc:195:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("no_proxy="); ^ gtk/jigdo.cc:196:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("all_proxy="); ^ c++ $cxx -c gtk/jobline.cc -o gtk/jobline.o In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/jobline.cc:19: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject.h:26:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/jobline.cc:19: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/jobline.cc:19: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/jobline.cc:19: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from ./job/single-url.hh:25:0, from ./job/makeimagedl.hh:37, from ./gtk/gtk-makeimage.hh:27, from gtk/jobline.cc:19: ./util/progress.hh:51:47: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ ./util/progress.hh:64:34: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:67:37: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:111:33: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/jobline.cc:19: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from ./job/makeimagedl.hh:39:0, from ./gtk/gtk-makeimage.hh:27, from gtk/jobline.cc:19: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/jobline.cc:19: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./gtk/gtk-makeimage.hh:27:0, from gtk/jobline.cc:19: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/jobline.cc:19: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from gtk/jobline.cc:20:0: ./gtk/gtk-single-url.hh: At global scope: ./gtk/gtk-single-url.hh:151:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal pauseStart; // timestamp of last download pause, or uninitialized ^~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/jobline.cc:19: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from gtk/jobline.cc:20:0: ./gtk/gtk-single-url.hh: In member function 'void GtkSingleUrl::on_pauseButton_clicked()': ./gtk/gtk-single-url.hh:172:33: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&pauseStart); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from ./gtk/gtk-makeimage.hh:26, from gtk/jobline.cc:19: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ gtk/jobline.cc: In function 'bool {anonymous}::compareEnd(const string&, const char*)': gtk/jobline.cc:34:42: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] static const unsigned extLen = strlen(ext); ~~~~~~^~~~~ gtk/jobline.cc:36:31: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned pos = uri.size() - extLen; ~~~~~~~~~~~^~~~~~~~ gtk/jobline.cc: In static member function 'static void JobLine::create(const char*, const char*)': gtk/jobline.cc:59:40: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned destLen = destination.length(); ~~~~~~~~~~~~~~~~~~^~ gtk/jobline.cc:78:42: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned lastDirSep = destination.rfind(DIRSEP); ~~~~~~~~~~~~~~~~~^~~~~~~~ gtk/jobline.cc:99:41: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned lastDirSep = uriStr.rfind('/'); ~~~~~~~~~~~~^~~~~ In file included from ./gtk/joblist.hh:28:0, from ./gtk/jobline.hh:23, from ./gtk/gtk-makeimage.hh:26, from gtk/jobline.cc:19: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ c++ $cxx -c gtk/joblist.cc -o gtk/joblist.o In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from ./gtk/jobline.hh:20, from gtk/joblist.cc:24: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject.h:26:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from gtk/joblist.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from ./gtk/jobline.hh:20, from gtk/joblist.cc:24: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/jobline.hh:20, from gtk/joblist.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ gtk/joblist.cc: In static member function 'static void JobList::pixbufForJobLine(GtkTreeViewColumn*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer)': gtk/joblist.cc:184:41: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] subNr = cur * (PROGRESS_SUBDIV - 1) / total; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ c++ $cxx -c gtk/messagebox.cc -o gtk/messagebox.o In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from ./gtk/interface.hh:8, from ./gtk/gui.hh:21, from gtk/messagebox.cc:17: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject.h:26:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/interface.hh:8, from ./gtk/gui.hh:21, from gtk/messagebox.cc:17: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from ./gtk/interface.hh:8, from ./gtk/gui.hh:21, from gtk/messagebox.cc:17: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/interface.hh:8, from ./gtk/gui.hh:21, from gtk/messagebox.cc:17: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ c++ $cxx -c gtk/support.cc -o gtk/support.o In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from gtk/support.cc:15: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject.h:26:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from gtk/support.cc:15: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from gtk/support.cc:15: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from gtk/support.cc:15: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ c++ $cxx -c gtk/treeiter.cc -o gtk/treeiter.o In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from ./gtk/treeiter.hh:30, from gtk/treeiter.cc:15: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject.h:26:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/treeiter.hh:30, from gtk/treeiter.cc:15: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from ./gtk/treeiter.hh:30, from gtk/treeiter.cc:15: /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib-object.h:24, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /tmp/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./gtk/treeiter.hh:30, from gtk/treeiter.cc:15: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ c++ $cxx -c job/cached-url.cc -o job/cached-url.o In file included from ./job/cached-url.hh:31:0, from job/cached-url.cc:26: ./util/progress.hh:51:47: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ ./util/progress.hh:64:34: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:67:37: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:111:33: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from ./job/cached-url.hh:25, from job/cached-url.cc:26: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ job/cached-url.cc: In static member function 'static gboolean Job::CachedUrl::spoolDataCallback(gpointer)': job/cached-url.cc:118:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal start; ^~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from ./job/cached-url.hh:25, from job/cached-url.cc:26: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ job/cached-url.cc:119:28: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&start); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from ./job/cached-url.hh:25, from job/cached-url.cc:26: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ job/cached-url.cc:144:48: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] unsigned toRead = uint64(readSpeed) * left / 1000000; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ job/cached-url.cc:147:33: warning: conversion to 'unsigned int' from 'std::streamsize {aka long int}' may alter its value [-Wconversion] unsigned n = x->file->gcount(); ~~~~~~~~~~~~~~~^~ job/cached-url.cc:169:14: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal nowTime; ^~~~~~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from ./job/cached-url.hh:25, from job/cached-url.cc:26: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ job/cached-url.cc:170:32: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&nowTime); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from ./job/cached-url.hh:25, from job/cached-url.cc:26: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ job/cached-url.cc:173:38: warning: conversion to 'unsigned int' from 'glong {aka long int}' may alter its value [-Wconversion] unsigned now = (nowTime.tv_sec - start.tv_sec) * 1000000 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + nowTime.tv_usec - start.tv_usec; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ job/cached-url.cc:181:45: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] unsigned newSpeed = uint64(n) * 1000000 / timeTaken; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ c++ $cxx -c job/datasource.cc -o job/datasource.o c++ $cxx -c job/jigdo-io.cc -o job/jigdo-io.o In file included from ./job/single-url.hh:25:0, from ./job/makeimagedl.hh:37, from ./job/jigdo-io.hh:26, from job/jigdo-io.cc:20: ./util/progress.hh:51:47: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ ./util/progress.hh:64:34: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:67:37: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:111:33: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from ./job/makeimagedl.hh:23, from ./job/jigdo-io.hh:26, from job/jigdo-io.cc:20: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from ./job/makeimagedl.hh:39:0, from ./job/jigdo-io.hh:26, from job/jigdo-io.cc:20: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from job/jigdo-io.cc:16: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./job/jigdo-io.hh:26:0, from job/jigdo-io.cc:20: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from job/jigdo-io.cc:16: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/jigdo-io.cc: In member function 'virtual void Job::JigdoIO::gunzip_data(Gunzip*, byte*, unsigned int)': job/jigdo-io.cc:202:20: warning: conversion to 'unsigned int' from 'long int' may alter its value [-Wconversion] unsigned len = p - stringStart; ~~^~~~~~~~~~~~~ job/jigdo-io.cc: In member function 'void Job::JigdoIO::jigdoLine(std::__cxx11::string*)': job/jigdo-io.cc:406:29: warning: conversion to 'unsigned int' from 'long int' may alter its value [-Wconversion] entry(&labelName, &s, x - s.begin()); ~~^~~~~~~~~~~ job/jigdo-io.cc:436:21: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int i = url.size(); ~~~~~~~~^~ job/jigdo-io.cc: In member function 'void Job::JigdoIO::include(std::__cxx11::string*)': job/jigdo-io.cc:484:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr childDl( ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from job/jigdo-io.cc:16: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./util/configfile.hh:73:0, from job/jigdo-io.cc:18: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ In file included from ./util/md5sum.ih:17:0, from ./util/md5sum.hh:352, from ./job/makeimagedl.hh:35, from ./job/jigdo-io.hh:26, from job/jigdo-io.cc:20: ./util/mimestream.hh: In instantiation of 'Base64In& Base64In::operator<<(const string&) [with Output = {anonymous}::ArrayOut; std::__cxx11::string = std::__cxx11::basic_string]': job/jigdo-io.cc:577:30: required from here ./util/mimestream.hh:321:32: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] return put(x.data(), x.length()); ~~~~~~~~^~ c++ $cxx -c job/makeimage.cc -o job/makeimage.o c++ $cxx -c job/makeimagedl-info.cc -o job/makeimagedl-info.o In file included from ./job/single-url.hh:25:0, from ./job/makeimagedl.hh:37, from job/makeimagedl-info.cc:18: ./util/progress.hh:51:47: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ ./util/progress.hh:64:34: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:67:37: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:111:33: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from ./job/makeimagedl.hh:23, from job/makeimagedl-info.cc:18: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from ./job/makeimagedl.hh:39:0, from job/makeimagedl-info.cc:18: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from job/makeimagedl-info.cc:18: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from job/makeimagedl-info.cc:18:0: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from job/makeimagedl-info.cc:18: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl-info.cc: In member function 'void Job::MakeImageDl::imageInfo(std::__cxx11::string*, bool, const char**) const': job/makeimagedl-info.cc:148:38: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned outputLen = output->length(); ~~~~~~~~~~~~~~^~ In file included from ./util/configfile.hh:73:0, from ./jigdoconfig.hh:27, from job/makeimagedl-info.cc:17: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ c++ $cxx -c job/makeimagedl.cc -o job/makeimagedl.o job/makeimagedl.cc:584:2: warning: #warning "todo: mi.templateFinished();" [-Wcpp] #warning "todo: mi.templateFinished();" ^~~~~~~ In file included from ./job/cached-url.hh:31:0, from job/makeimagedl.cc:26: ./util/progress.hh:51:47: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ ./util/progress.hh:64:34: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:67:37: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:111:33: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from ./job/cached-url.hh:25, from job/makeimagedl.cc:26: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ In file included from ./job/makeimagedl.hh:39:0, from ./job/jigdo-io.hh:26, from job/makeimagedl.cc:28: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from job/makeimagedl.cc:24: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./job/jigdo-io.hh:26:0, from job/makeimagedl.cc:28: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from job/makeimagedl.cc:24: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl.cc: In constructor 'Job::MakeImageDl::MakeImageDl(const string&, const string&)': job/makeimagedl.cc:65:33: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned destLen = dest.length(); ~~~~~~~~~~~^~ job/makeimagedl.cc: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(const string&, const MD5*, std::__cxx11::string*, Job::MakeImageDl::Child*)': job/makeimagedl.cc:272:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr dl(new SingleUrl(url)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from job/makeimagedl.cc:24: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl.cc: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childForCompletedUrl(const stat&, const string&, const MD5*, Job::MakeImageDl::Child*)': job/makeimagedl.cc:297:31: warning: conversion to 'int' from 'time_t {aka long int}' may alter its value [-Wconversion] int cacheEntryAge = time(0) - fileInfo.st_mtime; ^ job/makeimagedl.cc:305:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr dl(new CachedUrl(filename, 0)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from job/makeimagedl.cc:24: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl.cc: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childForCompletedContent(const stat&, const string&, const MD5*, Job::MakeImageDl::Child*)': job/makeimagedl.cc:337:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr dl(new CachedUrl(filename, 0)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from job/makeimagedl.cc:24: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl.cc: In member function 'void Job::MakeImageDl::createJigdoDownload()': job/makeimagedl.cc:528:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr childDl(childFor(jigdoUrl)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from job/makeimagedl.cc:24: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl.cc: In member function 'void Job::MakeImageDl::jigdoFinished2()': job/makeimagedl.cc:568:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr childDl(childFor(templateUrls.get(), templateMd5Val)); ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from job/makeimagedl.cc:24: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./util/bstream.hh:34:0, from ./job/cached-url.hh:28, from job/makeimagedl.cc:26: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ c++ $cxx -c job/single-url.cc -o job/single-url.o In file included from ./job/single-url.hh:25:0, from job/single-url.cc:26: ./util/progress.hh:51:47: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ ./util/progress.hh:64:34: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:67:37: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:111:33: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from job/single-url.cc:19: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ job/single-url.cc: In member function 'void Job::SingleUrl::setResumeOffset(uint64)': job/single-url.cc:54:18: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] resumeLeft = resumeOffset; ^~~~~~~~~~~~ job/single-url.cc: In member function 'bool Job::SingleUrl::writeToDestStream(uint64, const byte*, unsigned int)': job/single-url.cc:131:27: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] realSize = destEndOff - off; ~~~~~~~~~~~^~~~~ job/single-url.cc: In member function 'virtual void Job::SingleUrl::download_data(const byte*, unsigned int, uint64)': job/single-url.cc:203:12: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] toRead -= n; ~~~~~~~^~~~ c++ $cxx -c job/url-mapping.cc -o job/url-mapping.o In file included from job/url-mapping.cc:23:0: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/g++/memory:80:0, from ./job/url-mapping.hh:34, from job/url-mapping.cc:23: /usr/include/g++/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ c++ $cxx -c net/download.cc -o net/download.o net/download.cc: In static member function 'static size_t Download::curlWriter(void*, size_t, size_t, void*)': net/download.cc:212:23: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] unsigned len = size * nmemb; ~~~~~^~~~~~~ net/download.cc:222:58: warning: conversion to 'double' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] static_cast(contentLen + self->resumeOffset())); ~~~~~~~~~~~~~~~~~~^~ net/download.cc: In member function 'void Download::generateError(Download::State, int)': net/download.cc:395:19: warning: conversion to '__gnu_cxx::__alloc_traits >::value_type {aka char}' from 'int' may alter its value [-Wconversion] s[0] = toupper(s[0]); ~~~~~~~^~~~~~ net/download.cc:398:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] s = toupper(curlError[0]); ~~~~~~~^~~~~~~~~~~~~~ c++ $cxx -c net/uri.cc -o net/uri.o net/uri.cc: In function 'unsigned int findLabelColon(const string&)': net/uri.cc:89:29: warning: conversion to 'unsigned int' from '__gnu_cxx::__normal_iterator >::difference_type {aka long int}' may alter its value [-Wconversion] if (*i == ':') return i - s.begin(); ~~^~~~~~~~~~~ c++ $cxx -c net/proxyguess.cc -o net/proxyguess.o net/proxyguess.cc:57:2: warning: #warning TODO glibcurl_add_proxy [-Wcpp] #warning TODO glibcurl_add_proxy ^~~~~~~ net/proxyguess.cc: In constructor '{anonymous}::BrowserConfig::BrowserConfig(const string&, time_t)': net/proxyguess.cc:205:15: warning: conversion to 'int' from 'time_t {aka long int}' may alter its value [-Wconversion] age = now - timestamp; ~~~~^~~~~~~~~~~ c++ $cxx -c util/gunzip.cc -o util/gunzip.o util/gunzip.cc: In member function 'void Gunzip::inject(const byte*, unsigned int)': util/gunzip.cc:211:51: warning: conversion to 'uInt {aka unsigned int}' from 'long int' may alter its value [-Wconversion] crc = crc32(crc, oldNextOut, z.next_out - oldNextOut); ~~~~~~~~~~~^~~~~~~~~~~~ util/gunzip.cc:212:56: warning: conversion to 'unsigned int' from 'long int' may alter its value [-Wconversion] io->gunzip_data(this, oldNextOut, z.next_out - oldNextOut); ~~~~~~~~~~~^~~~~~~~~~~~ util/gunzip.cc:106:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:108:5: note: here case INIT1: ^~~~ util/gunzip.cc:118:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:120:5: note: here case HEADER_CM: ^~~~ util/gunzip.cc:131:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:133:5: note: here case HEADER_FLG: ^~~~ util/gunzip.cc:156:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:158:5: note: here case HEADER_FEXTRA1: ^~~~ util/gunzip.cc:181:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:183:5: note: here case HEADER_FCOMMENT: ^~~~ util/gunzip.cc:245:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:247:5: note: here case TRAILER_CRC1: ^~~~ util/gunzip.cc:256:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:258:5: note: here case TRAILER_CRC2: ^~~~ util/gunzip.cc:267:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:269:5: note: here case TRAILER_CRC3: ^~~~ c++ $cxx -c util/progress.cc -o util/progress.o In file included from util/progress.cc:29:0: ./util/progress.hh:51:47: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ ./util/progress.hh:64:34: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:67:37: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^~~~~ ./util/progress.hh:111:33: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from util/progress.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ util/progress.cc: In member function 'void Progress::appendProgress(std::__cxx11::string*) const': util/progress.cc:75:24: warning: conversion to 'double' from 'long unsigned int' may alter its value [-Wconversion] append(*s, 100.0 * currentSizeVal / dataSizeVal).append(_("%, ")); ^~~~~~~~~~~~~~ util/progress.cc:75:41: warning: conversion to 'double' from 'long unsigned int' may alter its value [-Wconversion] append(*s, 100.0 * currentSizeVal / dataSizeVal).append(_("%, ")); ^~~~~~~~~~~ util/progress.cc: In member function 'void Progress::reset()': util/progress.cc:118:35: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&slotStart[0]); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from util/progress.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ util/progress.cc: At global scope: util/progress.cc:127:55: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] void Progress::tick(const GTimeVal& now, int millisecs) { ^ util/progress.cc:167:42: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int Progress::speed(const GTimeVal& now) const { ^~~~~ util/progress.cc: In member function 'int Progress::speed(const GTimeVal&) const': util/progress.cc:169:32: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] double elapsed = (now.tv_sec - slotStart[calcSlot].tv_sec) * 1000000.0; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:171:28: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] elapsed += now.tv_usec - slotStart[calcSlot].tv_usec; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:173:44: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] elapsed -= slotStart[calcSlot].tv_usec - now.tv_usec; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ util/progress.cc: At global scope: util/progress.cc:189:45: warning: 'GTimeVal' is deprecated [-Wdeprecated-declarations] int Progress::timeLeft(const GTimeVal& now) const { ^~~~~ util/progress.cc: In member function 'int Progress::timeLeft(const GTimeVal&) const': util/progress.cc:198:32: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] double elapsed = (now.tv_sec - slotStart[oldestSlot].tv_sec) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:202:28: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] elapsed += now.tv_usec - slotStart[oldestSlot].tv_usec; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:204:46: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] elapsed -= slotStart[oldestSlot].tv_usec - now.tv_usec; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ util/progress.cc:205:34: warning: conversion to 'double' from 'long unsigned int' may alter its value [-Wconversion] double speed = (currentSizeVal - slotSizeVal[oldestSlot]) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:209:32: warning: conversion to 'double' from 'long unsigned int' may alter its value [-Wconversion] (dataSizeVal - currentSizeVal) / speed); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ util/progress.cc: In member function 'std::ostream& Progress::put(std::ostream&) const': util/progress.cc:224:14: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal now; ^~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from util/progress.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ util/progress.cc:225:28: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&now); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from util/progress.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ util/progress.cc: In static member function 'static gboolean Progress::autoTickCallback(gpointer)': util/progress.cc:283:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal now; ^~~ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:32, from util/progress.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:26: note: declared here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^~~~~~~~ util/progress.cc:284:26: warning: 'void g_get_current_time(GTimeVal*)' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&now); ^ In file included from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/giochannel.h:35:0, from /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib.h:56, from util/progress.cc:24: /tmp/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:728:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ c++ $cxx -c util/string-utf.cc -o util/string-utf.o util/string-utf.cc: In function 'gchar* {anonymous}::localeToUTF8(const char*)': util/string-utf.cc:98:19: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int len = strlen(input); ~~~~~~^~~~~~~ c++ -o jigdo compat.o glibcurl/glibcurl.o gtk/gtk-makeimage.o gtk/gtk-single-url.o gtk/gui.o gtk/interface.o gtk/jigdo.o gtk/jobline.o gtk/joblist.o gtk/messagebox.o gtk/support.o gtk/treeiter.o jigdoconfig.o job/cached-url.o job/datasource.o job/jigdo-io.o job/makeimage.o job/makeimagedl-info.o job/makeimagedl.o job/single-url.o job/url-mapping.o net/download.o net/uri.o net/proxyguess.o util/bstream.o util/configfile.o util/glibc-getopt.o util/glibc-getopt1.o util/glibc-md5.o util/gunzip.o util/log.o util/md5sum.o util/progress.o util/string-utf.o util/debug.o -lbz2 -lz -lintl -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lharfbuzz -lpangocairo-1.0 -L/usr/X11R7/lib -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lglib-2.0 -lintl -lgobject-2.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -Wl,-R/usr/pkg/lib -lpango-1.0 -lfreetype -Wl,-rpath,/usr/X11R7/lib -lfontconfig -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -lcurl # -lws2_32 -mwindows ld: warning: libfreetype.so.19, needed by /tmp/net/jigdo/work/.buildlink/lib/libfontconfig.so, may conflict with libfreetype.so.6 cd doc && /usr/bin/make all cd po && /usr/bin/make all *** Please use pkgtools/verifypc to sanity check dependencies.