===> Building for jigdo-0.8.2nb3 /bin/cp /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/jigdo/files/interface.hh /Users/pbulk/build/net/jigdo/work/jigdo-0.8.2/src/gtk test -h gfx -o -d gfx || ln -s "./gfx" gfx cd src && /opt/pkg/bin/bmake all EXTRA_CFLAGS="" EXTRA_CXXFLAGS="" EXTRA_LDFLAGS="" clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "cachefile.cc" -o "cachefile.o" In file included from cachefile.cc:20: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ In file included from cachefile.cc:31: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ cachefile.cc:161:20: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] resultFileSize = cacheFileSize; ~ ^~~~~~~~~~~~~ 3 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "compat.cc" -o "compat.o" In file included from compat.cc:16: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ 1 warning generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "jigdo-file-cmd.cc" -o "jigdo-file-cmd.o" In file included from jigdo-file-cmd.cc:26: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ In file included from jigdo-file-cmd.cc:28: In file included from ./jigdo-file-cmd.hh:25: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from jigdo-file-cmd.cc:28: In file included from ./jigdo-file-cmd.hh:26: In file included from ./scan.hh:35: In file included from ./util/rsyncsum.hh:34: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ In file included from jigdo-file-cmd.cc:28: In file included from ./jigdo-file-cmd.hh:26: ./scan.hh:199:1: warning: 'JigdoCacheError' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct In file included from jigdo-file-cmd.cc:28: In file included from ./jigdo-file-cmd.hh:30: In file included from ./mktemplate.hh:47: ./scan.fh:16:1: warning: class 'JigdoCacheError' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] class JigdoCacheError; ^ ./scan.hh:199:8: note: previous use is here struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct In file included from jigdo-file-cmd.cc:28: In file included from ./jigdo-file-cmd.hh:25: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ jigdo-file-cmd.cc:546:21: note: in instantiation of function template specialization 'ConfigFile::split >' requested here ConfigFile::split(words, *f.label(), off); ^ 6 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "jigdo-file.cc" -o "jigdo-file.o" In file included from jigdo-file.cc:29: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ In file included from jigdo-file.cc:30: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from jigdo-file.cc:32: In file included from ./jigdo-file-cmd.hh:26: In file included from ./scan.hh:35: In file included from ./util/rsyncsum.hh:34: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ In file included from jigdo-file.cc:32: In file included from ./jigdo-file-cmd.hh:26: ./scan.hh:199:1: warning: 'JigdoCacheError' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct In file included from jigdo-file.cc:32: In file included from ./jigdo-file-cmd.hh:30: In file included from ./mktemplate.hh:47: ./scan.fh:16:1: warning: class 'JigdoCacheError' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] class JigdoCacheError; ^ ./scan.hh:199:8: note: previous use is here struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct jigdo-file.cc:111:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] m += " " + 10 - (3+1+10+2+10+3 - m.size()); ~~~~~~~~~~~~~^~~~ jigdo-file.cc:111:25: note: use array indexing to silence this warning m += " " + 10 - (3+1+10+2+10+3 - m.size()); ^ & [ ] jigdo-file.cc:136:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] m += " " + 10 - (3+1+8+1+1+8+1 - m.size()); ~~~~~~~~~~~~~^~~~ jigdo-file.cc:136:25: note: use array indexing to silence this warning m += " " + 10 - (3+1+8+1+1+8+1 - m.size()); ^ & [ ] jigdo-file.cc:151:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] m += " " + 10 - (3+1+8+2+8+1 - m.size()); ~~~~~~~~~~~~~^~~~ jigdo-file.cc:151:25: note: use array indexing to silence this warning m += " " + 10 - (3+1+8+2+8+1 - m.size()); ^ & [ ] jigdo-file.cc:167:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] m += " " + 10 - (3+1+8+2+8+1 - m.size()); ~~~~~~~~~~~~~^~~~ jigdo-file.cc:167:25: note: use array indexing to silence this warning m += " " + 10 - (3+1+8+2+8+1 - m.size()); ^ & [ ] jigdo-file.cc:220:46: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] if (nrSpaces > 0) cerr << (" " + 9 - nrSpaces); ~~~~~~~~~~~~^~~ jigdo-file.cc:220:46: note: use array indexing to silence this warning if (nrSpaces > 0) cerr << (" " + 9 - nrSpaces); ^ & [ ] jigdo-file.cc:225:26: warning: implicit conversion changes signedness: 'size_type' (aka 'unsigned long') to 'ssize_t' (aka 'long') [-Wsign-conversion] ssize_t i = s.size() - 1; ~ ~~~~~~~~~^~~ jigdo-file.cc:226:24: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_type' (aka 'unsigned long') [-Wsign-conversion] while (i >= 0 && s[i] == prevLine[i]) --i; ~ ^ jigdo-file.cc:226:39: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_type' (aka 'unsigned long') [-Wsign-conversion] while (i >= 0 && s[i] == prevLine[i]) --i; ~~~~~~~~ ^ jigdo-file.cc:227:48: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_type' (aka 'unsigned long') [-Wsign-conversion] for (ssize_t j = 0; j <= i; ++j) cerr << s[j]; ~ ^ jigdo-file.cc:250:44: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] if (nrSpaces > 0) cerr << (" " + 9 - nrSpaces); ~~~~~~~~~~~~^~~ jigdo-file.cc:250:44: note: use array indexing to silence this warning if (nrSpaces > 0) cerr << (" " + 9 - nrSpaces); ^ & [ ] jigdo-file.cc:424:18: warning: implicit conversion changes signedness: 'const char' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] x = 10 * x + *s - '0'; ~ ^~ jigdo-file.cc:454:18: warning: implicit conversion changes signedness: 'const char' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] x = 10 * x + *s - '0'; ~ ^~ jigdo-file.cc:749:28: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'uint64' (aka 'unsigned long') [-Wsign-conversion] imageSize = fileInfo.st_size; ~ ~~~~~~~~~^~~~~~~ 18 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "jigdoconfig.cc" -o "jigdoconfig.o" In file included from jigdoconfig.cc:20: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ jigdoconfig.cc:292:22: warning: implicit conversion changes signedness: 'const char' to 'unsigned int' [-Wsign-conversion] ver = 10 * ver + *i - '0'; ~ ^~ In file included from jigdoconfig.cc:20: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ jigdoconfig.cc:150:15: note: in instantiation of function template specialization 'ConfigFile::split >' requested here ConfigFile::split(words, *l.line, l.valueStart); ^ 3 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "mkimage.cc" -o "mkimage.o" In file included from mkimage.cc:31: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ In file included from mkimage.cc:33: In file included from ./mkimage.hh:30: In file included from ./scan.hh:35: In file included from ./util/rsyncsum.hh:34: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ In file included from mkimage.cc:33: In file included from ./mkimage.hh:30: ./scan.hh:199:1: warning: 'JigdoCacheError' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct In file included from mkimage.cc:38: In file included from ./mktemplate.hh:40: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from mkimage.cc:38: In file included from ./mktemplate.hh:47: ./scan.fh:16:1: warning: class 'JigdoCacheError' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] class JigdoCacheError; ^ ./scan.hh:199:8: note: previous use is here struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct mkimage.cc:92:14: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_type' (aka 'long long') [-Wsign-conversion] file.seekg(-descLen, ios::end); ~~~~~ ^~~~~~~~ mkimage.cc:101:24: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] readBytes(file, b, toRead); ~~~~~~~~~ ^~~~~~ mkimage.cc:102:21: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] size_t n = file.gcount(); ~ ~~~~~^~~~~~~~ mkimage.cc:334:25: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] md->update(buf, p - buf); ~~~~~~ ~~^~~~~ mkimage.cc:336:25: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] sd->update(buf, p - buf); ~~~~~~ ~~^~~~~ mkimage.cc:343:23: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] sd->update(buf, p - buf); ~~~~~~ ~~^~~~~ mkimage.cc:468:27: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] readBytes(f, buf, n); ~~~~~~~~~ ^ mkimage.cc:469:15: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] n = f.gcount(); ~ ~~^~~~~~~~ mkimage.cc:470:31: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] writeBytes(*img, buf, n); ~~~~~~~~~~ ^ mkimage.cc:487:25: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] readBytes(f, buf, n); ~~~~~~~~~ ^ mkimage.cc:488:13: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] n = f.gcount(); ~ ~~^~~~~~~~ mkimage.cc:489:29: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] writeBytes(*img, buf, n); ~~~~~~~~~~ ^ mkimage.cc:504:31: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] writeBytes(*img, buf, n); ~~~~~~~~~~ ^ mkimage.cc:546:27: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] readBytes(f, buf, n); ~~~~~~~~~ ^ mkimage.cc:547:15: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] n = f.gcount(); ~ ~~^~~~~~~~ mkimage.cc:548:31: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] writeBytes(*img, buf, n); ~~~~~~~~~~ ^ mkimage.cc:565:25: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] readBytes(f, buf, n); ~~~~~~~~~ ^ mkimage.cc:566:13: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] n = f.gcount(); ~ ~~^~~~~~~~ mkimage.cc:567:29: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] writeBytes(*img, buf, n); ~~~~~~~~~~ ^ mkimage.cc:582:31: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] writeBytes(*img, buf, n); ~~~~~~~~~~ ^ mkimage.cc:691:37: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] writeBytes(*img, buf, n); ~~~~~~~~~~ ^ mkimage.cc:714:39: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] writeBytes(*img, buf, n); ~~~~~~~~~~ ^ mkimage.cc:760:39: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] writeBytes(*img, buf, n); ~~~~~~~~~~ ^ mkimage.cc:889:23: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_type' (aka 'long long') [-Wsign-conversion] img->seekp(matchMD5->offset(), ios::beg); ~~~~~ ~~~~~~~~~~^~~~~~~~ mkimage.cc:921:26: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_type' (aka 'long long') [-Wsign-conversion] img->seekp(matchSHA256->offset(), ios::beg); ~~~~~ ~~~~~~~~~~~~~^~~~~~~~ mkimage.cc:960:18: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'streamoff' (aka 'long long') [-Wsign-conversion] img->seekp(imageSize); ^~~~~~~~~ mkimage.cc:1184:38: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] toCopy.size(), toCopy.size() + missing); ~ ^~~~~~~ 32 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "mkjigdo.cc" -o "mkjigdo.o" In file included from mkjigdo.cc:22: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from mkjigdo.cc:25: In file included from ./mktemplate.hh:39: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ In file included from mkjigdo.cc:25: In file included from ./mktemplate.hh:46: In file included from ./util/rsyncsum.hh:34: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ In file included from mkjigdo.cc:25: In file included from ./mktemplate.hh:232: In file included from ./partialmatch.hh:178: In file included from ./partialmatch.ih:24: ./scan.hh:199:1: warning: 'JigdoCacheError' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct mkjigdo.cc:155:51: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::iterator x = f.label()->begin() + off; ~ ^~~ mkjigdo.cc:183:51: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::iterator x = f.label()->begin() + off; ~ ^~~ 6 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "mktemplate.cc" -o "mktemplate.o" In file included from mktemplate.cc:41: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ In file included from mktemplate.cc:45: In file included from ./mkimage.hh:30: In file included from ./scan.hh:35: In file included from ./util/rsyncsum.hh:34: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ In file included from mktemplate.cc:45: In file included from ./mkimage.hh:30: ./scan.hh:199:1: warning: 'JigdoCacheError' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct In file included from mktemplate.cc:46: In file included from ./mktemplate.hh:40: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from mktemplate.cc:46: In file included from ./mktemplate.hh:47: ./scan.fh:16:1: warning: class 'JigdoCacheError' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] class JigdoCacheError; ^ ./scan.hh:199:8: note: previous use is here struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct mktemplate.cc:120:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] r += b; ~~ ^ mktemplate.cc:153:11: warning: implicit conversion changes signedness: 'Ubyte' (aka 'unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] s.put(static_cast( x & 0xff)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mktemplate.cc:154:11: warning: implicit conversion changes signedness: 'Ubyte' (aka 'unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] s.put(static_cast((x >> 8) & 0xff)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mktemplate.cc:155:11: warning: implicit conversion changes signedness: 'Ubyte' (aka 'unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] s.put(static_cast((x >> 16) & 0xff)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mktemplate.cc:156:11: warning: implicit conversion changes signedness: 'Ubyte' (aka 'unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] s.put(static_cast((x >> 24) & 0xff)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mktemplate.cc:157:11: warning: implicit conversion changes signedness: 'Ubyte' (aka 'unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] s.put(static_cast((x >> 32) & 0xff)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mktemplate.cc:158:11: warning: implicit conversion changes signedness: 'Ubyte' (aka 'unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] s.put(static_cast((x >> 40) & 0xff)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mktemplate.cc:329:15: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] (size_t)(readAmount < count ? readAmount : count)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mktemplate.cc:330:27: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] size_t n = inputFile->gcount(); ~ ~~~~~~~~~~~^~~~~~~~ mktemplate.cc:869:37: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] readBytes(*image, buf + data, thisReadAmount); ~~~~~~~~~ ^~~~~~~~~~~~~~ mktemplate.cc:870:25: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] size_t n = image->gcount(); ~ ~~~~~~~^~~~~~~~ mktemplate.cc:1078:29: warning: implicit conversion changes signedness: 'size_type' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] writeBytes(*templ, t, s.size()); ~~~~~~~~~~ ~~^~~~~~ mktemplate.cc:144:8: warning: unused function 'write48' [-Wunused-function] void write48(bostream& s, uint64 x) { ^ 18 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "partialmatch.cc" -o "partialmatch.o" In file included from partialmatch.cc:15: In file included from ./mktemplate.hh:39: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ In file included from partialmatch.cc:15: In file included from ./mktemplate.hh:40: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from partialmatch.cc:15: In file included from ./mktemplate.hh:46: In file included from ./util/rsyncsum.hh:34: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ In file included from partialmatch.cc:15: In file included from ./mktemplate.hh:232: In file included from ./partialmatch.hh:178: In file included from ./partialmatch.ih:24: ./scan.hh:199:1: warning: 'JigdoCacheError' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct 4 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "recursedir.cc" -o "recursedir.o" recursedir.cc:234:5: warning: TODO hackish [-W#warnings] # warning TODO hackish ^ 1 warning generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "scan.cc" -o "scan.o" In file included from scan.cc:30: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ In file included from scan.cc:31: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from scan.cc:33: In file included from ./scan.hh:35: In file included from ./util/rsyncsum.hh:34: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ In file included from scan.cc:33: ./scan.hh:199:1: warning: 'JigdoCacheError' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct JigdoCacheError : Error { ^ ./scan.fh:16:1: note: did you mean struct here? class JigdoCacheError; ^~~~~ struct scan.cc:263:63: warning: implicit conversion changes signedness: 'unsigned long' to 'int64_t' (aka 'long long') [-Wsign-conversion] int64_t num_csum_blocks = (size() + c->csumBlockLength - 1) / c->csumBlockLength; ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ scan.cc:368:23: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] size_t nn = input.gcount(); ~~ ~~~~~~^~~~~~~~ scan.cc:372:21: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] size_t n = bufpos - buf; ~ ~~~~~~~^~~~~ scan.cc:432:30: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] readBytes(input, buf, c->readAmount); ~~~~~~~~~ ~~~^~~~~~~~~~ scan.cc:433:15: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] n = input.gcount(); ~ ~~~~~~^~~~~~~~ scan.cc:557:37: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'uint64' (aka 'unsigned long') [-Wsign-conversion] FilePart fp(i, nameRest, fileInfo.st_size, fileInfo.st_mtime); ~~ ~~~~~~~~~^~~~~~~ 10 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/bstream.cc" -o "util/bstream.o" clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/configfile.cc" -o "util/configfile.o" In file included from util/configfile.cc:22: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ util/configfile.cc:251:34: warning: implicit conversion changes signedness: 'typename __wrap_iter::difference_type' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return x - p->text.begin() + 1; // Found matching label= line ~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~ util/configfile.cc:265:13: warning: implicit conversion changes signedness: 'typename __wrap_iter::difference_type' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] begin = x - xbeg; ~ ~~^~~~~~ util/configfile.cc:270:24: warning: implicit conversion changes signedness: 'typename __wrap_iter::difference_type' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] value = x - xbeg + 1; ~ ~~~~~~~~~^~~ util/configfile.cc:274:49: warning: implicit conversion changes signedness: 'typename __wrap_iter::difference_type' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (*x != ' ' && *x != '\t') end = x - xbeg + 1; ~ ~~~~~~~~~^~~ util/configfile.cc:415:39: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] for (string::iterator i = s.begin()+escNeeded, e = s.end(); i != e; ++i) { ~^~~~~~~~~ 6 warnings generated. clang -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -Wall -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -W -c "util/glibc-getopt.c" -o "util/glibc-getopt.o" clang -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -Wall -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -W -c "util/glibc-getopt1.c" -o "util/glibc-getopt1.o" clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/glibc-md5.cc" -o "util/glibc-md5.o" util/glibc-md5.cc:225:57: warning: implicit conversion changes signedness: 'int' to 'uint32' (aka 'unsigned int') [-Wsign-conversion] md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ~ ^~~ util/glibc-md5.cc:229:65: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy (ctx->buffer, &ctx->buffer[(left_over + add) & ~63], ~ ^~~ util/glibc-md5.cc:258:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] md5_process_block (buffer, len & ~63, ctx); ~ ^~~ util/glibc-md5.cc:259:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] buffer = (const char *) buffer + (len & ~63); ~ ^~~ 4 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/glibc-sha256.cc" -o "util/glibc-sha256.o" util/glibc-sha256.cc:160:53: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] sha256_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ~ ^~~ util/glibc-sha256.cc:164:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy (ctx->buffer, &ctx->buffer[(left_over + add) & ~63], ~ ^~~ util/glibc-sha256.cc:193:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] sha256_process_block (buffer, len & ~63, ctx); ~ ^~~ util/glibc-sha256.cc:194:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] buffer = (const char *) buffer + (len & ~63); ~ ^~~ 4 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/log.cc" -o "util/log.o" util/log.cc:61:51: warning: adding 'unsigned char' to a string does not append to the string [-Wstring-plus-int] if (unitNameLen < 15) cerr << " " + unitNameLen; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ util/log.cc:61:51: note: use array indexing to silence this warning if (unitNameLen < 15) cerr << " " + unitNameLen; ^ & [ ] 1 warning generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/md5sum.cc" -o "util/md5sum.o" util/md5sum.cc:120:23: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] readBytes(s, buf, n); ~~~~~~~~~ ^ util/md5sum.cc:121:11: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] n = s.gcount(); ~ ~~^~~~~~~~ 2 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/sha256sum.cc" -o "util/sha256sum.o" util/sha256sum.cc:148:23: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-conversion] readBytes(s, buf, n); ~~~~~~~~~ ^ util/sha256sum.cc:149:11: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] n = s.gcount(); ~ ~~^~~~~~~~ 2 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/rsyncsum.cc" -o "util/rsyncsum.o" In file included from util/rsyncsum.cc:18: In file included from ./util/rsyncsum.hh:34: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ 1 warning generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/string.cc" -o "util/string.o" clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "zstream.cc" -o "zstream.o" In file included from zstream.cc:30: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ zstream.cc:185:27: warning: implicit conversion changes signedness: 'long' to 'streamsize' (aka 'unsigned long') [-Wsign-conversion] gcountVal = nextOut - dest; ~ ~~~~~~~~^~~~~~ zstream.cc:186:26: warning: implicit conversion changes signedness: 'long' to 'uint64' (aka 'unsigned long') [-Wsign-conversion] dataUnc -= nextOut - oldNextOut; ~~ ~~~~~~~~^~~~~~~~~~~~ zstream.cc:200:28: warning: implicit conversion changes signedness: 'streamoff' (aka 'long long') to 'streamsize' (aka 'unsigned long') [-Wsign-conversion] streamsize prevPos = stream->tellg(); ~~~~~~~ ^~~~~~~~~~~~~~~ zstream.cc:205:23: warning: implicit conversion changes signedness: 'streamsize' (aka 'unsigned long') to 'off_type' (aka 'long long') [-Wsign-conversion] stream->seekg(prevPos, ios::beg); ~~~~~ ^~~~~~~ zstream.cc:278:29: warning: implicit conversion changes signedness: 'unsigned long' to 'streamsize' (aka 'long') [-Wsign-conversion] readBytes(*stream, b, toRead); ~~~~~~~~~ ^~~~~~ 6 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "zstream-bz.cc" -o "zstream-bz.o" In file included from zstream-bz.cc:26: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ zstream-bz.cc:103:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] Zobstream::open(s, 100000 * level - 50, todoBufSz); ~~~~ ~~~~~~~~~~~~~~~^~~~ zstream-bz.cc:162:56: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] availInDifference = chunkLim() - z.total_in_lo32 - z.avail_in; // <0 ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ zstream-bz.cc:186:19: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] z.avail_in += availInDifference; ~~ ^~~~~~~~~~~~~~~~~ zstream-bz.cc:190:19: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] z.avail_in -= availInDifference; ~~ ^~~~~~~~~~~~~~~~~ 5 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "zstream-gz.cc" -o "zstream-gz.o" In file included from zstream-gz.cc:28: ./serialize.hh:116:17: warning: implicit conversion changes signedness: 'const Ubyte' (aka 'const unsigned char') to 'char_type' (aka 'char') [-Wsign-conversion] stream->put(val); ~~~ ^~~ 1 warning generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/debug.cc" -o "util/debug.o" clang++ -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/glibc-sha256.o util/log.o util/md5sum.o util/sha256sum.o util/rsyncsum.o util/string.o zstream.o zstream-bz.o zstream-gz.o util/debug.o -lbz2 -lz -lintl -liconv -ldb-4 -L/opt/pkg/lib clang -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -Wall -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -W -c "glibcurl/glibcurl.c" -o "glibcurl/glibcurl.o" clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "gtk/gtk-makeimage.cc" -o "gtk/gtk-makeimage.o" In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:26: In file included from ./gtk/jobline.hh:20: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:26: In file included from ./gtk/jobline.hh:20: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:26: In file included from ./gtk/jobline.hh:23: ./gtk/joblist.hh:234:17: warning: implicit conversion changes signedness: 'guint' (aka 'unsigned int') to 'int' [-Wsign-conversion] timeoutId = g_timeout_add(TICK_INTERVAL, timeoutCallback, this); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gtk/joblist.hh:242:21: warning: implicit conversion changes signedness: 'int' to 'guint' (aka 'unsigned int') [-Wsign-conversion] g_source_remove(timeoutId); ~~~~~~~~~~~~~~~ ^~~~~~~~~ In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:36: In file included from ./job/makeimage.hh:23: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:51:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:64:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:67:22: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:111:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:27: ./job/makeimagedl.hh:479:8: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] (*s)[off] ^= ('-' ^ '~'); ~ ^~~ ./job/makeimagedl.hh:477:25: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int off = s->length() - 23; ~~~ ~~~~~~~~~~~~^~~~ In file included from gtk/gtk-makeimage.cc:17: ./gtk/gtk-single-url.hh:154:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal pauseStart; // timestamp of last download pause, or uninitialized ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-makeimage.cc:17: ./gtk/gtk-single-url.hh:175:3: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&pauseStart); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ gtk/gtk-makeimage.cc:30:30: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned destLen = destDir.length(); ~~~~~~~ ~~~~~~~~^~~~~~~~ gtk/gtk-makeimage.cc:61:39: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned lastSlash = mid.jigdoUri().rfind('/'); ~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~~ gtk/gtk-makeimage.cc:63:17: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (lastSlash != string::npos) ~~~~~~~~~ ^ ~~~~~~~~~~~~ In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:32: In file included from ./job/datasource.hh:24: ./job/job.hh:130:41: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ^ ~ ./util/debug.hh:91:14: note: expanded from macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ ./job/makeimagedl.hh:519:11: note: in instantiation of member function 'IOSource::addListener' requested here src->io.addListener(*implicit_cast(this)); ^ In file included from gtk/gtk-makeimage.cc:16: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:32: In file included from ./job/datasource.hh:24: ./job/job.hh:130:41: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ^ ~ ./util/debug.hh:91:14: note: expanded from macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ gtk/gtk-makeimage.cc:28:10: note: in instantiation of member function 'IOSource::addListener' requested here mid.io.addListener(*this); ^ 18 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "gtk/gtk-single-url.cc" -o "gtk/gtk-single-url.o" In file included from gtk/gtk-single-url.cc:23: In file included from ./gtk/gtk-single-url.hh:29: In file included from ./gtk/jobline.hh:20: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gtk/gtk-single-url.cc:23: In file included from ./gtk/gtk-single-url.hh:29: In file included from ./gtk/jobline.hh:20: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-single-url.cc:23: In file included from ./gtk/gtk-single-url.hh:29: In file included from ./gtk/jobline.hh:23: ./gtk/joblist.hh:234:17: warning: implicit conversion changes signedness: 'guint' (aka 'unsigned int') to 'int' [-Wsign-conversion] timeoutId = g_timeout_add(TICK_INTERVAL, timeoutCallback, this); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gtk/joblist.hh:242:21: warning: implicit conversion changes signedness: 'int' to 'guint' (aka 'unsigned int') [-Wsign-conversion] g_source_remove(timeoutId); ~~~~~~~~~~~~~~~ ^~~~~~~~~ In file included from gtk/gtk-single-url.cc:23: In file included from ./gtk/gtk-single-url.hh:31: In file included from ./job/single-url.hh:28: ./util/progress.hh:51:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-single-url.cc:23: In file included from ./gtk/gtk-single-url.hh:31: In file included from ./job/single-url.hh:28: ./util/progress.hh:64:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-single-url.cc:23: In file included from ./gtk/gtk-single-url.hh:31: In file included from ./job/single-url.hh:28: ./util/progress.hh:67:22: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-single-url.cc:23: In file included from ./gtk/gtk-single-url.hh:31: In file included from ./job/single-url.hh:28: ./util/progress.hh:111:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-single-url.cc:23: ./gtk/gtk-single-url.hh:154:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal pauseStart; // timestamp of last download pause, or uninitialized ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gtk-single-url.cc:23: ./gtk/gtk-single-url.hh:175:3: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&pauseStart); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ gtk/gtk-single-url.cc:162:43: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'uint64' (aka 'unsigned long') [-Wsign-conversion] singleUrl->setResumeOffset(fileInfo.st_size); ~~~~~~~~~~~~~~~ ~~~~~~~~~^~~~~~~ gtk/gtk-single-url.cc:309:46: warning: '&&' within '||' [-Wlogical-op-parentheses] ||state == ERROR && singleUrl->resumePossible())) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/gtk-single-url.cc:309:46: note: place parentheses around the '&&' expression to silence this warning ||state == ERROR && singleUrl->resumePossible())) ^ ( ) gtk/gtk-single-url.cc:328:22: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int days = fileAge / (60*24); ~~~~ ~~~~~~~~^~~~~~~~~ gtk/gtk-single-url.cc:329:28: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int hours = fileAge / 60 - days * 24; ~~~~~ ~~~~~~~~~~~~~^~~~~~~~~~~ gtk/gtk-single-url.cc:330:42: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int minutes = fileAge - (days * 60*24) - (hours * 60); ~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ gtk/gtk-single-url.cc:524:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal now; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ gtk/gtk-single-url.cc:525:3: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&now); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ gtk/gtk-single-url.cc:547:45: warning: implicit conversion changes signedness: 'int' to 'uint64' (aka 'unsigned long') [-Wsign-conversion] Progress::appendSize(&treeViewStatus, speed); ~~~~~~~~ ^~~~~ gtk/gtk-single-url.cc:697:26: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] speed = jobProgress->speed(pauseStart); // speed = bytes per sec ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ gtk/gtk-single-url.cc:699:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal now; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ gtk/gtk-single-url.cc:700:5: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&now); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ gtk/gtk-single-url.cc:701:26: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] speed = jobProgress->speed(now); // speed = bytes per sec ~ ~~~~~~~~~~~~~^~~~~~~~~~ In file included from gtk/gtk-single-url.cc:23: In file included from ./gtk/gtk-single-url.hh:31: In file included from ./job/single-url.hh:25: In file included from ./job/datasource.hh:24: ./job/job.hh:130:41: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ^ ~ ./util/debug.hh:91:14: note: expanded from macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ gtk/gtk-single-url.cc:135:17: note: in instantiation of member function 'IOSource::addListener' requested here singleUrl->io.addListener(*this); ^ 23 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "gtk/gui.cc" -o "gtk/gui.o" In file included from gtk/gui.cc:24: In file included from ./gtk/gtk-single-url.hh:29: In file included from ./gtk/jobline.hh:20: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gtk/gui.cc:24: In file included from ./gtk/gtk-single-url.hh:29: In file included from ./gtk/jobline.hh:20: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gui.cc:24: In file included from ./gtk/gtk-single-url.hh:29: In file included from ./gtk/jobline.hh:23: ./gtk/joblist.hh:234:17: warning: implicit conversion changes signedness: 'guint' (aka 'unsigned int') to 'int' [-Wsign-conversion] timeoutId = g_timeout_add(TICK_INTERVAL, timeoutCallback, this); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gtk/joblist.hh:242:21: warning: implicit conversion changes signedness: 'int' to 'guint' (aka 'unsigned int') [-Wsign-conversion] g_source_remove(timeoutId); ~~~~~~~~~~~~~~~ ^~~~~~~~~ In file included from gtk/gui.cc:24: In file included from ./gtk/gtk-single-url.hh:31: In file included from ./job/single-url.hh:28: ./util/progress.hh:51:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gui.cc:24: In file included from ./gtk/gtk-single-url.hh:31: In file included from ./job/single-url.hh:28: ./util/progress.hh:64:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gui.cc:24: In file included from ./gtk/gtk-single-url.hh:31: In file included from ./job/single-url.hh:28: ./util/progress.hh:67:22: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gui.cc:24: In file included from ./gtk/gtk-single-url.hh:31: In file included from ./job/single-url.hh:28: ./util/progress.hh:111:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gui.cc:24: ./gtk/gtk-single-url.hh:154:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal pauseStart; // timestamp of last download pause, or uninitialized ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gui.cc:24: ./gtk/gtk-single-url.hh:175:3: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&pauseStart); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/gui.cc:25: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:36: In file included from ./job/makeimage.hh:23: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from gtk/gui.cc:25: In file included from ./gtk/gtk-makeimage.hh:27: ./job/makeimagedl.hh:479:8: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] (*s)[off] ^= ('-' ^ '~'); ~ ^~~ ./job/makeimagedl.hh:477:25: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int off = s->length() - 23; ~~~ ~~~~~~~~~~~~^~~~ gtk/gui.cc:232:23: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] size_t n = file.gcount(); ~ ~~~~~^~~~~~~~ gtk/gui.cc:244:56: warning: implicit conversion loses integer precision: 'streamsize' (aka 'long') to 'gint' (aka 'int') [-Wshorten-64-to-32] gtk_text_buffer_insert(textBuf, &iter, buf, file.gcount()); ~~~~~~~~~~~~~~~~~~~~~~ ~~~~~^~~~~~~~ In file included from gtk/gui.cc:24: In file included from ./gtk/gtk-single-url.hh:31: In file included from ./job/single-url.hh:25: In file included from ./job/datasource.hh:24: ./job/job.hh:130:41: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ^ ~ ./util/debug.hh:91:14: note: expanded from macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ ./job/makeimagedl.hh:519:11: note: in instantiation of member function 'IOSource::addListener' requested here src->io.addListener(*implicit_cast(this)); ^ 16 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "gtk/interface.cc" -o "gtk/interface.o" In file included from gtk/interface.cc:22: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gtk/interface.cc:22: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ gtk/interface.cc:252:3: warning: implicit conversion changes signedness: 'int' to 'guint32' (aka 'unsigned int') [-Wsign-conversion] GTK_WIDGET_UNSET_FLAGS (aboutJigdoButton, GTK_CAN_FOCUS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:471:84: note: expanded from macro 'GTK_WIDGET_UNSET_FLAGS' #define GTK_WIDGET_UNSET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) &= ~(flag)); }G_STMT_END ~~ ^~~~~~~ gtk/interface.cc:629:55: warning: implicit conversion loses floating-point precision: 'double' to 'gfloat' (aka 'float') [-Wimplicit-float-conversion] gtk_misc_set_alignment (GTK_MISC (jigdo_ShortInfo), 7.45058e-09, 0.5); ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ gtk/interface.cc:685:48: warning: implicit conversion loses floating-point precision: 'double' to 'gfloat' (aka 'float') [-Wimplicit-float-conversion] gtk_misc_set_alignment (GTK_MISC (label229), 7.45058e-09, 0.5); ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ gtk/interface.cc:783:48: warning: implicit conversion loses floating-point precision: 'double' to 'gfloat' (aka 'float') [-Wimplicit-float-conversion] gtk_misc_set_alignment (GTK_MISC (label239), 7.45058e-09, 0.5); ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ gtk/interface.cc:810:83: warning: illegal character encoding in string literal [-Winvalid-source-encoding] gtk_entry_set_text (GTK_ENTRY (combo_entry1), _("Select the country you live in \206\222")); ^~~~ ./gtk/support.hh:22:40: note: expanded from macro '_' # define _(String) dgettext (PACKAGE, String) ^~~~~~ gtk/interface.cc:1114:3: warning: implicit conversion changes signedness: 'int' to 'guint32' (aka 'unsigned int') [-Wsign-conversion] GTK_WIDGET_UNSET_FLAGS (progressScroll, GTK_CAN_FOCUS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:471:84: note: expanded from macro 'GTK_WIDGET_UNSET_FLAGS' #define GTK_WIDGET_UNSET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) &= ~(flag)); }G_STMT_END ~~ ^~~~~~~ gtk/interface.cc:1602:48: warning: implicit conversion loses floating-point precision: 'double' to 'gfloat' (aka 'float') [-Wimplicit-float-conversion] gtk_misc_set_alignment (GTK_MISC (label121), 7.45058e-09, 0.5); ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ gtk/interface.cc:1611:48: warning: implicit conversion loses floating-point precision: 'double' to 'gfloat' (aka 'float') [-Wimplicit-float-conversion] gtk_misc_set_alignment (GTK_MISC (label122), 7.45058e-09, 0.5); ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ gtk/interface.cc:1619:48: warning: implicit conversion loses floating-point precision: 'double' to 'gfloat' (aka 'float') [-Wimplicit-float-conversion] gtk_misc_set_alignment (GTK_MISC (label123), 7.45058e-09, 0.5); ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ gtk/interface.cc:1709:3: warning: implicit conversion changes signedness: 'int' to 'guint32' (aka 'unsigned int') [-Wsign-conversion] GTK_WIDGET_UNSET_FLAGS (licenseScroll, GTK_CAN_FOCUS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:471:84: note: expanded from macro 'GTK_WIDGET_UNSET_FLAGS' #define GTK_WIDGET_UNSET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) &= ~(flag)); }G_STMT_END ~~ ^~~~~~~ 12 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "gtk/jigdo.cc" -o "gtk/jigdo.o" In file included from gtk/jigdo.cc:27: In file included from ./gtk/gui.hh:21: In file included from ./gtk/interface.hh:8: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gtk/jigdo.cc:27: In file included from ./gtk/gui.hh:21: In file included from ./gtk/interface.hh:8: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/jigdo.cc:28: In file included from ./gtk/jobline.hh:23: ./gtk/joblist.hh:234:17: warning: implicit conversion changes signedness: 'guint' (aka 'unsigned int') to 'int' [-Wsign-conversion] timeoutId = g_timeout_add(TICK_INTERVAL, timeoutCallback, this); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gtk/joblist.hh:242:21: warning: implicit conversion changes signedness: 'int' to 'guint' (aka 'unsigned int') [-Wsign-conversion] g_source_remove(timeoutId); ~~~~~~~~~~~~~~~ ^~~~~~~~~ gtk/jigdo.cc:191:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] putenv("http_proxy="); ^ gtk/jigdo.cc:192:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] putenv("https_proxy="); ^ gtk/jigdo.cc:193:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] putenv("ftp_proxy="); ^ gtk/jigdo.cc:194:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] putenv("gopher_proxy="); ^ gtk/jigdo.cc:195:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] putenv("no_proxy="); ^ gtk/jigdo.cc:196:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] putenv("all_proxy="); ^ 10 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "gtk/jobline.cc" -o "gtk/jobline.o" In file included from gtk/jobline.cc:19: In file included from ./gtk/gtk-makeimage.hh:26: In file included from ./gtk/jobline.hh:20: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gtk/jobline.cc:19: In file included from ./gtk/gtk-makeimage.hh:26: In file included from ./gtk/jobline.hh:20: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/jobline.cc:19: In file included from ./gtk/gtk-makeimage.hh:26: In file included from ./gtk/jobline.hh:23: ./gtk/joblist.hh:234:17: warning: implicit conversion changes signedness: 'guint' (aka 'unsigned int') to 'int' [-Wsign-conversion] timeoutId = g_timeout_add(TICK_INTERVAL, timeoutCallback, this); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gtk/joblist.hh:242:21: warning: implicit conversion changes signedness: 'int' to 'guint' (aka 'unsigned int') [-Wsign-conversion] g_source_remove(timeoutId); ~~~~~~~~~~~~~~~ ^~~~~~~~~ In file included from gtk/jobline.cc:19: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:36: In file included from ./job/makeimage.hh:23: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from gtk/jobline.cc:19: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:51:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/jobline.cc:19: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:64:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/jobline.cc:19: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:67:22: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/jobline.cc:19: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:111:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/jobline.cc:19: In file included from ./gtk/gtk-makeimage.hh:27: ./job/makeimagedl.hh:479:8: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] (*s)[off] ^= ('-' ^ '~'); ~ ^~~ ./job/makeimagedl.hh:477:25: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int off = s->length() - 23; ~~~ ~~~~~~~~~~~~^~~~ In file included from gtk/jobline.cc:20: ./gtk/gtk-single-url.hh:154:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal pauseStart; // timestamp of last download pause, or uninitialized ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/jobline.cc:20: ./gtk/gtk-single-url.hh:175:3: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&pauseStart); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ gtk/jobline.cc:34:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32] static const unsigned extLen = strlen(ext); ~~~~~~ ^~~~~~~~~~~ gtk/jobline.cc:36:31: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned pos = uri.size() - extLen; ~~~ ~~~~~~~~~~~^~~~~~~~ gtk/jobline.cc:59:34: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned destLen = destination.length(); ~~~~~~~ ~~~~~~~~~~~~^~~~~~~~ gtk/jobline.cc:78:37: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned lastDirSep = destination.rfind(DIRSEP); ~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~ gtk/jobline.cc:99:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned lastDirSep = uriStr.rfind('/'); ~~~~~~~~~~ ~~~~~~~^~~~~~~~~~ In file included from gtk/jobline.cc:19: In file included from ./gtk/gtk-makeimage.hh:27: In file included from ./job/makeimagedl.hh:32: In file included from ./job/datasource.hh:24: ./job/job.hh:130:41: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ^ ~ ./util/debug.hh:91:14: note: expanded from macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ ./job/makeimagedl.hh:519:11: note: in instantiation of member function 'IOSource::addListener' requested here src->io.addListener(*implicit_cast(this)); ^ 19 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "gtk/joblist.cc" -o "gtk/joblist.o" In file included from gtk/joblist.cc:24: In file included from ./gtk/jobline.hh:20: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gtk/joblist.cc:24: In file included from ./gtk/jobline.hh:20: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from gtk/joblist.cc:24: In file included from ./gtk/jobline.hh:23: ./gtk/joblist.hh:234:17: warning: implicit conversion changes signedness: 'guint' (aka 'unsigned int') to 'int' [-Wsign-conversion] timeoutId = g_timeout_add(TICK_INTERVAL, timeoutCallback, this); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gtk/joblist.hh:242:21: warning: implicit conversion changes signedness: 'int' to 'guint' (aka 'unsigned int') [-Wsign-conversion] g_source_remove(timeoutId); ~~~~~~~~~~~~~~~ ^~~~~~~~~ gtk/joblist.cc:151:20: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] unsigned width = gdk_pixbuf_get_width(progressImage); ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/joblist.cc:152:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] unsigned height = gdk_pixbuf_get_height(progressImage); ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/joblist.cc:159:54: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] width, subHeight); ^~~~~~~~~ gtk/joblist.cc:159:47: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] width, subHeight); ^~~~~ gtk/joblist.cc:158:65: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] GdkPixbuf* sub = gdk_pixbuf_new_subpixbuf(progressImage, 0, y, ~~~~~~~~~~~~~~~~~~~~~~~~ ^ gtk/joblist.cc:184:41: warning: implicit conversion loses integer precision: 'uint64' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] subNr = cur * (PROGRESS_SUBDIV - 1) / total; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 10 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "gtk/messagebox.cc" -o "gtk/messagebox.o" In file included from gtk/messagebox.cc:17: In file included from ./gtk/gui.hh:21: In file included from ./gtk/interface.hh:8: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gtk/messagebox.cc:17: In file included from ./gtk/gui.hh:21: In file included from ./gtk/interface.hh:8: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "gtk/support.cc" -o "gtk/support.o" In file included from gtk/support.cc:15: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gtk/support.cc:15: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "gtk/treeiter.cc" -o "gtk/treeiter.o" In file included from gtk/treeiter.cc:15: In file included from ./gtk/treeiter.hh:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' #define GLIB_DEPRECATED_TYPE G_DEPRECATED ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ In file included from gtk/treeiter.cc:15: In file included from ./gtk/treeiter.hh:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31: /Users/pbulk/build/net/jigdo/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 2 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "job/cached-url.cc" -o "job/cached-url.o" In file included from job/cached-url.cc:29: In file included from ./job/cached-url.hh:31: ./util/progress.hh:51:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/cached-url.cc:29: In file included from ./job/cached-url.hh:31: ./util/progress.hh:64:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/cached-url.cc:29: In file included from ./job/cached-url.hh:31: ./util/progress.hh:67:22: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/cached-url.cc:29: In file included from ./job/cached-url.hh:31: ./util/progress.hh:111:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ job/cached-url.cc:55:53: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'uint64' (aka 'unsigned long') [-Wsign-conversion] if (status == 0) progressVal.setDataSize(fileInfo.st_size); ~~~~~~~~~~~ ~~~~~~~~~^~~~~~~ job/cached-url.cc:121:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal start; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ job/cached-url.cc:122:3: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&start); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ job/cached-url.cc:172:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal nowTime; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ job/cached-url.cc:173:5: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&nowTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ job/cached-url.cc:147:48: warning: implicit conversion loses integer precision: 'uint64' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned toRead = uint64(readSpeed) * left / 1000000; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ job/cached-url.cc:150:27: warning: implicit conversion loses integer precision: 'streamsize' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] unsigned n = x->file->gcount(); ~ ~~~~~~~~~^~~~~~~~ job/cached-url.cc:176:38: warning: implicit conversion loses integer precision: 'glong' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] + nowTime.tv_usec - start.tv_usec; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ job/cached-url.cc:184:45: warning: implicit conversion loses integer precision: 'uint64' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned newSpeed = uint64(n) * 1000000 / timeTaken; ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 13 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "job/datasource.cc" -o "job/datasource.o" clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "job/jigdo-io.cc" -o "job/jigdo-io.o" In file included from job/jigdo-io.cc:21: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from job/jigdo-io.cc:23: In file included from ./job/jigdo-io.hh:29: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:51:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/jigdo-io.cc:23: In file included from ./job/jigdo-io.hh:29: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:64:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/jigdo-io.cc:23: In file included from ./job/jigdo-io.hh:29: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:67:22: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/jigdo-io.cc:23: In file included from ./job/jigdo-io.hh:29: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:111:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/jigdo-io.cc:23: In file included from ./job/jigdo-io.hh:29: ./job/makeimagedl.hh:479:8: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] (*s)[off] ^= ('-' ^ '~'); ~ ^~~ ./job/makeimagedl.hh:477:25: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int off = s->length() - 23; ~~~ ~~~~~~~~~~~~^~~~ job/jigdo-io.cc:101:45: warning: implicit conversion changes signedness: 'long' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] string line(lineChars, gunzip.nextOut() - gunzipBuf); ~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ job/jigdo-io.cc:175:32: warning: implicit conversion changes signedness: 'long' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] line.append(lineChars, p - stringStart); ~~~~~~ ~~^~~~~~~~~~~~~ job/jigdo-io.cc:196:30: warning: implicit conversion changes signedness: 'long' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] line.append(lineChars, p - stringStart); ~~~~~~ ~~^~~~~~~~~~~~~ job/jigdo-io.cc:205:20: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] unsigned len = p - stringStart; ~~~ ~~^~~~~~~~~~~~~ job/jigdo-io.cc:440:38: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] while (i > 0 && isWhitespace(url[--i])) { } ~~~ ^~~ job/jigdo-io.cc:441:17: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] url.erase(i + 1); ~~~~~ ~~^~~ job/jigdo-io.cc:409:29: warning: implicit conversion loses integer precision: 'typename __wrap_iter::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] entry(&labelName, &s, x - s.begin()); ~~~~~ ~~^~~~~~~~~~~ job/jigdo-io.cc:439:17: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int i = url.size(); ~ ~~~~^~~~~~ job/jigdo-io.cc:547:26: warning: implicit conversion changes signedness: 'const char' to 'unsigned int' [-Wsign-conversion] ver = 10 * ver + *i - '0'; ~ ^~ In file included from job/jigdo-io.cc:23: In file included from ./job/jigdo-io.hh:26: In file included from ./job/datasource.hh:24: ./job/job.hh:130:41: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ^ ~ ./util/debug.hh:91:14: note: expanded from macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ ./job/makeimagedl.hh:519:11: note: in instantiation of member function 'IOSource::addListener' requested here src->io.addListener(*implicit_cast(this)); ^ In file included from job/jigdo-io.cc:21: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ job/jigdo-io.cc:525:15: note: in instantiation of function template specialization 'ConfigFile::split >' requested here ConfigFile::split(value, *data, valueOff); ^ In file included from job/jigdo-io.cc:23: In file included from ./job/jigdo-io.hh:29: In file included from ./job/makeimagedl.hh:38: In file included from ./util/md5sum.hh:355: In file included from ./util/md5sum.ih:20: ./util/mimestream.hh:324:26: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] return put(x.data(), x.length()); ~~~ ~~^~~~~~~~ job/jigdo-io.cc:580:15: note: in instantiation of member function 'Base64In<(anonymous namespace)::ArrayOut>::operator<<' requested here decoder << value.front(); ^ job/jigdo-io.cc:44:15: warning: unused function 'advanceWhitespace' [-Wunused-function] inline bool advanceWhitespace(string::iterator& x, ^ 20 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "job/makeimage.cc" -o "job/makeimage.o" In file included from job/makeimage.cc:20: In file included from ./job/makeimage.hh:23: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ 1 warning generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "job/makeimagedl-info.cc" -o "job/makeimagedl-info.o" In file included from job/makeimagedl-info.cc:16: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ In file included from job/makeimagedl-info.cc:17: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from job/makeimagedl-info.cc:18: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:51:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/makeimagedl-info.cc:18: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:64:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/makeimagedl-info.cc:18: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:67:22: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/makeimagedl-info.cc:18: In file included from ./job/makeimagedl.hh:40: In file included from ./job/single-url.hh:28: ./util/progress.hh:111:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/makeimagedl-info.cc:18: ./job/makeimagedl.hh:479:8: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] (*s)[off] ^= ('-' ^ '~'); ~ ^~~ ./job/makeimagedl.hh:477:25: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int off = s->length() - 23; ~~~ ~~~~~~~~~~~~^~~~ job/makeimagedl-info.cc:157:52: warning: implicit conversion changes signedness: 'size_type' (aka 'unsigned long') to 'gssize' (aka 'long') [-Wsign-conversion] imageInfoVal.length(), &err) ~~~~~~~~~~~~~^~~~~~~~ job/makeimagedl-info.cc:148:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned outputLen = output->length(); ~~~~~~~~~ ~~~~~~~~^~~~~~~~ In file included from job/makeimagedl-info.cc:18: In file included from ./job/makeimagedl.hh:32: In file included from ./job/datasource.hh:24: ./job/job.hh:130:41: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ^ ~ ./util/debug.hh:91:14: note: expanded from macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ ./job/makeimagedl.hh:519:11: note: in instantiation of member function 'IOSource::addListener' requested here src->io.addListener(*implicit_cast(this)); ^ 11 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "job/makeimagedl.cc" -o "job/makeimagedl.o" In file included from job/makeimagedl.cc:29: In file included from ./job/cached-url.hh:31: ./util/progress.hh:51:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/makeimagedl.cc:29: In file included from ./job/cached-url.hh:31: ./util/progress.hh:64:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/makeimagedl.cc:29: In file included from ./job/cached-url.hh:31: ./util/progress.hh:67:22: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/makeimagedl.cc:29: In file included from ./job/cached-url.hh:31: ./util/progress.hh:111:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/makeimagedl.cc:30: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ In file included from job/makeimagedl.cc:31: In file included from ./job/jigdo-io.hh:29: In file included from ./job/makeimagedl.hh:36: In file included from ./job/makeimage.hh:23: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ In file included from job/makeimagedl.cc:31: In file included from ./job/jigdo-io.hh:29: ./job/makeimagedl.hh:479:8: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] (*s)[off] ^= ('-' ^ '~'); ~ ^~~ ./job/makeimagedl.hh:477:25: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int off = s->length() - 23; ~~~ ~~~~~~~~~~~~^~~~ job/makeimagedl.cc:68:27: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned destLen = dest.length(); ~~~~~~~ ~~~~~^~~~~~~~ job/makeimagedl.cc:94:40: warning: implicit conversion changes signedness: 'int' to 'guint' (aka 'unsigned int') [-Wsign-conversion] if (callbackId != 0) g_source_remove(callbackId); ~~~~~~~~~~~~~~~ ^~~~~~~~~~ job/makeimagedl.cc:300:31: warning: implicit conversion loses integer precision: '__darwin_time_t' (aka 'long') to 'int' [-Wshorten-64-to-32] int cacheEntryAge = time(0) - fileInfo.st_mtime; ~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~ job/makeimagedl.cc:548:16: warning: implicit conversion changes signedness: 'guint' (aka 'unsigned int') to 'int' [-Wsign-conversion] callbackId = g_idle_add_full(G_PRIORITY_HIGH_IDLE, &jigdoFinished_callback, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ job/makeimagedl.cc:587:2: warning: "todo: mi.templateFinished();" [-W#warnings] #warning "todo: mi.templateFinished();" ^ In file included from job/makeimagedl.cc:29: In file included from ./job/cached-url.hh:29: In file included from ./job/datasource.hh:24: ./job/job.hh:130:41: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ^ ~ ./util/debug.hh:91:14: note: expanded from macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ ./job/makeimagedl.hh:519:11: note: in instantiation of member function 'IOSource::addListener' requested here src->io.addListener(*implicit_cast(this)); ^ 14 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "job/single-url.cc" -o "job/single-url.o" In file included from job/single-url.cc:29: In file included from ./job/single-url.hh:28: ./util/progress.hh:51:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/single-url.cc:29: In file included from ./job/single-url.hh:28: ./util/progress.hh:64:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/single-url.cc:29: In file included from ./job/single-url.hh:28: ./util/progress.hh:67:22: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from job/single-url.cc:29: In file included from ./job/single-url.hh:28: ./util/progress.hh:111:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ job/single-url.cc:57:18: warning: implicit conversion loses integer precision: 'uint64' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] resumeLeft = resumeOffset; ~ ^~~~~~~~~~~~ job/single-url.cc:136:23: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_type' (aka 'long long') [-Wsign-conversion] destStream()->seekp(off, ios::beg); ~~~~~ ^~~ job/single-url.cc:134:27: warning: implicit conversion loses integer precision: 'uint64' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] realSize = destEndOff - off; ~ ~~~~~~~~~~~^~~~~ job/single-url.cc:200:45: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_type' (aka 'long long') [-Wsign-conversion] destStream()->seekg(destOff + currentSize - size, ios::beg); ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ job/single-url.cc:203:30: warning: implicit conversion changes signedness: 'streamsize' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] size_t n = destStream()->gcount(); ~ ~~~~~~~~~~~~~~^~~~~~~~ 9 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "job/url-mapping.cc" -o "job/url-mapping.o" In file included from job/url-mapping.cc:19: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ 1 warning generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "net/download.cc" -o "net/download.o" In file included from net/download.cc:35: In file included from ./jigdoconfig.hh:27: ./util/configfile.hh:476:42: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'difference_type' (aka 'long') [-Wsign-conversion] string::const_iterator e = s.begin() + offset; ~ ^~~~~~ net/download.cc:221:39: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] if (curl_easy_getinfo(self->handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD, ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/curl/curl.h:2924:24: note: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' has been explicitly marked deprecated here CURL_DEPRECATED(7.55.0, ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/curl/curl.h:44:18: note: expanded from macro 'CURL_DEPRECATED' __attribute__((deprecated("since " # version ". " message))) ^ net/download.cc:215:23: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] unsigned len = size * nmemb; ~~~ ~~~~~^~~~~~~ net/download.cc:398:12: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] s[0] = toupper(s[0]); ~ ^~~~~~~~~~~~~ net/download.cc:401:9: warning: implicit conversion loses integer precision: 'int' to 'value_type' (aka 'char') [-Wimplicit-int-conversion] s = toupper(curlError[0]); ~ ^~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "net/uri.cc" -o "net/uri.o" In file included from net/uri.cc:15: ./compat.hh:48:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] return truncate(path, length); ~~~~~~~~ ^~~~~~ net/uri.cc:89:29: warning: implicit conversion loses integer precision: 'typename __wrap_iter::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] if (*i == ':') return i - s.begin(); ~~~~~~ ~~^~~~~~~~~~~ 2 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "net/proxyguess.cc" -o "net/proxyguess.o" net/proxyguess.cc:60:2: warning: TODO glibcurl_add_proxy [-W#warnings] #warning TODO glibcurl_add_proxy ^ net/proxyguess.cc:208:15: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'int' [-Wshorten-64-to-32] age = now - timestamp; ~ ~~~~^~~~~~~~~~~ 2 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/gunzip.cc" -o "util/gunzip.o" util/gunzip.cc:163:29: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] data |= (nextInByte() << 8); // Upper 8 bits of XLEN (eXtra LENgth) ~~ ~~~~~~~~~~~~~^~~~ util/gunzip.cc:214:51: warning: implicit conversion loses integer precision: 'long' to 'uInt' (aka 'unsigned int') [-Wshorten-64-to-32] crc = crc32(crc, oldNextOut, z.next_out - oldNextOut); ~~~~~ ~~~~~~~~~~~^~~~~~~~~~~~ util/gunzip.cc:215:56: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] io->gunzip_data(this, oldNextOut, z.next_out - oldNextOut); ~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~~~~~~~ 3 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/progress.cc" -o "util/progress.o" In file included from util/progress.cc:29: ./util/progress.hh:51:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void tick(const GTimeVal& now, int millisecs); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from util/progress.cc:29: ./util/progress.hh:64:19: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int speed(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from util/progress.cc:29: ./util/progress.hh:67:22: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int timeLeft(const GTimeVal& now) const; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ In file included from util/progress.cc:29: ./util/progress.hh:111:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal slotStart[SPEED_SLOTS]; // Timestamp of start of slot ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ util/progress.cc:102:19: warning: implicit conversion changes signedness: 'int' to 'uint64' (aka 'unsigned long') [-Wsign-conversion] appendSize(s, speed); ~~~~~~~~~~ ^~~~~ util/progress.cc:118:3: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&slotStart[0]); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ util/progress.cc:127:27: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] void Progress::tick(const GTimeVal& now, int millisecs) { ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ util/progress.cc:167:27: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int Progress::speed(const GTimeVal& now) const { ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ util/progress.cc:189:30: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] int Progress::timeLeft(const GTimeVal& now) const { ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ util/progress.cc:208:19: warning: implicit conversion changes signedness: 'uint32' (aka 'unsigned int') to 'int' [-Wsign-conversion] int remaining = static_cast( ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~ util/progress.cc:224:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal now; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ util/progress.cc:225:5: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&now); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ util/progress.cc:258:20: warning: implicit conversion changes signedness: 'guint' (aka 'unsigned int') to 'int' [-Wsign-conversion] autoTickId = g_timeout_add(SPEED_TICK_INTERVAL, autoTickCallback, 0); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:274:23: warning: implicit conversion changes signedness: 'int' to 'guint' (aka 'unsigned int') [-Wsign-conversion] g_source_remove(autoTickId); ~~~~~~~~~~~~~~~ ^~~~~~~~~~ util/progress.cc:283:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal now; ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ util/progress.cc:284:3: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&now); ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmain.h:827:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/net/jigdo/work/.buildlink/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ 16 warnings generated. clang++ -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I. -I"." -I"./util" -I"./glibcurl" -I"./gtk" -I"./job" -I"./net" -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="\"/opt/pkg/share/jigdo/\"" -DPACKAGE_LOCALE_DIR="\"/opt/pkg/share/locale\"" -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual -c "util/string-utf.cc" -o "util/string-utf.o" util/string-utf.cc:97:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = strlen(input); ~~~ ^~~~~~~~~~~~~ util/string-utf.cc:159:26: warning: implicit conversion changes signedness: 'long' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] result.append(s, e - s); ~~~~~~ ~~^~~ util/string-utf.cc:234:22: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] unsigned max = '1' + args; ~~~ ~~~~^~~~~~ util/string-utf.cc:245:24: warning: implicit conversion changes signedness: 'long' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] result.append(i, j - i); ~~~~~~ ~~^~~ util/string-utf.cc:261:45: warning: implicit conversion changes signedness: 'gunichar' (aka 'unsigned int') to 'int' [-Wsign-conversion] if (x < max) doSubst(result, arg, x - '1', flags); // Arg subst ~~~~~~~ ~~^~~~~ 5 warnings generated. clang++ -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/glibc-sha256.o util/gunzip.o util/log.o util/md5sum.o util/sha256sum.o util/progress.o util/string-utf.o util/debug.o -lbz2 -lz -lintl -liconv -ldb-4 -L/opt/pkg/lib -L/opt/pkg/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/opt/pkg/lib -L/opt/pkg/lib -lcurl # -lws2_32 -mwindows ld: warning: ignoring duplicate libraries: '-lintl' cd doc && /opt/pkg/bin/bmake all mkdir -p tmp && cp "jigdo-file.sgml" tmp && cd tmp && docbook2man "`echo jigdo-file.sgml | sed 's%.*/%%'`" Using catalogs: /opt/pkg/etc/sgml/catalog Using stylesheet: /opt/pkg/share/sgml/docbook/utils-0.6.15/docbook-utils.dsl#print Working on: /Users/pbulk/build/net/jigdo/work/jigdo-0.8.2/doc/tmp/jigdo-file.sgml jigdo atterer.orgRichardAttererSteveMcintyre2001-2009Richard Atterer2016-2021Steve McIntyreOct 31, 2021sed -e 's/ */ /g' <"`ls tmp/*.1`" >"jigdo-file.1" rm -rf tmp rm -f "jigdo-file.html" docbook2html "jigdo-file.sgml" --nochunks Using catalogs: /opt/pkg/etc/sgml/catalog Using stylesheet: /opt/pkg/share/sgml/docbook/utils-0.6.15/docbook-utils.dsl#html Working on: /Users/pbulk/build/net/jigdo/work/jigdo-0.8.2/doc/jigdo-file.sgml mv "jigdo-file.html" "jigdo-file.html~" /opt/pkg/bin/nawk -f "./../scripts/html-beautify.awk" "jigdo-file.html~" >"jigdo-file.html" mkdir -p tmp && cp "jigdo-lite.sgml" tmp && cd tmp && docbook2man "`echo jigdo-lite.sgml | sed 's%.*/%%'`" Using catalogs: /opt/pkg/etc/sgml/catalog Using stylesheet: /opt/pkg/share/sgml/docbook/utils-0.6.15/docbook-utils.dsl#print Working on: /Users/pbulk/build/net/jigdo/work/jigdo-0.8.2/doc/tmp/jigdo-lite.sgml jigdo atterer.orgRichardAtterer2001-2002Richard AttererMay 04, 2002sed -e 's/ */ /g' <"`ls tmp/*.1`" >"jigdo-lite.1" rm -rf tmp rm -f "jigdo-lite.html" docbook2html "jigdo-lite.sgml" --nochunks Using catalogs: /opt/pkg/etc/sgml/catalog Using stylesheet: /opt/pkg/share/sgml/docbook/utils-0.6.15/docbook-utils.dsl#html Working on: /Users/pbulk/build/net/jigdo/work/jigdo-0.8.2/doc/jigdo-lite.sgml mv "jigdo-lite.html" "jigdo-lite.html~" /opt/pkg/bin/nawk -f "./../scripts/html-beautify.awk" "jigdo-lite.html~" >"jigdo-lite.html" mkdir -p tmp && cp "jigdo-mirror.sgml" tmp && cd tmp && docbook2man "`echo jigdo-mirror.sgml | sed 's%.*/%%'`" Using catalogs: /opt/pkg/etc/sgml/catalog Using stylesheet: /opt/pkg/share/sgml/docbook/utils-0.6.15/docbook-utils.dsl#print Working on: /Users/pbulk/build/net/jigdo/work/jigdo-0.8.2/doc/tmp/jigdo-mirror.sgml jigdo atterer.orgRichardAtterer2001-2002Richard AttererMay 04, 2002sed -e 's/ */ /g' <"`ls tmp/*.1`" >"jigdo-mirror.1" rm -rf tmp rm -f "jigdo-mirror.html" docbook2html "jigdo-mirror.sgml" --nochunks Using catalogs: /opt/pkg/etc/sgml/catalog Using stylesheet: /opt/pkg/share/sgml/docbook/utils-0.6.15/docbook-utils.dsl#html Working on: /Users/pbulk/build/net/jigdo/work/jigdo-0.8.2/doc/jigdo-mirror.sgml mv "jigdo-mirror.html" "jigdo-mirror.html~" /opt/pkg/bin/nawk -f "./../scripts/html-beautify.awk" "jigdo-mirror.html~" >"jigdo-mirror.html" rm -f "debian-jigdo-mini-howto.html" docbook2html "debian-jigdo-mini-howto.sgml" --nochunks Using catalogs: /opt/pkg/etc/sgml/catalog Using stylesheet: /opt/pkg/share/sgml/docbook/utils-0.6.15/docbook-utils.dsl#html Working on: /Users/pbulk/build/net/jigdo/work/jigdo-0.8.2/doc/debian-jigdo-mini-howto.sgml mv "debian-jigdo-mini-howto.html" "debian-jigdo-mini-howto.html~" /opt/pkg/bin/nawk -f "./../scripts/html-beautify.awk" "debian-jigdo-mini-howto.html~" >"debian-jigdo-mini-howto.html" cd po && /opt/pkg/bin/bmake all rm -f "de.gmo" && msgfmt --statistics -o "de.gmo" de.po /opt/pkg/bin/mksh: msgfmt: inaccessible or not found *** Error code 127 Stop. bmake[1]: stopped making "all" in /Users/pbulk/build/net/jigdo/work/jigdo-0.8.2/po *** Error code 1 Stop. bmake: stopped making "all" in /Users/pbulk/build/net/jigdo/work/jigdo-0.8.2 *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/jigdo *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/jigdo