build started at Fri Nov 30 07:51:05 UTC 2012 port directory: /usr/ports/sysutils/xstow building for: 10.0-CURRENT amd64 maintained by: rakuco@FreeBSD.org Makefile ident: $FreeBSD: head/sysutils/xstow/Makefile 305477 2012-10-07 13:59:39Z rakuco $ ---Begin Environment--- OSVERSION=1000025 UNAME_v=FreeBSD 10.0-CURRENT UNAME_r=10.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HTTP_PROXY=http://10.56.1.1:8080 PKG_EXT=txz FORCE_PACKAGE=yes http_proxy=http://10.56.1.1:8080 tpid=94061 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKG_DELETE=/usr/local/sbin/pkg delete -y -f PKG_ADD=/usr/local/sbin/pkg add PWD=/usr/local/etc/poudriere.d LOGS=/pdata/logs HOME=/root USER=root SKIPSANITY=0 LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- ================================================= ===> xstow-1.0.0 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /usr/ports/packages/All/pkg-1.0.2.txz Installing pkg-1.0.2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of xstow-1.0.0 ====================================================================== ===> Cleaning for xstow-1.0.0 ================================================= ====================================================================== ================================================= ===> xstow-1.0.0 depends on file: /usr/local/sbin/pkg - found => xstow-1.0.0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://heanet.dl.sourceforge.net/project/xstow/xstow-1.0.0.tar.bz2 xstow-1.0.0.tar.bz2 0 B 0 Bps ====================================================================== ================================================= ===> xstow-1.0.0 depends on file: /usr/local/sbin/pkg - found => SHA256 Checksum OK for xstow-1.0.0.tar.bz2. ====================================================================== ================================================= ===> xstow-1.0.0 depends on file: /usr/local/sbin/pkg - found ===> Extracting for xstow-1.0.0 => SHA256 Checksum OK for xstow-1.0.0.tar.bz2. ====================================================================== ================================================= ===> Patching for xstow-1.0.0 ====================================================================== ================================================= ===> Configuring for xstow-1.0.0 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/sysutils/xstow/work/xstow-1.0.0/configure ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/sysutils/xstow/work/xstow-1.0.0/aclocal.m4 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for library containing strerror... none required checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) gcc3 checking how to run the C++ preprocessor... c++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking string usability... yes checking string presence... yes checking for string... yes checking vector usability... yes checking vector presence... yes checking for vector... yes checking list usability... yes checking list presence... yes checking for list... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking iostream usability... yes checking iostream presence... yes checking for iostream... yes checking iomanip usability... yes checking iomanip presence... yes checking for iomanip... yes checking iterator usability... yes checking iterator presence... yes checking for iterator... yes checking fstream usability... yes checking fstream presence... yes checking for fstream... yes checking exception usability... yes checking exception presence... yes checking for exception... yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking cstdio usability... yes checking cstdio presence... yes checking for cstdio... yes checking cstring usability... yes checking cstring presence... yes checking for cstring... yes checking for string... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking algorithm usability... yes checking algorithm presence... yes checking for algorithm... yes checking for shell pattern support... enabled checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking for regular expressions support... enabled checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for curses support... enabled checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lcurses... yes checking for ominous macros in curses... no checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking strstream usability... yes checking strstream presence... yes checking for strstream... yes checking for ini file support... enabled checking for GNU like STL containers... yes checking for debugging support... disabled checking for release format support... disable checking for new std::ios_base... yes checking for static support... enabled checking create merge-info?... enabled configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands supported features: debugging: no release version of Format: no configuration files: yes shell pattern matching: yes regex pattern matching: yes using curses library: yes create static versions: yes create merge-info tool: yes make file targets: make all make mini make docu If you wanna have a documentation specific to the options you enabled or disabled, run 'make docu' before installing xstow. By default a pregenerated docu with all options turned on is used. Requirements: pod2man, pod2html (shipped with perl) and awk. ====================================================================== ================================================= ===> Building for xstow-1.0.0 make all-recursive Making all in src c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_static-arg.o -MD -MP -MF .deps/xstow_static-arg.Tpo -c -o xstow_static-arg.o `test -f 'arg.cpp' || echo './'`arg.cpp c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -DGNU_STOW -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_stow-arg.o -MD -MP -MF .deps/xstow_stow-arg.Tpo -c -o xstow_stow-arg.o `test -f 'arg.cpp' || echo './'`arg.cpp c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT arg.o -MD -MP -MF .deps/arg.Tpo -c -o arg.o arg.cpp c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_static-cppdir.o -MD -MP -MF .deps/xstow_static-cppdir.Tpo -c -o xstow_static-cppdir.o `test -f 'cppdir.cpp' || echo './'`cppdir.cpp c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT cppdir.o -MD -MP -MF .deps/cppdir.Tpo -c -o cppdir.o cppdir.cpp c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_static-debug.o -MD -MP -MF .deps/xstow_static-debug.Tpo -c -o xstow_static-debug.o `test -f 'debug.cpp' || echo './'`debug.cpp c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -DGNU_STOW -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_stow-cppdir.o -MD -MP -MF .deps/xstow_stow-cppdir.Tpo -c -o xstow_stow-cppdir.o `test -f 'cppdir.cpp' || echo './'`cppdir.cpp c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -DGNU_STOW -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_stow-debug.o -MD -MP -MF .deps/xstow_stow-debug.Tpo -c -o xstow_stow-debug.o `test -f 'debug.cpp' || echo './'`debug.cpp In file included from debug.cpp:7: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ In file included from cppdir.cpp:11: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ In file included from cppdir.cpp:11: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ In file included from arg.cpp:9: In file included from ./debug.h:13: ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ In file included from debug.cpp:7: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ In file included from arg.cpp:9: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == In file included from arg.cpp:9: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ In file included from cppdir.cpp:11: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ debug.cpp:95:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ out[0]( "unkown module name \"%s\". Using default value ALL\n", m ); ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ debug.cpp:95:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here out[0]( "unkown module name \"%s\". Using default value ALL\n", m ); ^ In file included from debug.cpp:7: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ debug.cpp:95:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here else if( ll = true ) ^ == out[0]( "unkown module name \"%s\". Using default value ALL\n", m ); ^ ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ arg.cpp:631:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ arg.cpp:631:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ debug.cpp:95:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR << "missing some values" << std::endl; ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ERROR << "missing some values" << std::endl; ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ out[0]( "unkown module name \"%s\". Using default value ALL\n", m ); ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ arg.cpp:631:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR << "missing some values" << std::endl; ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ arg.cpp:631:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR << "missing some values" << std::endl; ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ arg.cpp:631:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR << "missing some values" << std::endl; ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ debug.cpp:95:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here out[0]( "unkown module name \"%s\". Using default value ALL\n", m ); ^ In file included from debug.cpp:7: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ In file included from arg.cpp:9: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here In file included from arg.cpp:9: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ debug.cpp:95:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ arg.cpp:631:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR << "missing some values" << std::endl; ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ arg.cpp:631:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR << "missing some values" << std::endl; ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ In file included from arg.cpp:9: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ arg.cpp:631:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR << "missing some values" << std::endl; ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ out[0]( "unkown module name \"%s\". Using default value ALL\n", m ); ^ ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ arg.cpp:631:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR << "missing some values" << std::endl; ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ 6 warnings generated. mv -f .deps/xstow_static-debug.Tpo .deps/xstow_static-debug.Po 3 warnings generated. mv -f .deps/xstow_static-cppdir.Tpo .deps/xstow_static-cppdir.Po 3 warnings generated. c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.cpp mv -f .deps/cppdir.Tpo .deps/cppdir.Po c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_static-file_option.o -MD -MP -MF .deps/xstow_static-file_option.Tpo -c -o xstow_static-file_option.o `test -f 'file_option.cpp' || echo './'`file_option.cpp 6 warnings generated. c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -DGNU_STOW -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_stow-file_option.o -MD -MP -MF .deps/xstow_stow-file_option.Tpo -c -o xstow_stow-file_option.o `test -f 'file_option.cpp' || echo './'`file_option.cpp mv -f .deps/xstow_stow-debug.Tpo .deps/xstow_stow-debug.Po 3 warnings generated. mv -f .deps/xstow_stow-cppdir.Tpo .deps/xstow_stow-cppdir.Po c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT file_option.o -MD -MP -MF .deps/file_option.Tpo -c -o file_option.o file_option.cpp c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_static-format.o -MD -MP -MF .deps/xstow_static-format.Tpo -c -o xstow_static-format.o `test -f 'format.cpp' || echo './'`format.cpp In file included from debug.cpp:7: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ debug.cpp:95:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here out[0]( "unkown module name \"%s\". Using default value ALL\n", m ); ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ debug.cpp:95:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here out[0]( "unkown module name \"%s\". Using default value ALL\n", m ); ^ In file included from debug.cpp:7: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ debug.cpp:95:9: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here out[0]( "unkown module name \"%s\". Using default value ALL\n", m ); ^ mv -f .deps/xstow_static-file_option.Tpo .deps/xstow_static-file_option.Po c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -DGNU_STOW -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_stow-format.o -MD -MP -MF .deps/xstow_stow-format.Tpo -c -o xstow_stow-format.o `test -f 'format.cpp' || echo './'`format.cpp mv -f .deps/file_option.Tpo .deps/file_option.Po mv -f .deps/xstow_stow-file_option.Tpo .deps/xstow_stow-file_option.Po c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT format.o -MD -MP -MF .deps/format.Tpo -c -o format.o format.cpp In file included from format.cpp:10: 6 warnings generated. mv -f .deps/debug.Tpo .deps/debug.Po ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ 3 warnings generated. mv -f .deps/xstow_static-format.Tpo .deps/xstow_static-format.Po c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -DGNU_STOW -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_stow-main.o -MD -MP -MF .deps/xstow_stow-main.Tpo -c -o xstow_stow-main.o `test -f 'main.cpp' || echo './'`main.cpp c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_static-main.o -MD -MP -MF .deps/xstow_static-main.Tpo -c -o xstow_static-main.o `test -f 'main.cpp' || echo './'`main.cpp In file included from format.cpp:10: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ 3 warnings generated. mv -f .deps/xstow_stow-format.Tpo .deps/xstow_stow-format.Po c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_static-setup.o -MD -MP -MF .deps/xstow_static-setup.Tpo -c -o xstow_static-setup.o `test -f 'setup.cpp' || echo './'`setup.cpp In file included from format.cpp:10: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ 3 warnings generated. mv -f .deps/format.Tpo .deps/format.Po In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -DGNU_STOW -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_stow-setup.o -MD -MP -MF .deps/xstow_stow-setup.Tpo -c -o xstow_stow-setup.o `test -f 'setup.cpp' || echo './'`setup.cpp else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format::parse' requested here parse(); ^ In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:757:10: note: in instantiation of member function 'Format::Format::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format' requested here out << format( fs, a ); ^ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == main.cpp:363:7: note: in instantiation of function template specialization 'Format::PrintF >::operator()' requested here out( "XStow Version %s (C) 2002-2005 by Martin Oberzalek\n", VERSION ); ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format' requested here out << format( fs, a ); ^ main.cpp:363:7: note: in instantiation of function template specialization 'Format::PrintF >::operator()' requested here out( "XStow Version %s (C) 2002-2005 by Martin Oberzalek\n", VERSION ); ^ In file included from main.cpp:17: In file included from ./debug.h:13: 6 warnings generated. ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ mv -f .deps/xstow_static-arg.Tpo .deps/xstow_static-arg.Po ./format.h:211:3: note: in instantiation of member function 'Format::Format::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format' requested here out << format( fs, a ); ^ main.cpp:363:7: note: in instantiation of function template specialization 'Format::PrintF >::operator()' requested here out( "XStow Version %s (C) 2002-2005 by Martin Oberzalek\n", VERSION ); ^ In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format' requested here out << format( fs, a ); ^ main.cpp:363:7: note: in instantiation of function template specialization 'Format::PrintF >::operator()' requested here out( "XStow Version %s (C) 2002-2005 by Martin Oberzalek\n", VERSION ); ^ else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ main.cpp:499:4: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR( "cannot find package %s\n", (*p)[i] ); ^ ./debug.h:48:37: note: expanded from macro 'ERROR' ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format::parse' requested here parse(); ^ #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format' requested here out << format( fs, a ); ^ main.cpp:363:7: note: in instantiation of function template specialization 'Format::PrintF >::operator()' requested here out( "XStow Version %s (C) 2002-2005 by Martin Oberzalek\n", VERSION ); ^ In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ main.cpp:499:4: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR( "cannot find package %s\n", (*p)[i] ); ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ ./format.h:598:24: note: in instantiation of member function 'Format::Format::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format' requested here out << format( fs, a ); ^ main.cpp:363:7: note: in instantiation of function template specialization 'Format::PrintF >::operator()' requested here In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ out( "XStow Version %s (C) 2002-2005 by Martin Oberzalek\n", VERSION ); ^ In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ main.cpp:499:4: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR( "cannot find package %s\n", (*p)[i] ); ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ main.cpp:499:4: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR( "cannot find package %s\n", (*p)[i] ); ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ main.cpp:499:4: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR( "cannot find package %s\n", (*p)[i] ); ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ main.cpp:499:4: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR( "cannot find package %s\n", (*p)[i] ); ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT setup.o -MD -MP -MF .deps/setup.Tpo -c -o setup.o setup.cpp ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format' requested here out << format( fs, a ); ^ main.cpp:363:7: note: in instantiation of function template specialization 'Format::PrintF >::operator()' requested here out( "XStow Version %s (C) 2002-2005 by Martin Oberzalek\n", VERSION ); ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format' requested here out << format( fs, a ); ^ main.cpp:363:7: note: in instantiation of function template specialization 'Format::PrintF >::operator()' requested here out( "XStow Version %s (C) 2002-2005 by Martin Oberzalek\n", VERSION ); ^ In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format' requested here out << format( fs, a ); ^ main.cpp:363:7: note: in instantiation of function template specialization 'Format::PrintF >::operator()' requested here out( "XStow Version %s (C) 2002-2005 by Martin Oberzalek\n", VERSION ); ^ In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ main.cpp:499:4: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR( "cannot find package %s\n", (*p)[i] ); ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ main.cpp:499:4: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR( "cannot find package %s\n", (*p)[i] ); ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ In file included from main.cpp:17: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ main.cpp:499:4: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here ERROR( "cannot find package %s\n", (*p)[i] ); ^ ./debug.h:48:37: note: expanded from macro 'ERROR' #define ERROR eout( MODULE::ALL )[0]( "%s: ", progname )[0] ^ 6 warnings generated. mv -f .deps/xstow_stow-arg.Tpo .deps/xstow_stow-arg.Po In file included from setup.cpp:13: ./leoini.h:263:9: error: no viable overloaded '=' s = ""; ~ ^ ~~ /usr/include/c++/4.2/bits/basic_string.h:489:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(const basic_string& __str) ^ /usr/include/c++/4.2/bits/basic_string.h:497:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(const _CharT* __s) ^ /usr/include/c++/4.2/bits/basic_string.h:508:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(_CharT __c) ^ In file included from setup.cpp:13: ./leoini.h:265:9: error: no viable overloaded '=' s = s.substr( start+1, start-end -1 ); ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2/bits/basic_string.h:489:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(const basic_string& __str) ^ /usr/include/c++/4.2/bits/basic_string.h:497:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(const _CharT* __s) ^ /usr/include/c++/4.2/bits/basic_string.h:508:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(_CharT __c) ^ 6 warnings generated. mv -f .deps/arg.Tpo .deps/arg.Po In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_static-string_utils.o -MD -MP -MF .deps/xstow_static-string_utils.Tpo -c -o xstow_static-string_utils.o `test -f 'string_utils.cpp' || echo './'`string_utils.cpp setup.cpp:208:13: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here OUT(1)( "reading config file %s\n", config_files.files[i] ); ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ setup.cpp:208:13: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here OUT(1)( "reading config file %s\n", config_files.files[i] ); ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ setup.cpp:208:13: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here OUT(1)( "reading config file %s\n", config_files.files[i] ); ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:15: ./string_utils.h:106:7: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup str << what ENDS; ^ ./setup_config.h:193:103: note: in instantiation of function template specialization 'x2s, std::allocator > > >' requested here template std::ostream& operator<<( std::ostream &out, const Value &v ) { return out << x2s( v.data ); } ^ setup.cpp:319:7: note: in instantiation of function template specialization 'operator<<, std::allocator > > >' requested here out << setup.traversable_links.links; ^ ./setup.h:210:15: note: 'operator<<' should be declared prior to the call site or in namespace '__gnu_cxx' std::ostream& operator<<( std::ostream& out, const vec_string &v ); ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::parse' requested here parse(); ^ ./format.h:751:10: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::Format' requested here return Format::Format( fs, a, b, 0, 0, 0, 0, 2).get_string(); ^ ./format.h:842:9: note: in instantiation of function template specialization 'format, std::basic_string >' requested here out << format( fs, a, b ); ^ setup.cpp:428:11: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string >' requested here eout( "invalid nignore %s in %s\n", rules[i], ini.get_file_name() ); ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::parse' requested here parse(); ^ ./format.h:751:10: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::Format' requested here return Format::Format( fs, a, b, 0, 0, 0, 0, 2).get_string(); ^ ./format.h:842:9: note: in instantiation of function template specialization 'format, std::basic_string >' requested here out << format( fs, a, b ); ^ setup.cpp:428:11: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string >' requested here eout( "invalid nignore %s in %s\n", rules[i], ini.get_file_name() ); ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::parse' requested here parse(); ^ ./format.h:751:10: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::Format' requested here return Format::Format( fs, a, b, 0, 0, 0, 0, 2).get_string(); ^ ./format.h:842:9: note: in instantiation of function template specialization 'format, std::basic_string >' requested here out << format( fs, a, b ); ^ setup.cpp:428:11: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string >' requested here eout( "invalid nignore %s in %s\n", rules[i], ini.get_file_name() ); ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ c++ -DHAVE_CONFIG_H -I.. -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -DSTATIC_COMPILE -DGNU_STOW -O2 -pipe -fno-strict-aliasing -DNDEBUG -DSYSCONFDIR='"/usr/local/etc"' -MT xstow_stow-string_utils.o -MD -MP -MF .deps/xstow_stow-string_utils.Tpo -c -o xstow_stow-string_utils.o `test -f 'string_utils.cpp' || echo './'`string_utils.cpp ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::parse' requested here parse(); ^ ./format.h:745:10: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::Format' requested here return Format::Format( fs, a, b, c, 0, 0, 0, 3).get_string(); ^ ./format.h:851:9: note: in instantiation of function template specialization 'format, std::basic_string, std::basic_string >' requested here out << format( fs, a, b, c ); ^ setup.cpp:557:12: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string, std::basic_string >' requested here eout( " [%s]\n %s = %s <= wrong key in this section\n", ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::parse' requested here parse(); ^ ./format.h:745:10: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::Format' requested here return Format::Format( fs, a, b, c, 0, 0, 0, 3).get_string(); ^ ./format.h:851:9: note: in instantiation of function template specialization 'format, std::basic_string, std::basic_string >' requested here out << format( fs, a, b, c ); ^ setup.cpp:557:12: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string, std::basic_string >' requested here eout( " [%s]\n %s = %s <= wrong key in this section\n", ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::parse' requested here parse(); ^ ./format.h:745:10: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::Format' requested here return Format::Format( fs, a, b, c, 0, 0, 0, 3).get_string(); ^ ./format.h:851:9: note: in instantiation of function template specialization 'format, std::basic_string, std::basic_string >' requested here out << format( fs, a, b, c ); ^ setup.cpp:557:12: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string, std::basic_string >' requested here eout( " [%s]\n %s = %s <= wrong key in this section\n", ^ 12 warnings and 3 errors generated. *** [xstow_static-setup.o] Error code 1 In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:15: ./string_utils.h:106:7: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup str << what ENDS; ^ ./setup_config.h:193:103: note: in instantiation of function template specialization 'x2s, std::allocator > > >' requested here template std::ostream& operator<<( std::ostream &out, const Value &v ) { return out << x2s( v.data ); } ^ setup.cpp:319:7: note: in instantiation of function template specialization 'operator<<, std::allocator > > >' requested here out << setup.traversable_links.links; ^ ./setup.h:210:15: note: 'operator<<' should be declared prior to the call site or in namespace '__gnu_cxx' std::ostream& operator<<( std::ostream& out, const vec_string &v ); ^ 3 warnings and 1 error generated. *** [xstow_stow-setup.o] Error code 1 In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ In file included from setup.cpp:13: ./leoini.h:263:9: error: no viable overloaded '=' s = ""; ~ ^ ~~ /usr/include/c++/4.2/bits/basic_string.h:489:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(const basic_string& __str) ^ /usr/include/c++/4.2/bits/basic_string.h:497:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(const _CharT* __s) ^ /usr/include/c++/4.2/bits/basic_string.h:508:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(_CharT __c) ^ In file included from setup.cpp:13: ./leoini.h:265:9: error: no viable overloaded '=' s = s.substr( start+1, start-end -1 ); ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2/bits/basic_string.h:489:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(const basic_string& __str) ^ /usr/include/c++/4.2/bits/basic_string.h:497:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(const _CharT* __s) ^ /usr/include/c++/4.2/bits/basic_string.h:508:7: note: candidate function not viable: 'this' argument has type 'const std::string' (aka 'const basic_string'), but method is not marked const operator=(_CharT __c) ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ setup.cpp:208:13: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here OUT(1)( "reading config file %s\n", config_files.files[i] ); ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ setup.cpp:208:13: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here OUT(1)( "reading config file %s\n", config_files.files[i] ); ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::parse' requested here parse(); ^ ./format.h:757:10: note: in instantiation of member function 'Format::Format, char, char, char, char, char>::Format' requested here return Format::Format( fs, a, 0, 0, 0, 0, 0, 1).get_string(); ^ ./format.h:833:9: note: in instantiation of function template specialization 'format >' requested here out << format( fs, a ); ^ setup.cpp:208:13: note: in instantiation of function template specialization 'Format::PrintF >::operator() >' requested here OUT(1)( "reading config file %s\n", config_files.files[i] ); ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:15: ./string_utils.h:106:7: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup str << what ENDS; ^ ./setup_config.h:193:103: note: in instantiation of function template specialization 'x2s, std::allocator > > >' requested here template std::ostream& operator<<( std::ostream &out, const Value &v ) { return out << x2s( v.data ); } ^ setup.cpp:319:7: note: in instantiation of function template specialization 'operator<<, std::allocator > > >' requested here out << setup.traversable_links.links; ^ ./setup.h:210:15: note: 'operator<<' should be declared prior to the call site or in namespace '__gnu_cxx' std::ostream& operator<<( std::ostream& out, const vec_string &v ); ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::parse' requested here parse(); ^ ./format.h:751:10: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::Format' requested here return Format::Format( fs, a, b, 0, 0, 0, 0, 2).get_string(); ^ ./format.h:842:9: note: in instantiation of function template specialization 'format, std::basic_string >' requested here out << format( fs, a, b ); ^ setup.cpp:428:11: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string >' requested here eout( "invalid nignore %s in %s\n", rules[i], ini.get_file_name() ); ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:400:15: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::parse' requested here parse(); ^ ./format.h:751:10: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::Format' requested here return Format::Format( fs, a, b, 0, 0, 0, 0, 2).get_string(); ^ ./format.h:842:9: note: in instantiation of function template specialization 'format, std::basic_string >' requested here out << format( fs, a, b ); ^ setup.cpp:428:11: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string >' requested here eout( "invalid nignore %s in %s\n", rules[i], ini.get_file_name() ); ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::parse' requested here parse(); ^ ./format.h:751:10: note: in instantiation of member function 'Format::Format, std::basic_string, char, char, char, char>::Format' requested here return Format::Format( fs, a, b, 0, 0, 0, 0, 2).get_string(); ^ ./format.h:842:9: note: in instantiation of function template specialization 'format, std::basic_string >' requested here out << format( fs, a, b ); ^ setup.cpp:428:11: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string >' requested here eout( "invalid nignore %s in %s\n", rules[i], ini.get_file_name() ); ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::parse' requested here parse(); ^ ./format.h:745:10: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::Format' requested here return Format::Format( fs, a, b, c, 0, 0, 0, 3).get_string(); ^ ./format.h:851:9: note: in instantiation of function template specialization 'format, std::basic_string, std::basic_string >' requested here out << format( fs, a, b, c ); ^ setup.cpp:557:12: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string, std::basic_string >' requested here eout( " [%s]\n %s = %s <= wrong key in this section\n", ^ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ In file included from string_utils.cpp:9: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ ./format.h:400:15: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::get_int_arg' requested here f.width = get_int_arg( skip_atoi( format, pos, pos ) - 1 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::parse' requested here parse(); ^ ./format.h:745:10: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::Format' requested here return Format::Format( fs, a, b, c, 0, 0, 0, 3).get_string(); ^ ./format.h:851:9: note: in instantiation of function template specialization 'format, std::basic_string, std::basic_string >' requested here out << format( fs, a, b, c ); ^ setup.cpp:557:12: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string, std::basic_string >' requested here eout( " [%s]\n %s = %s <= wrong key in this section\n", ^ In file included from setup.cpp:11: In file included from ./setup.h:10: In file included from ./setup_config.h:14: In file included from ./debug.h:13: ./format.h:283:28: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( i > num_of_args || i < 0 ) ~ ^ ~ ./format.h:598:24: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::use_arg' requested here std::string s = use_arg( upar, f2 ); ^ ./format.h:211:3: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::parse' requested here parse(); ^ ./format.h:745:10: note: in instantiation of member function 'Format::Format, std::basic_string, std::basic_string, char, char, char>::Format' requested here return Format::Format( fs, a, b, c, 0, 0, 0, 3).get_string(); ^ ./format.h:851:9: note: in instantiation of function template specialization 'format, std::basic_string, std::basic_string >' requested here out << format( fs, a, b, c ); ^ setup.cpp:557:12: note: in instantiation of function template specialization 'Format::PrintF >::operator(), std::basic_string, std::basic_string >' requested here eout( " [%s]\n %s = %s <= wrong key in this section\n", ^ 12 warnings and 3 errors generated. *** [setup.o] Error code 1 string_utils.cpp:75:24: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] for( i = max_size; i >= 0 && s[i] != ' '; --i ); ~ ^ ~ string_utils.cpp:84:54: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] for( i = max_size - spaces; i < ss.size() && i >= 0 && ss[i] != ' '; --i ); ~ ^ ~ In file included from string_utils.cpp:9: In file included from ./debug.h:13: ./format.h:220:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if( num < 0 ) ~~~ ^ ~ ./format.h:507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( ll = true ) ~~~^~~~~~ ./format.h:507:15: note: place parentheses around the assignment to silence this warning else if( ll = true ) ^ ( ) ./format.h:507:15: note: use '==' to turn this assignment into an equality comparison else if( ll = true ) ^ == ./format.h:507:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( ll = true ) ^ string_utils.cpp:75:24: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] for( i = max_size; i >= 0 && s[i] != ' '; --i ); ~ ^ ~ string_utils.cpp:84:54: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] for( i = max_size - spaces; i < ss.size() && i >= 0 && ss[i] != ' '; --i ); ~ ^ ~ 5 warnings generated. mv -f .deps/xstow_static-string_utils.Tpo .deps/xstow_static-string_utils.Po 5 warnings generated. mv -f .deps/xstow_stow-string_utils.Tpo .deps/xstow_stow-string_utils.Po 9 warnings generated. mv -f .deps/xstow_stow-main.Tpo .deps/xstow_stow-main.Po 9 warnings generated. mv -f .deps/main.Tpo .deps/main.Po 9 warnings generated. mv -f .deps/xstow_static-main.Tpo .deps/xstow_static-main.Po 3 errors *** [all-recursive] Error code 1 1 error *** [all] Error code 2 1 error *** [do-build] Error code 1 Stop in /usr/ports/sysutils/xstow. ===> Cleaning for xstow-1.0.0 build of /usr/ports/sysutils/xstow ended at Fri Nov 30 07:52:03 UTC 2012