FreeBSD Bugzilla – Attachment 151360 Details for
Bug 196516
[New Port] mail/openemm2013 OpenEMM a email marketing enterprise app
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
openemm2013-R2.log poudriere bulk -t -f ...
openemm2013-R2.log (text/plain), 303.19 KB, created by
horst.leitenmueller
on 2015-01-05 15:22:37 UTC
(
hide
)
Description:
openemm2013-R2.log poudriere bulk -t -f ...
Filename:
MIME Type:
Creator:
horst.leitenmueller
Created:
2015-01-05 15:22:37 UTC
Size:
303.19 KB
patch
obsolete
>====>> Building mail/openemm2013 >build started at Sun Jan 4 16:40:10 CET 2015 >port directory: /usr/ports/mail/openemm2013 >building for: FreeBSD 10samd64-svnports-job-01 10.1-PRERELEASE FreeBSD 10.1-PRERELEASE amd64 >maintained by: horst.leitenmueller@liwest.at >ident warning: no id keywords in /usr/local/poudriere/data/build/10samd64-svnports/ref/../01//usr/ports/mail/openemm2013/Makefile >Makefile ident: >Poudriere version: 3.0.17 >Host OSVERSION: 1000714 >Jail OSVERSION: 1000714 > >---Begin Environment--- >OSVERSION=1000714 >UNAME_v=FreeBSD 10.1-PRERELEASE >UNAME_r=10.1-PRERELEASE >BLOCKSIZE=K >MAIL=/var/mail/root >STATUS=1 >WARNING_WAIT=0 >MASTERMNT=/usr/local/poudriere/data/build/10samd64-svnports/ref >NO_WARNING_PKG_INSTALL_EOL=yes >PKG_EXT=txz >FORCE_PACKAGE=yes >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin >POUDRIERE_BUILD_TYPE=bulk >PKGNG=1 >PKGNAME=openemm2013-R2 >PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f >PKG_ADD=/usr/local/sbin/pkg-static add >PWD=/usr/ports/mail/openemm2013 >MASTERNAME=10samd64-svnports >DEVELOPER_MODE=yes >USER=root >HOME=/root >PORTTESTING=1 >POUDRIERE_VERSION=3.0.17 >SKIPSANITY=0 >LOCALBASE=/usr/local >PACKAGE_BUILDING=yes >DEV_WARNING_WAIT=0 >PKG_BIN=/usr/local/sbin/pkg-static >---End Environment--- > >---Begin OPTIONS List--- >---End OPTIONS List--- > >--CONFIGURE_ARGS-- > >--End CONFIGURE_ARGS-- > >--CONFIGURE_ENV-- >XDG_DATA_HOME=/wrkdirs/usr/ports/mail/openemm2013/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/openemm2013/work HOME=/wrkdirs/usr/ports/mail/openemm2013/work TMPDIR="/tmp" MAKE=gmake PYTHON="/usr/local/bin/python2.7" SHELL=/bin/sh CONFIG_SHELL=/bin/sh >--End CONFIGURE_ENV-- > >--MAKE_ENV-- >XDG_DATA_HOME=/wrkdirs/usr/ports/mail/openemm2013/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/openemm2013/work HOME=/wrkdirs/usr/ports/mail/openemm2013/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="clang" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="clang++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 0644" BSD_INSTALL_MAN="install -o root -g wheel -m 444" >--End MAKE_ENV-- > >--SUB_LIST-- >APP_SHORTNAME=openemm2013 >LOG_DIR=/var/log/openemm2013 >USER=www >GROUP=www >PID_FILE=/var/run/openemm2013.pid >APP_HOME=/usr/local/openemm2013 >JAVASHAREDIR="/usr/local/share/java" >JAVAJARDIR="/usr/local/share/java/classes" >JAVALIBDIR="/usr/local/share/java/classes" >JAVA_VERSION="1.7+" >PREFIX=/usr/local >LOCALBASE=/usr/local >DATADIR=/usr/local/share/openemm2013 >DOCSDIR=/usr/local/share/doc/openemm2013 >EXAMPLESDIR=/usr/local/share/examples/openemm2013 >WWWDIR=/usr/local/www/openemm2013 >ETCDIR=/usr/local/etc/openemm2013 >--End SUB_LIST-- > >---Begin make.conf--- >USE_PACKAGE_DEPENDS=yes >BATCH=yes >WRKDIRPREFIX=/wrkdirs >PACKAGES=/packages >DISTDIR=/distfiles >DISABLE_MAKE_JOBS=poudriere >---End make.conf--- >===> Cleaning for openemm2013-R2 >=======================<phase: check-sanity >============================ >===> License MPL accepted by the user >=========================================================================== >=======================<phase: pkg-depends >============================ >===> openemm2013-R2 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 /packages/All/pkg-1.3.7.txz >[10samd64-svnports-job-01] Installing pkg-1.3.7... done >Message for pkg-1.3.7: > If you are upgrading from the old package format, first run: > > # pkg2ng >===> Returning to build of openemm2013-R2 >=========================================================================== >=======================<phase: fetch-depends >============================ >=========================================================================== >10samd64-svnports-job-01: removed >=======================<phase: fetch >============================ >===> License MPL accepted by the user >===> openemm2013-R2 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by openemm2013-R2 for building >=========================================================================== >=======================<phase: checksum >============================ >===> License MPL accepted by the user >===> openemm2013-R2 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by openemm2013-R2 for building >=> SHA256 Checksum OK for OpenEMM-2013_R2-src.tar.gz. >=> SHA256 Checksum OK for OpenEMM-2013_R2-JARs.tar.gz. >=> SHA256 Checksum OK for itext-2.1.7.jar. >10samd64-svnports-job-01: removed >=========================================================================== >=======================<phase: extract-depends>============================ >=========================================================================== >=======================<phase: extract >============================ >===> License MPL accepted by the user >===> openemm2013-R2 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by openemm2013-R2 for building >===> Extracting for openemm2013-R2 >=> SHA256 Checksum OK for OpenEMM-2013_R2-src.tar.gz. >=> SHA256 Checksum OK for OpenEMM-2013_R2-JARs.tar.gz. >=> SHA256 Checksum OK for itext-2.1.7.jar. >/bin/mkdir -p /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/lib >/bin/rm -f /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/lib/mysql*.jar >/bin/rm -f -rf /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/contrib >/bin/rm -f -rf /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/other/make_backend.sh >=========================================================================== >=======================<phase: patch-depends >============================ >=========================================================================== >=======================<phase: patch >============================ >===> Patching for openemm2013-R2 >===> Converting DOS text files to UNIX text files >Installation settings: > Location of TomcatHome: > Location of JDK: /usr/local/openjdk7 > Location of Java port: java/openjdk7 >===> Applying FreeBSD patches for openemm2013-R2 >=========================================================================== >=======================<phase: build-depends >============================ >===> openemm2013-R2 depends on file: /usr/local/apache-tomcat-8.0/bin/bootstrap.jar - not found >===> Verifying install for /usr/local/apache-tomcat-8.0/bin/bootstrap.jar in /usr/ports/www/tomcat8 >===> Installing existing package /packages/All/tomcat8-8.0.9.txz >[10samd64-svnports-job-01] Installing alsa-lib-1.0.28... done >[10samd64-svnports-job-01] Installing dejavu-2.34_4... done >[10samd64-svnports-job-01] Installing expat-2.1.0_1... done >[10samd64-svnports-job-01] Installing freetype2-2.5.3_2... done >[10samd64-svnports-job-01] Installing fontconfig-2.11.0_3,1... done >Running fc-cache to build fontconfig cache... >/usr/local/share/fonts: skipping, no such directory >/usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 2 dirs >/usr/local/lib/X11/fonts/dejavu: caching, new cache contents: 21 fonts, 0 dirs >/usr/local/lib/X11/fonts/local: caching, new cache contents: 0 fonts, 0 dirs >/root/.local/share/fonts: skipping, no such directory >/root/.fonts: skipping, no such directory >/usr/local/share/fonts: skipping, no such directory >/usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 2 dirs >/root/.local/share/fonts: skipping, no such directory >/root/.fonts: skipping, no such directory >/var/db/fontconfig: cleaning cache directory >/root/.cache/fontconfig: not cleaning non-existent cache directory >/root/.fontconfig: not cleaning non-existent cache directory >fc-cache: succeeded >[10samd64-svnports-job-01] Installing java-zoneinfo-2014.f... done >[10samd64-svnports-job-01] Installing javavmwrapper-2.5... done >[10samd64-svnports-job-01] Installing kbproto-1.0.6... done >[10samd64-svnports-job-01] Installing xproto-7.0.26... done >[10samd64-svnports-job-01] Installing libXau-1.0.8_2... done >[10samd64-svnports-job-01] Installing libXdmcp-1.1.1_2... done >[10samd64-svnports-job-01] Installing libpthread-stubs-0.3_5... done >[10samd64-svnports-job-01] Installing libxml2-2.9.1_1... done >[10samd64-svnports-job-01] Installing libxcb-1.10_2... done >[10samd64-svnports-job-01] Installing libX11-1.6.2_2,1... done >[10samd64-svnports-job-01] Installing xextproto-7.3.0... done >[10samd64-svnports-job-01] Installing libXext-1.3.2_2,1... done >[10samd64-svnports-job-01] Installing inputproto-2.3.1... done >[10samd64-svnports-job-01] Installing fixesproto-5.0... done >[10samd64-svnports-job-01] Installing libXfixes-5.0.1_2... done >[10samd64-svnports-job-01] Installing libXi-1.7.4,1... done >[10samd64-svnports-job-01] Installing renderproto-0.11.1... done >[10samd64-svnports-job-01] Installing libXrender-0.9.8_2... done >[10samd64-svnports-job-01] Installing libICE-1.0.9,1... done >[10samd64-svnports-job-01] Installing libSM-1.2.2_2,1... done >[10samd64-svnports-job-01] Installing libXt-1.1.4_2,1... done >[10samd64-svnports-job-01] Installing recordproto-1.14.2... done >[10samd64-svnports-job-01] Installing libXtst-1.2.2_2... done >[10samd64-svnports-job-01] Installing openjdk-7.65.17,1... done >[10samd64-svnports-job-01] Installing jakarta-commons-daemon-1.0.15... done >[10samd64-svnports-job-01] Installing tomcat8-8.0.9... done >Message for dejavu-2.34_4: > Make sure that the freetype module is loaded. If it is not, add the following >line to the "Modules" section of your X Windows configuration file: > > Load "freetype" > >Add the following line to the "Files" section of X Windows configuration file: > > FontPath "/usr/local/lib/X11/fonts/dejavu/" > >Note: your X Windows configuration file is typically /etc/X11/XF86Config >if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. >Message for openjdk-7.65.17,1: > ====================================================================== > >This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and >procfs(5) mounted on /proc for some functionality. > >If you have not done it yet, please do the following: > > mount -t fdescfs fdesc /dev/fd > mount -t procfs proc /proc > >To make it permanent, you need the following lines in /etc/fstab: > > fdesc /dev/fd fdescfs rw 0 0 > proc /proc procfs rw 0 0 > >====================================================================== >===> Returning to build of openemm2013-R2 >===> openemm2013-R2 depends on file: /usr/local/bin/ant - not found >===> Verifying install for /usr/local/bin/ant in /usr/ports/devel/apache-ant >===> Installing existing package /packages/All/apache-ant-1.9.4.txz >[10samd64-svnports-job-01] Installing apache-ant-1.9.4... done >===> Returning to build of openemm2013-R2 >===> openemm2013-R2 depends on file: /usr/local/openjdk7/bin/java - found >===> openemm2013-R2 depends on executable: gmake - not found >===> Verifying install for gmake in /usr/ports/devel/gmake >===> Installing existing package /packages/All/gmake-3.82_1.txz >[10samd64-svnports-job-01] Installing indexinfo-0.2... done >[10samd64-svnports-job-01] Installing gettext-0.18.3.1_1... done >[10samd64-svnports-job-01] Installing gmake-3.82_1... done >===> Returning to build of openemm2013-R2 >=========================================================================== >=======================<phase: lib-depends >============================ >===> openemm2013-R2 depends on shared library: libslang.so - not found >===> Verifying for libslang.so in /usr/ports/devel/libslang2 >===> Installing existing package /packages/All/libslang2-2.2.4_6.txz >[10samd64-svnports-job-01] Installing pcre-8.35... done >[10samd64-svnports-job-01] Installing png-1.5.18... done >[10samd64-svnports-job-01] Installing libslang2-2.2.4_6... done >===> Returning to build of openemm2013-R2 >===> openemm2013-R2 depends on shared library: libsa.so - not found >===> Verifying for libsa.so in /usr/ports/net/ossp-sa >===> Installing existing package /packages/All/ossp-sa-1.2.6_1.txz >[10samd64-svnports-job-01] Installing ossp-ex-1.0.6_1... done >[10samd64-svnports-job-01] Installing ossp-sa-1.2.6_1... done >===> Returning to build of openemm2013-R2 >=========================================================================== >=======================<phase: configure >============================ >===> openemm2013-R2 depends on file: /usr/local/apache-tomcat-8.0/bin/bootstrap.jar - found >===> openemm2013-R2 depends on file: /usr/local/bin/ant - found >===> openemm2013-R2 depends on file: /usr/local/openjdk7/bin/java - found >===> openemm2013-R2 depends on executable: gmake - found >===> openemm2013-R2 depends on shared library: libslang.so - found (/usr/local/lib/libslang.so.2.2.4) >===> openemm2013-R2 depends on shared library: libsa.so - found (/usr/local/lib/libsa.so.12.0.26) >===> Configuring for openemm2013-R2 >=========================================================================== >=======================<phase: build >============================ >===> Building for openemm2013-R2 >Building C Backend >Building /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/lib >gmake[1]: Entering directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/lib' >clang -O2 -pipe -fno-strict-aliasing -I. -c -o atob.o atob.c >clang -O2 -pipe -fno-strict-aliasing -I. -c -o buffer.o buffer.c >buffer.c:54:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = realloc (b -> buffer, nsize + b -> spare)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >buffer.c:54:12: note: place parentheses around the assignment to silence this warning > if (temp = realloc (b -> buffer, nsize + b -> spare)) { > ^ > ( ) >buffer.c:54:12: note: use '==' to turn this assignment into an equality comparison > if (temp = realloc (b -> buffer, nsize + b -> spare)) { > ^ > == >buffer.c:74:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (b = (buffer_t *) malloc (sizeof (buffer_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >buffer.c:74:8: note: place parentheses around the assignment to silence this warning > if (b = (buffer_t *) malloc (sizeof (buffer_t))) { > ^ > ( ) >buffer.c:74:8: note: use '==' to turn this assignment into an equality comparison > if (b = (buffer_t *) malloc (sizeof (buffer_t))) { > ^ > == >buffer.c:550:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ret = (byte_t *) malloc ((rlen + 1) * sizeof (byte_t))) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >buffer.c:550:10: note: place parentheses around the assignment to silence this warning > if (ret = (byte_t *) malloc ((rlen + 1) * sizeof (byte_t))) { > ^ > ( ) >buffer.c:550:10: note: use '==' to turn this assignment into an equality comparison > if (ret = (byte_t *) malloc ((rlen + 1) * sizeof (byte_t))) { > ^ > == >buffer.c:584:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (b ? b -> length + 1 : 1)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >buffer.c:584:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (b ? b -> length + 1 : 1)) { > ^ > ( ) >buffer.c:584:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (b ? b -> length + 1 : 1)) { > ^ > == >buffer.c:652:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p = (pool_t *) malloc (sizeof (pool_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >buffer.c:652:8: note: place parentheses around the assignment to silence this warning > if (p = (pool_t *) malloc (sizeof (pool_t))) { > ^ > ( ) >buffer.c:652:8: note: use '==' to turn this assignment into an equality comparison > if (p = (pool_t *) malloc (sizeof (pool_t))) { > ^ > == >buffer.c:671:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (temp = p -> root) { > ~~~~~^~~~~~~~~~~ >buffer.c:671:14: note: place parentheses around the assignment to silence this warning > while (temp = p -> root) { > ^ > ( ) >buffer.c:671:14: note: use '==' to turn this assignment into an equality comparison > while (temp = p -> root) { > ^ > == >buffer.c:681:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (b = p -> root) { > ~~^~~~~~~~~~~ >buffer.c:681:8: note: place parentheses around the assignment to silence this warning > if (b = p -> root) { > ^ > ( ) >buffer.c:681:8: note: use '==' to turn this assignment into an equality comparison > if (b = p -> root) { > ^ > == >7 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o cache.o cache.c >cache.c:43:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (c = (centry_t *) malloc (sizeof (centry_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cache.c:43:8: note: place parentheses around the assignment to silence this warning > if (c = (centry_t *) malloc (sizeof (centry_t))) { > ^ > ( ) >cache.c:43:8: note: use '==' to turn this assignment into an equality comparison > if (c = (centry_t *) malloc (sizeof (centry_t))) { > ^ > == >cache.c:62:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ce -> key = realloc (ce -> key, klen)) { > ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >cache.c:62:16: note: place parentheses around the assignment to silence this warning > if (ce -> key = realloc (ce -> key, klen)) { > ^ > ( ) >cache.c:62:16: note: use '==' to turn this assignment into an equality comparison > if (ce -> key = realloc (ce -> key, klen)) { > ^ > == >cache.c:75:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ce -> data = realloc (ce -> data, dlen)) { > ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cache.c:75:17: note: place parentheses around the assignment to silence this warning > if (ce -> data = realloc (ce -> data, dlen)) { > ^ > ( ) >cache.c:75:17: note: use '==' to turn this assignment into an equality comparison > if (ce -> data = realloc (ce -> data, dlen)) { > ^ > == >cache.c:115:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (c = (cache_t *) malloc (sizeof (cache_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cache.c:115:8: note: place parentheses around the assignment to silence this warning > if (c = (cache_t *) malloc (sizeof (cache_t))) { > ^ > ( ) >cache.c:115:8: note: use '==' to turn this assignment into an equality comparison > if (c = (cache_t *) malloc (sizeof (cache_t))) { > ^ > == >cache.c:121:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (c -> store = (centry_t **) malloc (c -> hsize * sizeof (centry_t))) { > ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cache.c:121:18: note: place parentheses around the assignment to silence this warning > if (c -> store = (centry_t **) malloc (c -> hsize * sizeof (centry_t))) { > ^ > ( ) >cache.c:121:18: note: use '==' to turn this assignment into an equality comparison > if (c -> store = (centry_t **) malloc (c -> hsize * sizeof (centry_t))) { > ^ > == >5 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o csig.o csig.c >csig.c:99:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (c = (csig_t *) malloc (sizeof (csig_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >csig.c:99:8: note: place parentheses around the assignment to silence this warning > if (c = (csig_t *) malloc (sizeof (csig_t))) { > ^ > ( ) >csig.c:99:8: note: use '==' to turn this assignment into an equality comparison > if (c = (csig_t *) malloc (sizeof (csig_t))) { > ^ > == >csig.c:145:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = c -> base) { > ~~~~^~~~~~~~~~~ >csig.c:145:14: note: place parentheses around the assignment to silence this warning > while (tmp = c -> base) { > ^ > ( ) >csig.c:145:14: note: use '==' to turn this assignment into an equality comparison > while (tmp = c -> base) { > ^ > == >2 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o daemon.o daemon.c >daemon.c:37:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (d = (daemon_t *) malloc (sizeof (daemon_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >daemon.c:37:8: note: place parentheses around the assignment to silence this warning > if (d = (daemon_t *) malloc (sizeof (daemon_t))) { > ^ > ( ) >daemon.c:37:8: note: use '==' to turn this assignment into an equality comparison > if (d = (daemon_t *) malloc (sizeof (daemon_t))) { > ^ > == >daemon.c:46:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strrchr (prog, '/')) > ~~~~^~~~~~~~~~~~~~~~~~~~~ >daemon.c:46:12: note: place parentheses around the assignment to silence this warning > if (ptr = strrchr (prog, '/')) > ^ > ( ) >daemon.c:46:12: note: use '==' to turn this assignment into an equality comparison > if (ptr = strrchr (prog, '/')) > ^ > == >daemon.c:50:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (d -> pidfile = malloc (sizeof (_PATH_VARRUN) + strlen (ptr))) > ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >daemon.c:50:21: note: place parentheses around the assignment to silence this warning > if (d -> pidfile = malloc (sizeof (_PATH_VARRUN) + strlen (ptr))) > ^ > ( ) >daemon.c:50:21: note: use '==' to turn this assignment into an equality comparison > if (d -> pidfile = malloc (sizeof (_PATH_VARRUN) + strlen (ptr))) > ^ > == >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o hash.o hash.c >clang -O2 -pipe -fno-strict-aliasing -I. -c -o lock.o lock.c >lock.c:35:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (l = (lock_t *) malloc (sizeof (lock_t))) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >lock.c:35:8: note: place parentheses around the assignment to silence this warning > if (l = (lock_t *) malloc (sizeof (lock_t))) > ^ > ( ) >lock.c:35:8: note: use '==' to turn this assignment into an equality comparison > if (l = (lock_t *) malloc (sizeof (lock_t))) > ^ > == >lock.c:36:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (l ->fname = strdup (fname)) { > ~~~~~~~~~~^~~~~~~~~~~~~~~~ >lock.c:36:17: note: place parentheses around the assignment to silence this warning > if (l ->fname = strdup (fname)) { > ^ > ( ) >lock.c:36:17: note: use '==' to turn this assignment into an equality comparison > if (l ->fname = strdup (fname)) { > ^ > == >lock.c:38:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o log.o log.c >log.c:59:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (i = (idc_t *) malloc (sizeof (idc_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >log.c:59:8: note: place parentheses around the assignment to silence this warning > if (i = (idc_t *) malloc (sizeof (idc_t))) { > ^ > ( ) >log.c:59:8: note: use '==' to turn this assignment into an equality comparison > if (i = (idc_t *) malloc (sizeof (idc_t))) { > ^ > == >log.c:61:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (i -> str = malloc (strlen (prefix -> str) + strlen (str) + (separator ? strlen (separator) : 0) + 1)) > ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >log.c:61:17: note: place parentheses around the assignment to silence this warning > if (i -> str = malloc (strlen (prefix -> str) + strlen (str) + (separator ? strlen (separator) : 0) + 1)) > ^ > ( ) >log.c:61:17: note: use '==' to turn this assignment into an equality comparison > if (i -> str = malloc (strlen (prefix -> str) + strlen (str) + (separator ? strlen (separator) : 0) + 1)) > ^ > == >log.c:97:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = i) { > ~~~~^~~ >log.c:97:13: note: place parentheses around the assignment to silence this warning > while (tmp = i) { > ^ > ( ) >log.c:97:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = i) { > ^ > == >log.c:121:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s = (suspend_t *) malloc (sizeof (suspend_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >log.c:121:8: note: place parentheses around the assignment to silence this warning > if (s = (suspend_t *) malloc (sizeof (suspend_t))) { > ^ > ( ) >log.c:121:8: note: use '==' to turn this assignment into an equality comparison > if (s = (suspend_t *) malloc (sizeof (suspend_t))) { > ^ > == >log.c:148:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = s) { > ~~~~^~~ >log.c:148:13: note: place parentheses around the assignment to silence this warning > while (tmp = s) { > ^ > ( ) >log.c:148:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = s) { > ^ > == >log.c:220:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (l = (log_t *) malloc (sizeof (log_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >log.c:220:8: note: place parentheses around the assignment to silence this warning > if (l = (log_t *) malloc (sizeof (log_t))) { > ^ > ( ) >log.c:220:8: note: use '==' to turn this assignment into an equality comparison > if (l = (log_t *) malloc (sizeof (log_t))) { > ^ > == >log.c:227:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (l -> hostname, '.')) > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >log.c:227:11: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (l -> hostname, '.')) > ^ > ( ) >log.c:227:11: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (l -> hostname, '.')) > ^ > == >log.c:256:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (cptr = strrchr (program, PATH_SEP)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >log.c:256:13: note: place parentheses around the assignment to silence this warning > if (cptr = strrchr (program, PATH_SEP)) > ^ > ( ) >log.c:256:13: note: use '==' to turn this assignment into an equality comparison > if (cptr = strrchr (program, PATH_SEP)) > ^ > == >log.c:383:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (path = getenv ("HOME")) > ~~~~~^~~~~~~~~~~~~~~~~ >log.c:383:12: note: place parentheses around the assignment to silence this warning > if (path = getenv ("HOME")) > ^ > ( ) >log.c:383:12: note: use '==' to turn this assignment into an equality comparison > if (path = getenv ("HOME")) > ^ > == >log.c:506:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tmp = idc_alloc ((separator ? (idc_t *) l -> idc : NULL), what, separator)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >log.c:506:10: note: place parentheses around the assignment to silence this warning > if (tmp = idc_alloc ((separator ? (idc_t *) l -> idc : NULL), what, separator)) { > ^ > ( ) >log.c:506:10: note: use '==' to turn this assignment into an equality comparison > if (tmp = idc_alloc ((separator ? (idc_t *) l -> idc : NULL), what, separator)) { > ^ > == >log.c:521:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tmp = (idc_t *) l -> idc) { > ~~~~^~~~~~~~~~~~~~~~~~~~ >log.c:521:10: note: place parentheses around the assignment to silence this warning > if (tmp = (idc_t *) l -> idc) { > ^ > ( ) >log.c:521:10: note: use '==' to turn this assignment into an equality comparison > if (tmp = (idc_t *) l -> idc) { > ^ > == >log.c:553:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tmp = suspend_alloc (mask | (s && (! set) ? s -> mask : 0))) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >log.c:553:10: note: place parentheses around the assignment to silence this warning > if (tmp = suspend_alloc (mask | (s && (! set) ? s -> mask : 0))) { > ^ > ( ) >log.c:553:10: note: use '==' to turn this assignment into an equality comparison > if (tmp = suspend_alloc (mask | (s && (! set) ? s -> mask : 0))) { > ^ > == >log.c:588:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tt = localtime (& now)) { > ~~~^~~~~~~~~~~~~~~~~~~ >log.c:588:10: note: place parentheses around the assignment to silence this warning > if (tt = localtime (& now)) { > ^ > ( ) >log.c:588:10: note: use '==' to turn this assignment into an equality comparison > if (tt = localtime (& now)) { > ^ > == >13 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o map.o map.c >map.c:51:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = malloc (strlen (key) + 1)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >map.c:51:12: note: place parentheses around the assignment to silence this warning > if (temp = malloc (strlen (key) + 1)) { > ^ > ( ) >map.c:51:12: note: use '==' to turn this assignment into an equality comparison > if (temp = malloc (strlen (key) + 1)) { > ^ > == >map.c:119:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (m = (map_t *) malloc (sizeof (map_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >map.c:119:8: note: place parentheses around the assignment to silence this warning > if (m = (map_t *) malloc (sizeof (map_t))) { > ^ > ( ) >map.c:119:8: note: use '==' to turn this assignment into an equality comparison > if (m = (map_t *) malloc (sizeof (map_t))) { > ^ > == >map.c:122:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (m -> cont.u = (void **) malloc (m -> hsize * sizeof (void *))) { > ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >map.c:122:19: note: place parentheses around the assignment to silence this warning > if (m -> cont.u = (void **) malloc (m -> hsize * sizeof (void *))) { > ^ > ( ) >map.c:122:19: note: use '==' to turn this assignment into an equality comparison > if (m -> cont.u = (void **) malloc (m -> hsize * sizeof (void *))) { > ^ > == >map.c:180:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (g = glocate (m, key, klen, hash, NULL)) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >map.c:180:8: note: place parentheses around the assignment to silence this warning > if (g = glocate (m, key, klen, hash, NULL)) { > ^ > ( ) >map.c:180:8: note: use '==' to turn this assignment into an equality comparison > if (g = glocate (m, key, klen, hash, NULL)) { > ^ > == >map.c:183:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > } else if (g = gnode_alloc (key, klen, hash, data, dlen)) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >map.c:183:15: note: place parentheses around the assignment to silence this warning > } else if (g = gnode_alloc (key, klen, hash, data, dlen)) { > ^ > ( ) >map.c:183:15: note: use '==' to turn this assignment into an equality comparison > } else if (g = gnode_alloc (key, klen, hash, data, dlen)) { > ^ > == >map.c:204:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (mkey = mkmkey (m, key)) { > ~~~~~^~~~~~~~~~~~~~~~~ >map.c:204:11: note: place parentheses around the assignment to silence this warning > if (mkey = mkmkey (m, key)) { > ^ > ( ) >map.c:204:11: note: use '==' to turn this assignment into an equality comparison > if (mkey = mkmkey (m, key)) { > ^ > == >map.c:208:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (n = locate (m, mkey, hash, NULL)) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >map.c:208:9: note: place parentheses around the assignment to silence this warning > if (n = locate (m, mkey, hash, NULL)) { > ^ > ( ) >map.c:208:9: note: use '==' to turn this assignment into an equality comparison > if (n = locate (m, mkey, hash, NULL)) { > ^ > == >map.c:211:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > } else if (n = node_alloc (mkey, hash, key, data)) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >map.c:211:16: note: place parentheses around the assignment to silence this warning > } else if (n = node_alloc (mkey, hash, key, data)) { > ^ > ( ) >map.c:211:16: note: use '==' to turn this assignment into an equality comparison > } else if (n = node_alloc (mkey, hash, key, data)) { > ^ > == >map.c:262:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (mkey = mkmkey (m, key)) { > ~~~~~^~~~~~~~~~~~~~~~~ >map.c:262:11: note: place parentheses around the assignment to silence this warning > if (mkey = mkmkey (m, key)) { > ^ > ( ) >map.c:262:11: note: use '==' to turn this assignment into an equality comparison > if (mkey = mkmkey (m, key)) { > ^ > == >map.c:265:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (n = locate (m, mkey, hash_value ((const byte_t *) mkey, strlen (mkey)), & prv)) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >map.c:265:9: note: place parentheses around the assignment to silence this warning > if (n = locate (m, mkey, hash_value ((const byte_t *) mkey, strlen (mkey)), & prv)) { > ^ > ( ) >map.c:265:9: note: use '==' to turn this assignment into an equality comparison > if (n = locate (m, mkey, hash_value ((const byte_t *) mkey, strlen (mkey)), & prv)) { > ^ > == >map.c:301:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (mkey = mkmkey (m, key)) { > ~~~~~^~~~~~~~~~~~~~~~~ >map.c:301:11: note: place parentheses around the assignment to silence this warning > if (mkey = mkmkey (m, key)) { > ^ > ( ) >map.c:301:11: note: use '==' to turn this assignment into an equality comparison > if (mkey = mkmkey (m, key)) { > ^ > == >11 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o net.o net.c >clang -O2 -pipe -fno-strict-aliasing -I. -c -o node.o node.c >node.c:44:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (g = (gnode_t *) malloc (sizeof (gnode_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >node.c:44:8: note: place parentheses around the assignment to silence this warning > if (g = (gnode_t *) malloc (sizeof (gnode_t))) { > ^ > ( ) >node.c:44:8: note: use '==' to turn this assignment into an equality comparison > if (g = (gnode_t *) malloc (sizeof (gnode_t))) { > ^ > == >node.c:86:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = g) { > ~~~~^~~ >node.c:86:13: note: place parentheses around the assignment to silence this warning > while (tmp = g) { > ^ > ( ) >node.c:86:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = g) { > ^ > == >node.c:105:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > } else if (tmp = realloc (g -> data, dlen + 1)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >node.c:105:17: note: place parentheses around the assignment to silence this warning > } else if (tmp = realloc (g -> data, dlen + 1)) { > ^ > ( ) >node.c:105:17: note: use '==' to turn this assignment into an equality comparison > } else if (tmp = realloc (g -> data, dlen + 1)) { > ^ > == >node.c:131:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (n = (node_t *) malloc (sizeof (node_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >node.c:131:8: note: place parentheses around the assignment to silence this warning > if (n = (node_t *) malloc (sizeof (node_t))) { > ^ > ( ) >node.c:131:8: note: use '==' to turn this assignment into an equality comparison > if (n = (node_t *) malloc (sizeof (node_t))) { > ^ > == >node.c:173:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = n) { > ~~~~^~~ >node.c:173:13: note: place parentheses around the assignment to silence this warning > while (tmp = n) { > ^ > ( ) >node.c:173:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = n) { > ^ > == >5 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o path.o path.c >path.c:37:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (env = getenv ("HOME")) { > ~~~~^~~~~~~~~~~~~~~~~ >path.c:37:11: note: place parentheses around the assignment to silence this warning > if (env = getenv ("HOME")) { > ^ > ( ) >path.c:37:11: note: use '==' to turn this assignment into an equality comparison > if (env = getenv ("HOME")) { > ^ > == >1 warning generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o set.o set.c >set.c:42:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = s) { > ~~~~^~~ >set.c:42:13: note: place parentheses around the assignment to silence this warning > while (tmp = s) { > ^ > ( ) >set.c:42:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = s) { > ^ > == >set.c:53:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s = (sentry_t *) malloc (sizeof (sentry_t))) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >set.c:53:8: note: place parentheses around the assignment to silence this warning > if (s = (sentry_t *) malloc (sizeof (sentry_t))) > ^ > ( ) >set.c:53:8: note: use '==' to turn this assignment into an equality comparison > if (s = (sentry_t *) malloc (sizeof (sentry_t))) > ^ > == >set.c:54:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s -> name = malloc (nlen + 1)) { > ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >set.c:54:17: note: place parentheses around the assignment to silence this warning > if (s -> name = malloc (nlen + 1)) { > ^ > ( ) >set.c:54:17: note: use '==' to turn this assignment into an equality comparison > if (s -> name = malloc (nlen + 1)) { > ^ > == >set.c:61:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >set.c:82:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s = (set_t *) malloc (sizeof (set_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >set.c:82:8: note: place parentheses around the assignment to silence this warning > if (s = (set_t *) malloc (sizeof (set_t))) { > ^ > ( ) >set.c:82:8: note: use '==' to turn this assignment into an equality comparison > if (s = (set_t *) malloc (sizeof (set_t))) { > ^ > == >set.c:86:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s -> s = (sentry_t **) malloc (s -> hsize * sizeof (sentry_t))) { > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >set.c:86:14: note: place parentheses around the assignment to silence this warning > if (s -> s = (sentry_t **) malloc (s -> hsize * sizeof (sentry_t))) { > ^ > ( ) >set.c:86:14: note: use '==' to turn this assignment into an equality comparison > if (s -> s = (sentry_t **) malloc (s -> hsize * sizeof (sentry_t))) { > ^ > == >6 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o skip.o skip.c >clang -O2 -pipe -fno-strict-aliasing -I. -c -o str.o str.c >str.c:50:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (strlen (s) + 1)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >str.c:50:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (strlen (s) + 1)) { > ^ > ( ) >str.c:50:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (strlen (s) + 1)) { > ^ > == >str.c:53:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > for (ptr = rc; *ptr++ = tolower (*s++);) > ~~~~~~~^~~~~~~~~~~~~~~~ >str.c:53:25: note: place parentheses around the assignment to silence this warning > for (ptr = rc; *ptr++ = tolower (*s++);) > ^ > ( ) >str.c:53:25: note: use '==' to turn this assignment into an equality comparison > for (ptr = rc; *ptr++ = tolower (*s++);) > ^ > == >str.c:63:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (strlen (s) + 1)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >str.c:63:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (strlen (s) + 1)) { > ^ > ( ) >str.c:63:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (strlen (s) + 1)) { > ^ > == >str.c:66:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > for (ptr = rc; *ptr++ = toupper (*s++);) > ~~~~~~~^~~~~~~~~~~~~~~~ >str.c:66:25: note: place parentheses around the assignment to silence this warning > for (ptr = rc; *ptr++ = toupper (*s++);) > ^ > ( ) >str.c:66:25: note: use '==' to turn this assignment into an equality comparison > for (ptr = rc; *ptr++ = toupper (*s++);) > ^ > == >4 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o tzdiff.o tzdiff.c >tzdiff.c:43:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tp = gmtime (& tim)) { > ~~~^~~~~~~~~~~~~~~~ >tzdiff.c:43:9: note: place parentheses around the assignment to silence this warning > if (tp = gmtime (& tim)) { > ^ > ( ) >tzdiff.c:43:9: note: use '==' to turn this assignment into an equality comparison > if (tp = gmtime (& tim)) { > ^ > == >tzdiff.c:47:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tp = localtime (& tim)) { > ~~~^~~~~~~~~~~~~~~~~~~ >tzdiff.c:47:11: note: place parentheses around the assignment to silence this warning > if (tp = localtime (& tim)) { > ^ > ( ) >tzdiff.c:47:11: note: use '==' to turn this assignment into an equality comparison > if (tp = localtime (& tim)) { > ^ > == >2 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o var.o var.c >var.c:64:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (v = (var_t *) malloc (sizeof (var_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >var.c:64:8: note: place parentheses around the assignment to silence this warning > if (v = (var_t *) malloc (sizeof (var_t))) { > ^ > ( ) >var.c:64:8: note: use '==' to turn this assignment into an equality comparison > if (v = (var_t *) malloc (sizeof (var_t))) { > ^ > == >var.c:103:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = v) { > ~~~~^~~ >var.c:103:13: note: place parentheses around the assignment to silence this warning > while (tmp = v) { > ^ > ( ) >var.c:103:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = v) { > ^ > == >2 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -c -o xml.o xml.c >xml.c:259:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = (xchar_t *) malloc (rsize + 1)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >xml.c:259:9: note: place parentheses around the assignment to silence this warning > if (rc = (xchar_t *) malloc (rsize + 1)) { > ^ > ( ) >xml.c:259:9: note: use '==' to turn this assignment into an equality comparison > if (rc = (xchar_t *) malloc (rsize + 1)) { > ^ > == >xml.c:355:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (xc = (xconv_t *) malloc (sizeof (xconv_t))) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >xml.c:355:9: note: place parentheses around the assignment to silence this warning > if (xc = (xconv_t *) malloc (sizeof (xconv_t))) { > ^ > ( ) >xml.c:355:9: note: use '==' to turn this assignment into an equality comparison > if (xc = (xconv_t *) malloc (sizeof (xconv_t))) { > ^ > == >xml.c:374:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rplc = (*func) (s, slen, & rlen)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >xml.c:374:12: note: place parentheses around the assignment to silence this warning > if (rplc = (*func) (s, slen, & rlen)) { > ^ > ( ) >xml.c:374:12: note: use '==' to turn this assignment into an equality comparison > if (rplc = (*func) (s, slen, & rlen)) { > ^ > == >3 warnings generated. >ar rc libagn.a atob.o buffer.o cache.o csig.o daemon.o hash.o lock.o log.o map.o net.o node.o path.o set.o skip.o str.o tzdiff.o var.o xml.o >gmake[1]: Leaving directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/lib' >Building /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/tools >gmake[1]: Entering directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/tools' >clang -O2 -pipe -fno-strict-aliasing -I../lib -c -o qctrl.o qctrl.c >qctrl.c:162:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (dm = daemon_alloc (NULL, background, detach)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qctrl.c:162:9: note: place parentheses around the assignment to silence this warning > if (dm = daemon_alloc (NULL, background, detach)) { > ^ > ( ) >qctrl.c:162:9: note: use '==' to turn this assignment into an equality comparison > if (dm = daemon_alloc (NULL, background, detach)) { > ^ > == >qctrl.c:177:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (csig = csig_alloc (SIGINT, handler, > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qctrl.c:177:14: note: place parentheses around the assignment to silence this warning > if (csig = csig_alloc (SIGINT, handler, > ^ >qctrl.c:177:14: note: use '==' to turn this assignment into an equality comparison > if (csig = csig_alloc (SIGINT, handler, > ^ > == >2 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I../lib -c -o qlib.o qlib.c >qlib.c:38:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (e = (entry_t *) malloc (sizeof (entry_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qlib.c:38:8: note: place parentheses around the assignment to silence this warning > if (e = (entry_t *) malloc (sizeof (entry_t))) { > ^ > ( ) >qlib.c:38:8: note: use '==' to turn this assignment into an equality comparison > if (e = (entry_t *) malloc (sizeof (entry_t))) { > ^ > == >qlib.c:62:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = e) { > ~~~~^~~ >qlib.c:62:13: note: place parentheses around the assignment to silence this warning > while (tmp = e) { > ^ > ( ) >qlib.c:62:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = e) { > ^ > == >qlib.c:83:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = malloc (src -> length + 1)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qlib.c:83:11: note: place parentheses around the assignment to silence this warning > if (temp = malloc (src -> length + 1)) { > ^ > ( ) >qlib.c:83:11: note: use '==' to turn this assignment into an equality comparison > if (temp = malloc (src -> length + 1)) { > ^ > == >qlib.c:87:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (q = (qf_t *) malloc (sizeof (qf_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qlib.c:87:9: note: place parentheses around the assignment to silence this warning > if (q = (qf_t *) malloc (sizeof (qf_t))) { > ^ > ( ) >qlib.c:87:9: note: use '==' to turn this assignment into an equality comparison > if (q = (qf_t *) malloc (sizeof (qf_t))) { > ^ > == >qlib.c:99:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (ptr = strchr (ptr, '\n')) > ~~~~^~~~~~~~~~~~~~~~~~~~ >qlib.c:99:17: note: place parentheses around the assignment to silence this warning > while (ptr = strchr (ptr, '\n')) > ^ > ( ) >qlib.c:99:17: note: use '==' to turn this assignment into an equality comparison > while (ptr = strchr (ptr, '\n')) > ^ > == >qlib.c:108:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else > ^ >qlib.c:176:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (dp = opendir (path)) { > ~~~^~~~~~~~~~~~~~~~ >qlib.c:176:9: note: place parentheses around the assignment to silence this warning > if (dp = opendir (path)) { > ^ > ( ) >qlib.c:176:9: note: use '==' to turn this assignment into an equality comparison > if (dp = opendir (path)) { > ^ > == >qlib.c:177:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (q = (queue_t *) malloc (sizeof (queue_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qlib.c:177:9: note: place parentheses around the assignment to silence this warning > if (q = (queue_t *) malloc (sizeof (queue_t))) { > ^ > ( ) >qlib.c:177:9: note: use '==' to turn this assignment into an equality comparison > if (q = (queue_t *) malloc (sizeof (queue_t))) { > ^ > == >qlib.c:195:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tmp = entry_alloc (ent -> d_name, n)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qlib.c:195:14: note: place parentheses around the assignment to silence this warning > if (tmp = entry_alloc (ent -> d_name, n)) { > ^ > ( ) >qlib.c:195:14: note: use '==' to turn this assignment into an equality comparison > if (tmp = entry_alloc (ent -> d_name, n)) { > ^ > == >qlib.c:201:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else > ^ >10 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I../lib -c -o qmove.o qmove.c >qmove.c:55:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (b = (bad_t *) malloc (sizeof (bad_t))) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qmove.c:55:8: note: place parentheses around the assignment to silence this warning > if (b = (bad_t *) malloc (sizeof (bad_t))) > ^ > ( ) >qmove.c:55:8: note: use '==' to turn this assignment into an equality comparison > if (b = (bad_t *) malloc (sizeof (bad_t))) > ^ > == >qmove.c:56:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (b -> fname = strdup (fname)) { > ~~~~~~~~~~~^~~~~~~~~~~~~~~~ >qmove.c:56:18: note: place parentheses around the assignment to silence this warning > if (b -> fname = strdup (fname)) { > ^ > ( ) >qmove.c:56:18: note: use '==' to turn this assignment into an equality comparison > if (b -> fname = strdup (fname)) { > ^ > == >qmove.c:62:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >qmove.c:83:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = b) { > ~~~~^~~ >qmove.c:83:13: note: place parentheses around the assignment to silence this warning > while (tmp = b) { > ^ > ( ) >qmove.c:83:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = b) { > ^ > == >qmove.c:128:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = m) { > ~~~~^~~ >qmove.c:128:13: note: place parentheses around the assignment to silence this warning > while (tmp = m) { > ^ > ( ) >qmove.c:128:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = m) { > ^ > == >qmove.c:139:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (m = (match_t *) malloc (sizeof (match_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qmove.c:139:8: note: place parentheses around the assignment to silence this warning > if (m = (match_t *) malloc (sizeof (match_t))) { > ^ > ( ) >qmove.c:139:8: note: use '==' to turn this assignment into an equality comparison > if (m = (match_t *) malloc (sizeof (match_t))) { > ^ > == >qmove.c:150:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (m -> re = malloc (sizeof (regex_t))) { > ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >qmove.c:150:16: note: place parentheses around the assignment to silence this warning > if (m -> re = malloc (sizeof (regex_t))) { > ^ > ( ) >qmove.c:150:16: note: use '==' to turn this assignment into an equality comparison > if (m -> re = malloc (sizeof (regex_t))) { > ^ > == >qmove.c:302:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (m = (move_t *) malloc (sizeof (move_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qmove.c:302:8: note: place parentheses around the assignment to silence this warning > if (m = (move_t *) malloc (sizeof (move_t))) { > ^ > ( ) >qmove.c:302:8: note: use '==' to turn this assignment into an equality comparison > if (m = (move_t *) malloc (sizeof (move_t))) { > ^ > == >qmove.c:341:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > } else if (copy = strdup (args[2])) { > ~~~~~^~~~~~~~~~~~~~~~~~ >qmove.c:341:19: note: place parentheses around the assignment to silence this warning > } else if (copy = strdup (args[2])) { > ^ > ( ) >qmove.c:341:19: note: use '==' to turn this assignment into an equality comparison > } else if (copy = strdup (args[2])) { > ^ > == >qmove.c:346:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (var, ',')) { > ~~~~^~~~~~~~~~~~~~~~~~~ >qmove.c:346:13: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (var, ',')) { > ^ > ( ) >qmove.c:346:13: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (var, ',')) { > ^ > == >qmove.c:351:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (val = strchr (var, ':')) { > ~~~~^~~~~~~~~~~~~~~~~~~ >qmove.c:351:13: note: place parentheses around the assignment to silence this warning > if (val = strchr (var, ':')) { > ^ > ( ) >qmove.c:351:13: note: use '==' to turn this assignment into an equality comparison > if (val = strchr (var, ':')) { > ^ > == >qmove.c:367:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tmp = match_alloc (val)) { > ~~~~^~~~~~~~~~~~~~~~~~~ >qmove.c:367:15: note: place parentheses around the assignment to silence this warning > if (tmp = match_alloc (val)) { > ^ > ( ) >qmove.c:367:15: note: use '==' to turn this assignment into an equality comparison > if (tmp = match_alloc (val)) { > ^ > == >qmove.c:400:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else if ((m -> maxtries < 3) && (! force)) { > ^ >qmove.c:408:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else if ((m -> maxage < 60) && (! force)) { > ^ >qmove.c:446:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (bad = bad_alloc (fname)) { > ~~~~^~~~~~~~~~~~~~~~~~~ >qmove.c:446:10: note: place parentheses around the assignment to silence this warning > if (bad = bad_alloc (fname)) { > ^ > ( ) >qmove.c:446:10: note: use '==' to turn this assignment into an equality comparison > if (bad = bad_alloc (fname)) { > ^ > == >qmove.c:488:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (ptr, '\n')) > ~~~~^~~~~~~~~~~~~~~~~~~~ >qmove.c:488:15: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (ptr, '\n')) > ^ > ( ) >qmove.c:488:15: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (ptr, '\n')) > ^ > == >qmove.c:572:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tempdst = malloc (strlen (dst) + 128)) { > ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qmove.c:572:18: note: place parentheses around the assignment to silence this warning > if (tempdst = malloc (strlen (dst) + 128)) { > ^ > ( ) >qmove.c:572:18: note: use '==' to turn this assignment into an equality comparison > if (tempdst = malloc (strlen (dst) + 128)) { > ^ > == >qmove.c:573:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strrchr (dst, '/')) { > ~~~~^~~~~~~~~~~~~~~~~~~~ >qmove.c:573:15: note: place parentheses around the assignment to silence this warning > if (ptr = strrchr (dst, '/')) { > ^ > ( ) >qmove.c:573:15: note: use '==' to turn this assignment into an equality comparison > if (ptr = strrchr (dst, '/')) { > ^ > == >18 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I../lib -c -o qstat.o qstat.c >qstat.c:54:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (h = (host_t *) malloc (sizeof (host_t))) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qstat.c:54:8: note: place parentheses around the assignment to silence this warning > if (h = (host_t *) malloc (sizeof (host_t))) > ^ > ( ) >qstat.c:54:8: note: use '==' to turn this assignment into an equality comparison > if (h = (host_t *) malloc (sizeof (host_t))) > ^ > == >qstat.c:55:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (h -> host = strdup (host)) { > ~~~~~~~~~~^~~~~~~~~~~~~~~ >qstat.c:55:17: note: place parentheses around the assignment to silence this warning > if (h -> host = strdup (host)) { > ^ > ( ) >qstat.c:55:17: note: use '==' to turn this assignment into an equality comparison > if (h -> host = strdup (host)) { > ^ > == >qstat.c:58:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >qstat.c:85:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (h = (hc_t *) malloc (sizeof (hc_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qstat.c:85:8: note: place parentheses around the assignment to silence this warning > if (h = (hc_t *) malloc (sizeof (hc_t))) { > ^ > ( ) >qstat.c:85:8: note: use '==' to turn this assignment into an equality comparison > if (h = (hc_t *) malloc (sizeof (hc_t))) { > ^ > == >qstat.c:125:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tmp = (host_t **) realloc (h -> h, nsize * sizeof (host_t *))) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qstat.c:125:12: note: place parentheses around the assignment to silence this warning > if (tmp = (host_t **) realloc (h -> h, nsize * sizeof (host_t *))) { > ^ > ( ) >qstat.c:125:12: note: use '==' to turn this assignment into an equality comparison > if (tmp = (host_t **) realloc (h -> h, nsize * sizeof (host_t *))) { > ^ > == >qstat.c:196:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s = (stat_t *) malloc (sizeof (stat_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qstat.c:196:8: note: place parentheses around the assignment to silence this warning > if (s = (stat_t *) malloc (sizeof (stat_t))) { > ^ > ( ) >qstat.c:196:8: note: use '==' to turn this assignment into an equality comparison > if (s = (stat_t *) malloc (sizeof (stat_t))) { > ^ > == >qstat.c:244:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = qf_first (qf, 'T')) { > ~~~~^~~~~~~~~~~~~~~~~~~~ >qstat.c:244:12: note: place parentheses around the assignment to silence this warning > if (ptr = qf_first (qf, 'T')) { > ^ > ( ) >qstat.c:244:12: note: use '==' to turn this assignment into an equality comparison > if (ptr = qf_first (qf, 'T')) { > ^ > == >qstat.c:256:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (copy = strdup (ptr)) { > ~~~~~^~~~~~~~~~~~~~ >qstat.c:256:15: note: place parentheses around the assignment to silence this warning > if (copy = strdup (ptr)) { > ^ > ( ) >qstat.c:256:15: note: use '==' to turn this assignment into an equality comparison > if (copy = strdup (ptr)) { > ^ > == >qstat.c:257:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p1 = strchr (copy, ':')) > ~~~^~~~~~~~~~~~~~~~~~~~ >qstat.c:257:14: note: place parentheses around the assignment to silence this warning > if (p1 = strchr (copy, ':')) > ^ > ( ) >qstat.c:257:14: note: use '==' to turn this assignment into an equality comparison > if (p1 = strchr (copy, ':')) > ^ > == >qstat.c:263:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p2 = strchr (p1, '>')) > ~~~^~~~~~~~~~~~~~~~~~ >qstat.c:263:15: note: place parentheses around the assignment to silence this warning > if (p2 = strchr (p1, '>')) > ^ > ( ) >qstat.c:263:15: note: use '==' to turn this assignment into an equality comparison > if (p2 = strchr (p1, '>')) > ^ > == >qstat.c:265:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p2 = strchr (p1, '@')) > ~~~^~~~~~~~~~~~~~~~~~ >qstat.c:265:15: note: place parentheses around the assignment to silence this warning > if (p2 = strchr (p1, '@')) > ^ > ( ) >qstat.c:265:15: note: use '==' to turn this assignment into an equality comparison > if (p2 = strchr (p1, '@')) > ^ > == >qstat.c:296:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (q = queue_scan (s -> paths[n], collect_stats, s)) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >qstat.c:296:10: note: place parentheses around the assignment to silence this warning > if (q = queue_scan (s -> paths[n], collect_stats, s)) { > ^ > ( ) >qstat.c:296:10: note: use '==' to turn this assignment into an equality comparison > if (q = queue_scan (s -> paths[n], collect_stats, s)) { > ^ > == >12 warnings generated. >clang -L../lib qctrl.o qlib.o qmove.o qstat.o -o qctrl -lagn >clang -O2 -pipe -fno-strict-aliasing -I../lib -c -o smctrl.o smctrl.c >smctrl.c:87:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (dir = opendir ("/proc")) { > ~~~~^~~~~~~~~~~~~~~~~~~ >smctrl.c:87:12: note: place parentheses around the assignment to silence this warning > if (dir = opendir ("/proc")) { > ^ > ( ) >smctrl.c:87:12: note: use '==' to turn this assignment into an equality comparison > if (dir = opendir ("/proc")) { > ^ > == >smctrl.c:90:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (ent = readdir (dir)) { > ~~~~^~~~~~~~~~~~~~~ >smctrl.c:90:16: note: place parentheses around the assignment to silence this warning > while (ent = readdir (dir)) { > ^ > ( ) >smctrl.c:90:16: note: use '==' to turn this assignment into an equality comparison > while (ent = readdir (dir)) { > ^ > == >smctrl.c:101:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (fp = fopen (path, "r")) { > ~~~^~~~~~~~~~~~~~~~~~~ >smctrl.c:101:14: note: place parentheses around the assignment to silence this warning > if (fp = fopen (path, "r")) { > ^ > ( ) >smctrl.c:101:14: note: use '==' to turn this assignment into an equality comparison > if (fp = fopen (path, "r")) { > ^ > == >3 warnings generated. >clang -L../lib smctrl.o -o smctrl -lagn >clang -O2 -pipe -fno-strict-aliasing -I../lib -c -o updater.o updater.c >updater.c:160:24: warning: comparison of constant -1 with expression of type 'mode_t' (aka 'unsigned short') is always true [-Wtautological-constant-out-of-range-compare] > if ((pfiles[n].mode != -1) && (! S_ISLNK (st.st_mode))) > ~~~~~~~~~~~~~~ ^ ~~ >updater.c:171:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (scratch = malloc (plen + 1026)) { > ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >updater.c:171:16: note: place parentheses around the assignment to silence this warning > if (scratch = malloc (plen + 1026)) { > ^ > ( ) >updater.c:171:16: note: use '==' to turn this assignment into an equality comparison > if (scratch = malloc (plen + 1026)) { > ^ > == >updater.c:175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (dp = opendir (path)) { > ~~~^~~~~~~~~~~~~~~~ >updater.c:175:12: note: place parentheses around the assignment to silence this warning > if (dp = opendir (path)) { > ^ > ( ) >updater.c:175:12: note: use '==' to turn this assignment into an equality comparison > if (dp = opendir (path)) { > ^ > == >updater.c:176:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (ent = readdir (dp)) > ~~~~^~~~~~~~~~~~~~ >updater.c:176:17: note: place parentheses around the assignment to silence this warning > while (ent = readdir (dp)) > ^ > ( ) >updater.c:176:17: note: use '==' to turn this assignment into an equality comparison > while (ent = readdir (dp)) > ^ > == >4 warnings generated. >clang -L../lib updater.o -o updater -lagn >gmake[1]: Leaving directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/tools' >Building /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/xmlback >gmake[1]: Entering directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/xmlback' >gmake[2]: Entering directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/lib' >gmake[2]: Nothing to be done for `all'. >gmake[2]: Leaving directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/lib' >gmake[2]: Entering directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/xmlback/grammar' >clang lemon.c -o lemon >./lemon -c -s parse.y >Parser statistics: 37 terminals, 5 nonterminals, 43 rules > 121 states, 0 parser table entries, 0 conflicts >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -I.. -I../../lib -I/usr/local/include/libxml2 -I/usr/include -c -o transform.o transform.c >In file included from transform.c:26: >In file included from ./grammar.h:25: >In file included from ../xmlback.h:563: >../misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >../misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >../misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >transform.c:34:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (t = (token_t *) malloc (sizeof (token_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >transform.c:34:8: note: place parentheses around the assignment to silence this warning > if (t = (token_t *) malloc (sizeof (token_t))) { > ^ > ( ) >transform.c:34:8: note: use '==' to turn this assignment into an equality comparison > if (t = (token_t *) malloc (sizeof (token_t))) { > ^ > == >transform.c:152:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (parser = ParseAlloc (malloc)) { > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >transform.c:152:13: note: place parentheses around the assignment to silence this warning > if (parser = ParseAlloc (malloc)) { > ^ > ( ) >transform.c:152:13: note: use '==' to turn this assignment into an equality comparison > if (parser = ParseAlloc (malloc)) { > ^ > == >transform.c:159:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (scratch = buffer_alloc (4096)) { > ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >transform.c:159:15: note: place parentheses around the assignment to silence this warning > if (scratch = buffer_alloc (4096)) { > ^ > ( ) >transform.c:159:15: note: use '==' to turn this assignment into an equality comparison > if (scratch = buffer_alloc (4096)) { > ^ > == >4 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -I.. -I../../lib -I/usr/local/include/libxml2 -I/usr/include -c -o parse.o parse.c >In file included from parse.y:25: >In file included from ./grammar.h:25: >In file included from ../xmlback.h:563: >../misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >../misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >../misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >1 warning generated. >rm -f libgrammar.a >ar rc libgrammar.a transform.o parse.o >ranlib libgrammar.a >gmake[2]: Leaving directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/xmlback/grammar' >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o append.o append.c >In file included from append.c:23: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >1 warning generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o block.o block.c >In file included from block.c:24: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >block.c:31:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (b = (block_t *) malloc (sizeof (block_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >block.c:31:8: note: place parentheses around the assignment to silence this warning > if (b = (block_t *) malloc (sizeof (block_t))) { > ^ > ( ) >block.c:31:8: note: use '==' to turn this assignment into an equality comparison > if (b = (block_t *) malloc (sizeof (block_t))) { > ^ > == >2 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o blockmail.o blockmail.c >In file included from blockmail.c:26: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >blockmail.c:62:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strrchr (fname, '/')) > ~~~~^~~~~~~~~~~~~~~~~~~~~~ >blockmail.c:62:11: note: place parentheses around the assignment to silence this warning > if (ptr = strrchr (fname, '/')) > ^ > ( ) >blockmail.c:62:11: note: use '==' to turn this assignment into an equality comparison > if (ptr = strrchr (fname, '/')) > ^ > == >blockmail.c:66:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (ptr, '.')) > ~~~~^~~~~~~~~~~~~~~~~~~ >blockmail.c:66:11: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (ptr, '.')) > ^ > ( ) >blockmail.c:66:11: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (ptr, '.')) > ^ > == >blockmail.c:85:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (b = (blockmail_t *) malloc (sizeof (blockmail_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >blockmail.c:85:8: note: place parentheses around the assignment to silence this warning > if (b = (blockmail_t *) malloc (sizeof (blockmail_t))) { > ^ > ( ) >blockmail.c:85:8: note: use '==' to turn this assignment into an equality comparison > if (b = (blockmail_t *) malloc (sizeof (blockmail_t))) { > ^ > == >blockmail.c:261:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > } else if (run = counter_alloc (mediatype, subtype)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >blockmail.c:261:17: note: place parentheses around the assignment to silence this warning > } else if (run = counter_alloc (mediatype, subtype)) { > ^ > ( ) >blockmail.c:261:17: note: use '==' to turn this assignment into an equality comparison > } else if (run = counter_alloc (mediatype, subtype)) { > ^ > == >blockmail.c:333:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (inp = fgets (buf, sizeof (buf) - 1, b -> syfp)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >blockmail.c:333:14: note: place parentheses around the assignment to silence this warning > while (inp = fgets (buf, sizeof (buf) - 1, b -> syfp)) { > ^ > ( ) >blockmail.c:333:14: note: use '==' to turn this assignment into an equality comparison > while (inp = fgets (buf, sizeof (buf) - 1, b -> syfp)) { > ^ > == >blockmail.c:337:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (buf, ';')) { > ~~~~^~~~~~~~~~~~~~~~~~~ >blockmail.c:337:12: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (buf, ';')) { > ^ > ( ) >blockmail.c:337:12: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (buf, ';')) { > ^ > == >blockmail.c:340:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (ptr, ';')) { > ~~~~^~~~~~~~~~~~~~~~~~~ >blockmail.c:340:13: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (ptr, ';')) { > ^ > ( ) >blockmail.c:340:13: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (ptr, ';')) { > ^ > == >blockmail.c:343:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (ptr, ';')) { > ~~~~^~~~~~~~~~~~~~~~~~~ >blockmail.c:343:14: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (ptr, ';')) { > ^ > ( ) >blockmail.c:343:14: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (ptr, ';')) { > ^ > == >blockmail.c:346:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (ptr, '\n')) > ~~~~^~~~~~~~~~~~~~~~~~~~ >blockmail.c:346:15: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (ptr, '\n')) > ^ > ( ) >blockmail.c:346:15: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (ptr, '\n')) > ^ > == >blockmail.c:405:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p = media_find_parameter (m, mid)) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >blockmail.c:405:8: note: place parentheses around the assignment to silence this warning > if (p = media_find_parameter (m, mid)) > ^ > ( ) >blockmail.c:405:8: note: use '==' to turn this assignment into an equality comparison > if (p = media_find_parameter (m, mid)) > ^ > == >blockmail.c:406:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (nbuf = parm_valuecat (p, ",")) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >blockmail.c:406:12: note: place parentheses around the assignment to silence this warning > if (nbuf = parm_valuecat (p, ",")) { > ^ > ( ) >blockmail.c:406:12: note: use '==' to turn this assignment into an equality comparison > if (nbuf = parm_valuecat (p, ",")) { > ^ > == >blockmail.c:421:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = va_arg (par, void *)) > ~~~~^~~~~~~~~~~~~~~~~~~~~~ >blockmail.c:421:11: note: place parentheses around the assignment to silence this warning > if (ptr = va_arg (par, void *)) > ^ > ( ) >blockmail.c:421:11: note: use '==' to turn this assignment into an equality comparison > if (ptr = va_arg (par, void *)) > ^ > == >blockmail.c:424:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else if (what[n] == 'b') > ^ >blockmail.c:437:11: warning: enumeration value 'MT_Unspec' not handled in switch [-Wswitch] > switch (m -> type) { > ^ >15 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o blockspec.o blockspec.c >In file included from blockspec.c:24: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >blockspec.c:31:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (b = (blockspec_t *) malloc (sizeof (blockspec_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >blockspec.c:31:8: note: place parentheses around the assignment to silence this warning > if (b = (blockspec_t *) malloc (sizeof (blockspec_t))) { > ^ > ( ) >blockspec.c:31:8: note: use '==' to turn this assignment into an equality comparison > if (b = (blockspec_t *) malloc (sizeof (blockspec_t))) { > ^ > == >blockspec.c:70:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > } else if (b -> linesep = (b -> linesep ? realloc (b -> linesep, slen) : malloc (slen))) { > ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >blockspec.c:70:26: note: place parentheses around the assignment to silence this warning > } else if (b -> linesep = (b -> linesep ? realloc (b -> linesep, slen) : malloc (slen))) { > ^ > ( ) >blockspec.c:70:26: note: use '==' to turn this assignment into an equality comparison > } else if (b -> linesep = (b -> linesep ? realloc (b -> linesep, slen) : malloc (slen))) { > ^ > == >blockspec.c:100:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else if (sep[0] == '\n') { > ^ >4 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o codec.o codec.c >In file included from codec.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >codec.c:292:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (eol = iseol (content, length, n)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >codec.c:292:11: note: place parentheses around the assignment to silence this warning > if (eol = iseol (content, length, n)) { > ^ > ( ) >codec.c:292:11: note: use '==' to turn this assignment into an equality comparison > if (eol = iseol (content, length, n)) { > ^ > == >codec.c:339:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > } else if (eol = iseol (content, length, n)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >codec.c:339:18: note: place parentheses around the assignment to silence this warning > } else if (eol = iseol (content, length, n)) { > ^ > ( ) >codec.c:339:18: note: use '==' to turn this assignment into an equality comparison > } else if (eol = iseol (content, length, n)) { > ^ > == >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o convert.o convert.c >In file included from convert.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >convert.c:90:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else > ^ >convert.c:110:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else > ^ >convert.c:105:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >4 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o count.o count.c >In file included from count.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >count.c:37:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (c = (count_t *) malloc (sizeof (count_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >count.c:37:8: note: place parentheses around the assignment to silence this warning > if (c = (count_t *) malloc (sizeof (count_t))) { > ^ > ( ) >count.c:37:8: note: use '==' to turn this assignment into an equality comparison > if (c = (count_t *) malloc (sizeof (count_t))) { > ^ > == >2 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o counter.o counter.c >In file included from counter.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >counter.c:32:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (c = (counter_t *) malloc (sizeof (counter_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >counter.c:32:8: note: place parentheses around the assignment to silence this warning > if (c = (counter_t *) malloc (sizeof (counter_t))) { > ^ > ( ) >counter.c:32:8: note: use '==' to turn this assignment into an equality comparison > if (c = (counter_t *) malloc (sizeof (counter_t))) { > ^ > == >counter.c:58:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = c) { > ~~~~^~~ >counter.c:58:13: note: place parentheses around the assignment to silence this warning > while (tmp = c) { > ^ > ( ) >counter.c:58:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = c) { > ^ > == >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o create.o create.c >In file included from create.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >create.c:278:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rbtmp = rblock_alloc (block -> tid, name, block -> out)) { > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >create.c:278:15: note: place parentheses around the assignment to silence this warning > if (rbtmp = rblock_alloc (block -> tid, name, block -> out)) { > ^ > ( ) >create.c:278:15: note: use '==' to turn this assignment into an equality comparison > if (rbtmp = rblock_alloc (block -> tid, name, block -> out)) { > ^ > == >create.c:359:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (copy = strdup (rec -> mediatypes)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >create.c:359:12: note: place parentheses around the assignment to silence this warning > if (copy = strdup (rec -> mediatypes)) { > ^ > ( ) >create.c:359:12: note: use '==' to turn this assignment into an equality comparison > if (copy = strdup (rec -> mediatypes)) { > ^ > == >create.c:361:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (cur, ',')) > ~~~~^~~~~~~~~~~~~~~~~~~ >create.c:361:13: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (cur, ',')) > ^ > ( ) >create.c:361:13: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (cur, ',')) > ^ > == >create.c:370:17: warning: enumeration value 'MT_Unspec' not handled in switch [-Wswitch] > switch (type) { > ^ >5 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o data.o data.c >In file included from data.c:23: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >1 warning generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o dcache.o dcache.c >In file included from dcache.c:24: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >dcache.c:31:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (d = (dcache_t *) malloc (sizeof (dcache_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dcache.c:31:8: note: place parentheses around the assignment to silence this warning > if (d = (dcache_t *) malloc (sizeof (dcache_t))) { > ^ > ( ) >dcache.c:31:8: note: use '==' to turn this assignment into an equality comparison > if (d = (dcache_t *) malloc (sizeof (dcache_t))) { > ^ > == >dcache.c:50:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = d) { > ~~~~^~~ >dcache.c:50:13: note: place parentheses around the assignment to silence this warning > while (tmp = d) { > ^ > ( ) >dcache.c:50:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = d) { > ^ > == >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o dyn.o dyn.c >In file included from dyn.c:24: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >dyn.c:31:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (d = (dyn_t *) malloc (sizeof (dyn_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dyn.c:31:8: note: place parentheses around the assignment to silence this warning > if (d = (dyn_t *) malloc (sizeof (dyn_t))) { > ^ > ( ) >dyn.c:31:8: note: use '==' to turn this assignment into an equality comparison > if (d = (dyn_t *) malloc (sizeof (dyn_t))) { > ^ > == >dyn.c:62:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = d) { > ~~~~^~~ >dyn.c:62:13: note: place parentheses around the assignment to silence this warning > while (tmp = d) { > ^ > ( ) >dyn.c:62:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = d) { > ^ > == >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o eval.o eval.c >In file included from eval.c:27: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >eval.c:54:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (e = (eval_t *) malloc (sizeof (eval_t))) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:54:8: note: place parentheses around the assignment to silence this warning > if (e = (eval_t *) malloc (sizeof (eval_t))) > ^ > ( ) >eval.c:54:8: note: use '==' to turn this assignment into an equality comparison > if (e = (eval_t *) malloc (sizeof (eval_t))) > ^ > == >eval.c:55:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (e -> e = do_init (blockmail)) { > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >eval.c:55:14: note: place parentheses around the assignment to silence this warning > if (e -> e = do_init (blockmail)) { > ^ > ( ) >eval.c:55:14: note: use '==' to turn this assignment into an equality comparison > if (e -> e = do_init (blockmail)) { > ^ > == >eval.c:61:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >eval.c:453:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (sd = (slang_date *) SLmalloc (sizeof (slang_date))) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:453:9: note: place parentheses around the assignment to silence this warning > if (sd = (slang_date *) SLmalloc (sizeof (slang_date))) { > ^ > ( ) >eval.c:453:9: note: use '==' to turn this assignment into an equality comparison > if (sd = (slang_date *) SLmalloc (sizeof (slang_date))) { > ^ > == >eval.c:526:35: warning: incompatible pointer types passing 'char *(unsigned char, VOID_STAR)' to parameter of type 'char *(*)(SLtype, VOID_STAR)' [-Wincompatible-pointer-types] > SLclass_set_string_function (cl, SLdate_string); > ^~~~~~~~~~~~~ >/usr/local/include/slang.h:727:72: note: passing argument to parameter here >SL_EXTERN int SLclass_set_string_function (SLang_Class_Type *, char *(*)(SLtype, VOID_STAR)); > ^ >eval.c:527:36: warning: incompatible pointer types passing 'void (unsigned char, VOID_STAR)' to parameter of type 'void (*)(SLtype, VOID_STAR)' [-Wincompatible-pointer-types] > SLclass_set_destroy_function (cl, SLdate_destroy); > ^~~~~~~~~~~~~~ >/usr/local/include/slang.h:728:72: note: passing argument to parameter here >SL_EXTERN int SLclass_set_destroy_function (SLang_Class_Type *, void (*)(SLtype, VOID_STAR)); > ^ >eval.c:528:33: warning: incompatible pointer types passing 'int (unsigned char, VOID_STAR)' to parameter of type 'int (*)(SLtype, VOID_STAR)' [-Wincompatible-pointer-types] > SLclass_set_push_function (cl, SLdate_push); > ^~~~~~~~~~~ >/usr/local/include/slang.h:729:68: note: passing argument to parameter here >SL_EXTERN int SLclass_set_push_function (SLang_Class_Type *, int (*)(SLtype, VOID_STAR)); > ^ >eval.c:531:60: warning: incompatible pointer types passing 'int (int, unsigned char, VOID_STAR, unsigned int, unsigned char, VOID_STAR, unsigned int, VOID_STAR)' to parameter of type 'int (*)(int, SLtype, VOID_STAR, SLuindex_Type, SLtype, VOID_STAR, SLuindex_Type, VOID_STAR)' [-Wincompatible-pointer-types] > if ((SLclass_add_binary_op (MY_DATE_TYPE, SLANG_INT_TYPE, SLdate_bin_date, SLdate_result) == -1) || > ^~~~~~~~~~~~~~~ >/usr/local/include/slang.h:804:16: note: passing argument to parameter here > int (*) (int, > ^ >eval.c:531:77: warning: incompatible pointer types passing 'int (int, unsigned char, unsigned char, unsigned char *)' to parameter of type 'int (*)(int, SLtype, SLtype, SLtype *)' [-Wincompatible-pointer-types] > if ((SLclass_add_binary_op (MY_DATE_TYPE, SLANG_INT_TYPE, SLdate_bin_date, SLdate_result) == -1) || > ^~~~~~~~~~~~~ >/usr/local/include/slang.h:808:16: note: passing argument to parameter here > int (*) (int, SLtype, SLtype, SLtype *)); > ^ >eval.c:532:63: warning: incompatible pointer types passing 'int (int, unsigned char, VOID_STAR, unsigned int, unsigned char, VOID_STAR, unsigned int, VOID_STAR)' to parameter of type 'int (*)(int, SLtype, VOID_STAR, SLuindex_Type, SLtype, VOID_STAR, SLuindex_Type, VOID_STAR)' [-Wincompatible-pointer-types] > (SLclass_add_binary_op (MY_DATE_TYPE, SLANG_DOUBLE_TYPE, SLdate_bin_date, SLdate_result) == -1)) > ^~~~~~~~~~~~~~~ >/usr/local/include/slang.h:804:16: note: passing argument to parameter here > int (*) (int, > ^ >eval.c:532:80: warning: incompatible pointer types passing 'int (int, unsigned char, unsigned char, unsigned char *)' to parameter of type 'int (*)(int, SLtype, SLtype, SLtype *)' [-Wincompatible-pointer-types] > (SLclass_add_binary_op (MY_DATE_TYPE, SLANG_DOUBLE_TYPE, SLdate_bin_date, SLdate_result) == -1)) > ^~~~~~~~~~~~~ >/usr/local/include/slang.h:808:16: note: passing argument to parameter here > int (*) (int, SLtype, SLtype, SLtype *)); > ^ >eval.c:551:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (sd = (slang_date *) SLmalloc (sizeof (slang_date))) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:551:9: note: place parentheses around the assignment to silence this warning > if (sd = (slang_date *) SLmalloc (sizeof (slang_date))) { > ^ > ( ) >eval.c:551:9: note: use '==' to turn this assignment into an equality comparison > if (sd = (slang_date *) SLmalloc (sizeof (slang_date))) { > ^ > == >eval.c:819:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rplc = (*func) (ctx -> xconv, (const xchar_t *) str, strlen (str), & olen)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:819:11: note: place parentheses around the assignment to silence this warning > if (rplc = (*func) (ctx -> xconv, (const xchar_t *) str, strlen (str), & olen)) { > ^ > ( ) >eval.c:819:11: note: use '==' to turn this assignment into an equality comparison > if (rplc = (*func) (ctx -> xconv, (const xchar_t *) str, strlen (str), & olen)) { > ^ > == >eval.c:820:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (dest = SLmalloc (olen + 1)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~ >eval.c:820:12: note: place parentheses around the assignment to silence this warning > if (dest = SLmalloc (olen + 1)) { > ^ > ( ) >eval.c:820:12: note: use '==' to turn this assignment into an equality comparison > if (dest = SLmalloc (olen + 1)) { > ^ > == >eval.c:889:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (copy = SLmalloc (len + 1)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~ >eval.c:889:11: note: place parentheses around the assignment to silence this warning > if (copy = SLmalloc (len + 1)) { > ^ > ( ) >eval.c:889:11: note: use '==' to turn this assignment into an equality comparison > if (copy = SLmalloc (len + 1)) { > ^ > == >eval.c:920:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (i = (int *) malloc (argc * sizeof (int))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:920:10: note: place parentheses around the assignment to silence this warning > if (i = (int *) malloc (argc * sizeof (int))) { > ^ > ( ) >eval.c:920:10: note: use '==' to turn this assignment into an equality comparison > if (i = (int *) malloc (argc * sizeof (int))) { > ^ > == >eval.c:945:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (d = (double *) malloc (argc * sizeof (double))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:945:10: note: place parentheses around the assignment to silence this warning > if (d = (double *) malloc (argc * sizeof (double))) { > ^ > ( ) >eval.c:945:10: note: use '==' to turn this assignment into an equality comparison > if (d = (double *) malloc (argc * sizeof (double))) { > ^ > == >eval.c:969:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s = (char **) malloc (argc * sizeof (char *))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:969:10: note: place parentheses around the assignment to silence this warning > if (s = (char **) malloc (argc * sizeof (char *))) { > ^ > ( ) >eval.c:969:10: note: use '==' to turn this assignment into an equality comparison > if (s = (char **) malloc (argc * sizeof (char *))) { > ^ > == >eval.c:1177:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = c) { > ~~~~^~~ >eval.c:1177:13: note: place parentheses around the assignment to silence this warning > while (tmp = c) { > ^ > ( ) >eval.c:1177:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = c) { > ^ > == >eval.c:1188:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (c = (code_t *) malloc (sizeof (code_t))) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:1188:8: note: place parentheses around the assignment to silence this warning > if (c = (code_t *) malloc (sizeof (code_t))) > ^ > ( ) >eval.c:1188:8: note: use '==' to turn this assignment into an equality comparison > if (c = (code_t *) malloc (sizeof (code_t))) > ^ > == >eval.c:1189:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (c -> code = buffer_alloc (xmlBufferLength (desc) + 256)) { > ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:1189:17: note: place parentheses around the assignment to silence this warning > if (c -> code = buffer_alloc (xmlBufferLength (desc) + 256)) { > ^ > ( ) >eval.c:1189:17: note: use '==' to turn this assignment into an equality comparison > if (c -> code = buffer_alloc (xmlBufferLength (desc) + 256)) { > ^ > == >eval.c:1203:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >eval.c:1338:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s -> sysdate = malloc (sizeof (slang_date))) > ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:1338:20: note: place parentheses around the assignment to silence this warning > if (s -> sysdate = malloc (sizeof (slang_date))) > ^ > ( ) >eval.c:1338:20: note: use '==' to turn this assignment into an equality comparison > if (s -> sysdate = malloc (sizeof (slang_date))) > ^ > == >eval.c:1424:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s -> val = (val_t *) malloc (fld_cnt * sizeof (val_t))) { > ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >eval.c:1424:15: note: place parentheses around the assignment to silence this warning > if (s -> val = (val_t *) malloc (fld_cnt * sizeof (val_t))) { > ^ > ( ) >eval.c:1424:15: note: use '==' to turn this assignment into an equality comparison > if (s -> val = (val_t *) malloc (fld_cnt * sizeof (val_t))) { > ^ > == >eval.c:1439:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = malloc (tlen)) { > ~~~~~^~~~~~~~~~~~~~~ >eval.c:1439:13: note: place parentheses around the assignment to silence this warning > if (temp = malloc (tlen)) { > ^ > ( ) >eval.c:1439:13: note: use '==' to turn this assignment into an equality comparison > if (temp = malloc (tlen)) { > ^ > == >26 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o field.o field.c >In file included from field.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >field.c:32:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (f = (field_t *) malloc (sizeof (field_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >field.c:32:8: note: place parentheses around the assignment to silence this warning > if (f = (field_t *) malloc (sizeof (field_t))) { > ^ > ( ) >field.c:32:8: note: use '==' to turn this assignment into an equality comparison > if (f = (field_t *) malloc (sizeof (field_t))) { > ^ > == >2 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o fix.o fix.c >In file included from fix.c:24: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >fix.c:31:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (f = (fix_t *) malloc (sizeof (fix_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >fix.c:31:8: note: place parentheses around the assignment to silence this warning > if (f = (fix_t *) malloc (sizeof (fix_t))) { > ^ > ( ) >fix.c:31:8: note: use '==' to turn this assignment into an equality comparison > if (f = (fix_t *) malloc (sizeof (fix_t))) { > ^ > == >2 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o generate.o generate.c >In file included from generate.c:36: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >generate.c:148:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s = (spool_t *) malloc (sizeof (spool_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >generate.c:148:8: note: place parentheses around the assignment to silence this warning > if (s = (spool_t *) malloc (sizeof (spool_t))) { > ^ > ( ) >generate.c:148:8: note: use '==' to turn this assignment into an equality comparison > if (s = (spool_t *) malloc (sizeof (spool_t))) { > ^ > == >generate.c:255:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (s = (sendmail_t *) malloc (sizeof (sendmail_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >generate.c:255:8: note: place parentheses around the assignment to silence this warning > if (s = (sendmail_t *) malloc (sizeof (sendmail_t))) { > ^ > ( ) >generate.c:255:8: note: use '==' to turn this assignment into an equality comparison > if (s = (sendmail_t *) malloc (sizeof (sendmail_t))) { > ^ > == >generate.c:292:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (dp = opendir (opt -> val)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~ >generate.c:292:10: note: place parentheses around the assignment to silence this warning > if (dp = opendir (opt -> val)) { > ^ > ( ) >generate.c:292:10: note: use '==' to turn this assignment into an equality comparison > if (dp = opendir (opt -> val)) { > ^ > == >generate.c:399:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (g = (gen_t *) malloc (sizeof (gen_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >generate.c:399:8: note: place parentheses around the assignment to silence this warning > if (g = (gen_t *) malloc (sizeof (gen_t))) { > ^ > ( ) >generate.c:399:8: note: use '==' to turn this assignment into an equality comparison > if (g = (gen_t *) malloc (sizeof (gen_t))) { > ^ > == >generate.c:478:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tt = localtime (& now)) > ~~~^~~~~~~~~~~~~~~~~~~ >generate.c:478:12: note: place parentheses around the assignment to silence this warning > if (tt = localtime (& now)) > ^ > ( ) >generate.c:478:12: note: use '==' to turn this assignment into an equality comparison > if (tt = localtime (& now)) > ^ > == >6 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o links.o links.c >In file included from links.c:24: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >links.c:31:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (l = (links_t *) malloc (sizeof (links_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >links.c:31:8: note: place parentheses around the assignment to silence this warning > if (l = (links_t *) malloc (sizeof (links_t))) { > ^ > ( ) >links.c:31:8: note: use '==' to turn this assignment into an equality comparison > if (l = (links_t *) malloc (sizeof (links_t))) { > ^ > == >links.c:63:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = (char **) realloc (l -> l, nsiz * sizeof (char *))) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >links.c:63:12: note: place parentheses around the assignment to silence this warning > if (temp = (char **) realloc (l -> l, nsiz * sizeof (char *))) { > ^ > ( ) >links.c:63:12: note: use '==' to turn this assignment into an equality comparison > if (temp = (char **) realloc (l -> l, nsiz * sizeof (char *))) { > ^ > == >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o mailtype.o mailtype.c >In file included from mailtype.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >mailtype.c:32:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (m = (mailtype_t *) malloc (sizeof (mailtype_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >mailtype.c:32:8: note: place parentheses around the assignment to silence this warning > if (m = (mailtype_t *) malloc (sizeof (mailtype_t))) { > ^ > ( ) >mailtype.c:32:8: note: use '==' to turn this assignment into an equality comparison > if (m = (mailtype_t *) malloc (sizeof (mailtype_t))) { > ^ > == >2 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o media.o media.c >In file included from media.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >media.c:32:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p = (pval_t *) malloc (sizeof (pval_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >media.c:32:8: note: place parentheses around the assignment to silence this warning > if (p = (pval_t *) malloc (sizeof (pval_t))) { > ^ > ( ) >media.c:32:8: note: use '==' to turn this assignment into an equality comparison > if (p = (pval_t *) malloc (sizeof (pval_t))) { > ^ > == >media.c:53:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = p) { > ~~~~^~~ >media.c:53:13: note: place parentheses around the assignment to silence this warning > while (tmp = p) { > ^ > ( ) >media.c:53:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = p) { > ^ > == >media.c:64:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p = (parm_t *) malloc (sizeof (parm_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >media.c:64:8: note: place parentheses around the assignment to silence this warning > if (p = (parm_t *) malloc (sizeof (parm_t))) { > ^ > ( ) >media.c:64:8: note: use '==' to turn this assignment into an equality comparison > if (p = (parm_t *) malloc (sizeof (parm_t))) { > ^ > == >media.c:88:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = p) { > ~~~~^~~ >media.c:88:13: note: place parentheses around the assignment to silence this warning > while (tmp = p) { > ^ > ( ) >media.c:88:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = p) { > ^ > == >media.c:117:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (m = (media_t *) malloc (sizeof (media_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >media.c:117:8: note: place parentheses around the assignment to silence this warning > if (m = (media_t *) malloc (sizeof (media_t))) { > ^ > ( ) >media.c:117:8: note: use '==' to turn this assignment into an equality comparison > if (m = (media_t *) malloc (sizeof (media_t))) { > ^ > == >6 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o misc.o misc.c >In file included from misc.c:23: >In file included from ./xmlback.h:563: >misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >1 warning generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o modify.o modify.c >In file included from modify.c:24: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >1 warning generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o none.o none.c >In file included from none.c:23: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >1 warning generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o parse.o parse.c >In file included from parse.c:26: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >parse.c:36:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (out = malloc (len + 1)) { > ~~~~^~~~~~~~~~~~~~~~~~ >parse.c:36:11: note: place parentheses around the assignment to silence this warning > if (out = malloc (len + 1)) { > ^ > ( ) >parse.c:36:11: note: use '==' to turn this assignment into an equality comparison > if (out = malloc (len + 1)) { > ^ > == >parse.c:51:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (out = malloc (len + 1)) { > ~~~~^~~~~~~~~~~~~~~~~~ >parse.c:51:12: note: place parentheses around the assignment to silence this warning > if (out = malloc (len + 1)) { > ^ > ( ) >parse.c:51:12: note: use '==' to turn this assignment into an equality comparison > if (out = malloc (len + 1)) { > ^ > == >parse.c:64:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (out = malloc (len + 1)) { > ~~~~^~~~~~~~~~~~~~~~~~ >parse.c:64:12: note: place parentheses around the assignment to silence this warning > if (out = malloc (len + 1)) { > ^ > ( ) >parse.c:64:12: note: use '==' to turn this assignment into an equality comparison > if (out = malloc (len + 1)) { > ^ > == >parse.c:110:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (val = xmlGetProp (node, char2xml (prop))) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:110:10: note: place parentheses around the assignment to silence this warning > if (val = xmlGetProp (node, char2xml (prop))) { > ^ > ( ) >parse.c:110:10: note: use '==' to turn this assignment into an equality comparison > if (val = xmlGetProp (node, char2xml (prop))) { > ^ > == >parse.c:111:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (buf = xmlBufferCreate ()) > ~~~~^~~~~~~~~~~~~~~~~~~~ >parse.c:111:11: note: place parentheses around the assignment to silence this warning > if (buf = xmlBufferCreate ()) > ^ > ( ) >parse.c:111:11: note: use '==' to turn this assignment into an equality comparison > if (buf = xmlBufferCreate ()) > ^ > == >parse.c:124:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (val = xmlGetProp (node, char2xml (prop))) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:124:10: note: place parentheses around the assignment to silence this warning > if (val = xmlGetProp (node, char2xml (prop))) { > ^ > ( ) >parse.c:124:10: note: use '==' to turn this assignment into an equality comparison > if (val = xmlGetProp (node, char2xml (prop))) { > ^ > == >parse.c:137:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = extract_property (blockmail, node, prop)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:137:11: note: place parentheses around the assignment to silence this warning > if (temp = extract_property (blockmail, node, prop)) { > ^ > ( ) >parse.c:137:11: note: use '==' to turn this assignment into an equality comparison > if (temp = extract_property (blockmail, node, prop)) { > ^ > == >parse.c:150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = extract_property (blockmail, node, prop)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:150:11: note: place parentheses around the assignment to silence this warning > if (temp = extract_property (blockmail, node, prop)) { > ^ > ( ) >parse.c:150:11: note: use '==' to turn this assignment into an equality comparison > if (temp = extract_property (blockmail, node, prop)) { > ^ > == >parse.c:175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = xmlNodeListGetString (doc, node, 1)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:175:12: note: place parentheses around the assignment to silence this warning > if (ptr = xmlNodeListGetString (doc, node, 1)) { > ^ > ( ) >parse.c:175:12: note: use '==' to turn this assignment into an equality comparison > if (ptr = xmlNodeListGetString (doc, node, 1)) { > ^ > == >parse.c:204:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = extract_simple_content (blockmail, doc, node)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:204:11: note: place parentheses around the assignment to silence this warning > if (temp = extract_simple_content (blockmail, doc, node)) { > ^ > ( ) >parse.c:204:11: note: use '==' to turn this assignment into an equality comparison > if (temp = extract_simple_content (blockmail, doc, node)) { > ^ > == >parse.c:234:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (st = extract_numeric_property (blockmail, & val, node, "id")) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:234:12: note: place parentheses around the assignment to silence this warning > if (st = extract_numeric_property (blockmail, & val, node, "id")) { > ^ > ( ) >parse.c:234:12: note: use '==' to turn this assignment into an equality comparison > if (st = extract_numeric_property (blockmail, & val, node, "id")) { > ^ > == >parse.c:238:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (st = extract_numeric_property (blockmail, & val, node, "id")) > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:238:12: note: place parentheses around the assignment to silence this warning > if (st = extract_numeric_property (blockmail, & val, node, "id")) > ^ > ( ) >parse.c:238:12: note: use '==' to turn this assignment into an equality comparison > if (st = extract_numeric_property (blockmail, & val, node, "id")) > ^ > == >parse.c:241:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (st = extract_numeric_property (blockmail, & val, node, "id")) > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:241:12: note: place parentheses around the assignment to silence this warning > if (st = extract_numeric_property (blockmail, & val, node, "id")) > ^ > ( ) >parse.c:241:12: note: use '==' to turn this assignment into an equality comparison > if (st = extract_numeric_property (blockmail, & val, node, "id")) > ^ > == >parse.c:245:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (st = extract_numeric_property (blockmail, & val, node, "status_id")) > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:245:12: note: place parentheses around the assignment to silence this warning > if (st = extract_numeric_property (blockmail, & val, node, "status_id")) > ^ > ( ) >parse.c:245:12: note: use '==' to turn this assignment into an equality comparison > if (st = extract_numeric_property (blockmail, & val, node, "status_id")) > ^ > == >parse.c:248:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = extract_property (blockmail, node, "field")) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:248:13: note: place parentheses around the assignment to silence this warning > if (ptr = extract_property (blockmail, node, "field")) { > ^ > ( ) >parse.c:248:13: note: use '==' to turn this assignment into an equality comparison > if (ptr = extract_property (blockmail, node, "field")) { > ^ > == >parse.c:307:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (st = extract_numeric_content (blockmail, & val, doc, node)) > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:307:12: note: place parentheses around the assignment to silence this warning > if (st = extract_numeric_content (blockmail, & val, doc, node)) > ^ > ( ) >parse.c:307:12: note: use '==' to turn this assignment into an equality comparison > if (st = extract_numeric_content (blockmail, & val, doc, node)) > ^ > == >parse.c:341:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (name = extract_property (blockmail, node, "name")) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:341:13: note: place parentheses around the assignment to silence this warning > if (name = extract_property (blockmail, node, "name")) { > ^ > ( ) >parse.c:341:13: note: use '==' to turn this assignment into an equality comparison > if (name = extract_property (blockmail, node, "name")) { > ^ > == >parse.c:342:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tmp = parm_alloc ()) { > ~~~~^~~~~~~~~~~~~~~ >parse.c:342:13: note: place parentheses around the assignment to silence this warning > if (tmp = parm_alloc ()) { > ^ > ( ) >parse.c:342:13: note: use '==' to turn this assignment into an equality comparison > if (tmp = parm_alloc ()) { > ^ > == >parse.c:354:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (vtmp = pval_alloc ()) { > ~~~~~^~~~~~~~~~~~~~~ >parse.c:354:18: note: place parentheses around the assignment to silence this warning > if (vtmp = pval_alloc ()) { > ^ > ( ) >parse.c:354:18: note: use '==' to turn this assignment into an equality comparison > if (vtmp = pval_alloc ()) { > ^ > == >parse.c:367:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >parse.c:418:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > DO_EXPAND (media, blockmail, media); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:418:5: note: place parentheses around the assignment to silence this warning >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:418:5: note: use '==' to turn this assignment into an equality comparison >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:447:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tpos -> content = block_alloc ()) > ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >parse.c:447:26: note: place parentheses around the assignment to silence this warning > if (tpos -> content = block_alloc ()) > ^ > ( ) >parse.c:447:26: note: use '==' to turn this assignment into an equality comparison > if (tpos -> content = block_alloc ()) > ^ > == >parse.c:505:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (st = extract_content (& block -> content, doc, child)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:505:13: note: place parentheses around the assignment to silence this warning > if (st = extract_content (& block -> content, doc, child)) { > ^ > ( ) >parse.c:505:13: note: use '==' to turn this assignment into an equality comparison > if (st = extract_content (& block -> content, doc, child)) { > ^ > == >parse.c:506:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (st = block_setup_charset (block)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:506:14: note: place parentheses around the assignment to silence this warning > if (st = block_setup_charset (block)) { > ^ > ( ) >parse.c:506:14: note: use '==' to turn this assignment into an equality comparison > if (st = block_setup_charset (block)) { > ^ > == >parse.c:528:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > DO_EXPAND (tpos, block, tagpos); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:528:8: note: place parentheses around the assignment to silence this warning >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:528:8: note: use '==' to turn this assignment into an equality comparison >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:605:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > DO_EXPAND (block, blockmail, block); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:605:5: note: place parentheses around the assignment to silence this warning >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:605:5: note: use '==' to turn this assignment into an equality comparison >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:635:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (valid = extract_property (blockmail, node, "valid")) { > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:635:15: note: place parentheses around the assignment to silence this warning > if (valid = extract_property (blockmail, node, "valid")) { > ^ > ( ) >parse.c:635:15: note: use '==' to turn this assignment into an equality comparison > if (valid = extract_property (blockmail, node, "valid")) { > ^ > == >parse.c:680:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > DO_EXPAND (postfix, bspec, postfix); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:680:6: note: place parentheses around the assignment to silence this warning >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:680:6: note: use '==' to turn this assignment into an equality comparison >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:714:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (st = extract_numeric_property (blockmail, & val, node, "nr")) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:714:12: note: place parentheses around the assignment to silence this warning > if (st = extract_numeric_property (blockmail, & val, node, "nr")) { > ^ > ( ) >parse.c:714:12: note: use '==' to turn this assignment into an equality comparison > if (st = extract_numeric_property (blockmail, & val, node, "nr")) { > ^ > == >parse.c:722:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > DO_EXPAND (bspec, mtyp, blockspec); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:722:7: note: place parentheses around the assignment to silence this warning >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:722:7: note: use '==' to turn this assignment into an equality comparison >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:728:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = extract_property (blockmail, node, "onepixlog")) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:728:16: note: place parentheses around the assignment to silence this warning > if (ptr = extract_property (blockmail, node, "onepixlog")) { > ^ > ( ) >parse.c:728:16: note: use '==' to turn this assignment into an equality comparison > if (ptr = extract_property (blockmail, node, "onepixlog")) { > ^ > == >parse.c:771:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (sval = extract_property (blockmail, node, "id")) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:771:14: note: place parentheses around the assignment to silence this warning > if (sval = extract_property (blockmail, node, "id")) { > ^ > ( ) >parse.c:771:14: note: use '==' to turn this assignment into an equality comparison > if (sval = extract_property (blockmail, node, "id")) { > ^ > == >parse.c:774:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > DO_EXPAND (mtyp, blockmail, mailtype); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:774:6: note: place parentheses around the assignment to silence this warning >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:774:6: note: use '==' to turn this assignment into an equality comparison >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:816:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > DO_EXPAND (field, blockmail, field); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:816:6: note: place parentheses around the assignment to silence this warning >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:816:6: note: use '==' to turn this assignment into an equality comparison >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:859:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > for (prev = *tbase; temp = prev -> next; prev = temp) > ~~~~~^~~~~~~~~~~~~~ >parse.c:859:28: note: place parentheses around the assignment to silence this warning > for (prev = *tbase; temp = prev -> next; prev = temp) > ^ > ( ) >parse.c:859:28: note: use '==' to turn this assignment into an equality comparison > for (prev = *tbase; temp = prev -> next; prev = temp) > ^ > == >parse.c:873:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = tag_alloc ()) { > ~~~~~^~~~~~~~~~~~~~ >parse.c:873:15: note: place parentheses around the assignment to silence this warning > if (temp = tag_alloc ()) { > ^ > ( ) >parse.c:873:15: note: use '==' to turn this assignment into an equality comparison > if (temp = tag_alloc ()) { > ^ > == >parse.c:875:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp -> cname = xml2string (temp -> name)) { > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:875:25: note: place parentheses around the assignment to silence this warning > if (temp -> cname = xml2string (temp -> name)) { > ^ > ( ) >parse.c:875:25: note: use '==' to turn this assignment into an equality comparison > if (temp -> cname = xml2string (temp -> name)) { > ^ > == >parse.c:927:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > DO_EXPAND (block, dyn, block); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:927:5: note: place parentheses around the assignment to silence this warning >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:927:5: note: use '==' to turn this assignment into an equality comparison >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:961:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tmp = dyn_alloc (did, order)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:961:14: note: place parentheses around the assignment to silence this warning > if (tmp = dyn_alloc (did, order)) { > ^ > ( ) >parse.c:961:14: note: use '==' to turn this assignment into an equality comparison > if (tmp = dyn_alloc (did, order)) { > ^ > == >parse.c:1032:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else > ^ >parse.c:1066:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > DO_EXPAND (url, blockmail, url); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:1066:6: note: place parentheses around the assignment to silence this warning >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:1066:6: note: use '==' to turn this assignment into an equality comparison >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:1125:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > DO_EXPAND (url, rec, url); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:1125:6: note: place parentheses around the assignment to silence this warning >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:1125:6: note: use '==' to turn this assignment into an equality comparison >./xmlback.h:71:15: note: expanded from macro 'DO_EXPAND' > if (__tmp = (type ## _t **) \ > ^ >parse.c:1154:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rec = receiver_alloc (blockmail -> field_count)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:1154:10: note: place parentheses around the assignment to silence this warning > if (rec = receiver_alloc (blockmail -> field_count)) { > ^ > ( ) >parse.c:1154:10: note: use '==' to turn this assignment into an equality comparison > if (rec = receiver_alloc (blockmail -> field_count)) { > ^ > == >parse.c:1164:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = xmlGetProp (node, char2xml ("to_email"))) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:1164:16: note: place parentheses around the assignment to silence this warning > if (temp = xmlGetProp (node, char2xml ("to_email"))) { > ^ > ( ) >parse.c:1164:16: note: use '==' to turn this assignment into an equality comparison > if (temp = xmlGetProp (node, char2xml ("to_email"))) { > ^ > == >parse.c:1168:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = extract_property (blockmail, node, "user_type")) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:1168:15: note: place parentheses around the assignment to silence this warning > if (ptr = extract_property (blockmail, node, "user_type")) { > ^ > ( ) >parse.c:1168:15: note: use '==' to turn this assignment into an equality comparison > if (ptr = extract_property (blockmail, node, "user_type")) { > ^ > == >parse.c:1172:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = xmlGetProp (node, char2xml ("message_id"))) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >parse.c:1172:16: note: place parentheses around the assignment to silence this warning > if (temp = xmlGetProp (node, char2xml ("message_id"))) { > ^ > ( ) >parse.c:1172:16: note: use '==' to turn this assignment into an equality comparison > if (temp = xmlGetProp (node, char2xml ("message_id"))) { > ^ > == >47 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o postfix.o postfix.c >In file included from postfix.c:24: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >postfix.c:31:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p = (postfix_t *) malloc (sizeof (postfix_t))) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >postfix.c:31:8: note: place parentheses around the assignment to silence this warning > if (p = (postfix_t *) malloc (sizeof (postfix_t))) > ^ > ( ) >postfix.c:31:8: note: use '==' to turn this assignment into an equality comparison > if (p = (postfix_t *) malloc (sizeof (postfix_t))) > ^ > == >postfix.c:32:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p -> c = fix_alloc ()) { > ~~~~~~~^~~~~~~~~~~~~~ >postfix.c:32:14: note: place parentheses around the assignment to silence this warning > if (p -> c = fix_alloc ()) { > ^ > ( ) >postfix.c:32:14: note: use '==' to turn this assignment into an equality comparison > if (p -> c = fix_alloc ()) { > ^ > == >postfix.c:37:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >4 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o preview.o preview.c >In file included from preview.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >preview.c:36:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p = (preview_t *) malloc (sizeof (preview_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >preview.c:36:8: note: place parentheses around the assignment to silence this warning > if (p = (preview_t *) malloc (sizeof (preview_t))) { > ^ > ( ) >preview.c:36:8: note: use '==' to turn this assignment into an equality comparison > if (p = (preview_t *) malloc (sizeof (preview_t))) { > ^ > == >preview.c:65:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (pv = preview_alloc ()) { > ~~~^~~~~~~~~~~~~~~~~~ >preview.c:65:9: note: place parentheses around the assignment to silence this warning > if (pv = preview_alloc ()) { > ^ > ( ) >preview.c:65:9: note: use '==' to turn this assignment into an equality comparison > if (pv = preview_alloc ()) { > ^ > == >preview.c:145:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (doc = xmlNewDoc (char2xml ("1.0"))) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >preview.c:145:10: note: place parentheses around the assignment to silence this warning > if (doc = xmlNewDoc (char2xml ("1.0"))) { > ^ > ( ) >preview.c:145:10: note: use '==' to turn this assignment into an equality comparison > if (doc = xmlNewDoc (char2xml ("1.0"))) { > ^ > == >preview.c:150:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (root = xmlNewNode (NULL, char2xml ("preview"))) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >preview.c:150:12: note: place parentheses around the assignment to silence this warning > if (root = xmlNewNode (NULL, char2xml ("preview"))) { > ^ > ( ) >preview.c:150:12: note: use '==' to turn this assignment into an equality comparison > if (root = xmlNewNode (NULL, char2xml ("preview"))) { > ^ > == >preview.c:188:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (text = xmlNewTextLen (content, length)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >preview.c:188:17: note: place parentheses around the assignment to silence this warning > if (text = xmlNewTextLen (content, length)) { > ^ > ( ) >preview.c:188:17: note: use '==' to turn this assignment into an equality comparison > if (text = xmlNewTextLen (content, length)) { > ^ > == >6 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o rblock.o rblock.c >In file included from rblock.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >rblock.c:32:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (r = (rblock_t *) malloc (sizeof (rblock_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >rblock.c:32:8: note: place parentheses around the assignment to silence this warning > if (r = (rblock_t *) malloc (sizeof (rblock_t))) { > ^ > ( ) >rblock.c:32:8: note: use '==' to turn this assignment into an equality comparison > if (r = (rblock_t *) malloc (sizeof (rblock_t))) { > ^ > == >rblock.c:60:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = r) { > ~~~~^~~ >rblock.c:60:13: note: place parentheses around the assignment to silence this warning > while (tmp = r) { > ^ > ( ) >rblock.c:60:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = r) { > ^ > == >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o receiver.o receiver.c >In file included from receiver.c:24: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >receiver.c:31:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (r = (receiver_t *) malloc (sizeof (receiver_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >receiver.c:31:8: note: place parentheses around the assignment to silence this warning > if (r = (receiver_t *) malloc (sizeof (receiver_t))) { > ^ > ( ) >receiver.c:31:8: note: use '==' to turn this assignment into an equality comparison > if (r = (receiver_t *) malloc (sizeof (receiver_t))) { > ^ > == >receiver.c:62:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else > ^ >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o replace.o replace.c >In file included from replace.c:23: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >replace.c:117:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (dc = dcache_alloc (name, dyn)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ >replace.c:117:12: note: place parentheses around the assignment to silence this warning > if (dc = dcache_alloc (name, dyn)) { > ^ > ( ) >replace.c:117:12: note: use '==' to turn this assignment into an equality comparison > if (dc = dcache_alloc (name, dyn)) { > ^ > == >replace.c:202:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else > ^ >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o sqllike.o sqllike.c >In file included from sqllike.c:23: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >1 warning generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o tag.o tag.c >In file included from tag.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >tag.c:46:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (t = (tag_t *) malloc (sizeof (tag_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tag.c:46:8: note: place parentheses around the assignment to silence this warning > if (t = (tag_t *) malloc (sizeof (tag_t))) { > ^ > ( ) >tag.c:46:8: note: use '==' to turn this assignment into an equality comparison > if (t = (tag_t *) malloc (sizeof (tag_t))) { > ^ > == >tag.c:84:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = t) { > ~~~~^~~ >tag.c:84:13: note: place parentheses around the assignment to silence this warning > while (tmp = t) { > ^ > ( ) >tag.c:84:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = t) { > ^ > == >tag.c:116:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tt = gmtime (& now)) { > ~~~^~~~~~~~~~~~~~~~ >tag.c:116:9: note: place parentheses around the assignment to silence this warning > if (tt = gmtime (& now)) { > ^ > ( ) >tag.c:116:9: note: use '==' to turn this assignment into an equality comparison > if (tt = gmtime (& now)) { > ^ > == >tag.c:219:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (cur = var_alloc (xml2char (var), xml2char (val))) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tag.c:219:14: note: place parentheses around the assignment to silence this warning > if (cur = var_alloc (xml2char (var), xml2char (val))) { > ^ > ( ) >tag.c:219:14: note: use '==' to turn this assignment into an equality comparison > if (cur = var_alloc (xml2char (var), xml2char (val))) { > ^ > == >tag.c:238:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > } else if (dflt = find_default (t)) { > ~~~~~^~~~~~~~~~~~~~~~~~ >tag.c:238:24: note: place parentheses around the assignment to silence this warning > } else if (dflt = find_default (t)) { > ^ > ( ) >tag.c:238:24: note: use '==' to turn this assignment into an equality comparison > } else if (dflt = find_default (t)) { > ^ > == >6 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o tagpos.o tagpos.c >In file included from tagpos.c:25: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >tagpos.c:32:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (t = (tagpos_t *) malloc (sizeof (tagpos_t))) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tagpos.c:32:8: note: place parentheses around the assignment to silence this warning > if (t = (tagpos_t *) malloc (sizeof (tagpos_t))) > ^ > ( ) >tagpos.c:32:8: note: use '==' to turn this assignment into an equality comparison > if (t = (tagpos_t *) malloc (sizeof (tagpos_t))) > ^ > == >tagpos.c:33:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (t -> name = xmlBufferCreate ()) { > ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ >tagpos.c:33:17: note: place parentheses around the assignment to silence this warning > if (t -> name = xmlBufferCreate ()) { > ^ > ( ) >tagpos.c:33:17: note: use '==' to turn this assignment into an equality comparison > if (t -> name = xmlBufferCreate ()) { > ^ > == >tagpos.c:40:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >tagpos.c:110:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (t -> tname = malloc (len + 1)) { > ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ >tagpos.c:110:19: note: place parentheses around the assignment to silence this warning > if (t -> tname = malloc (len + 1)) { > ^ > ( ) >tagpos.c:110:19: note: use '==' to turn this assignment into an equality comparison > if (t -> tname = malloc (len + 1)) { > ^ > == >5 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o url.o url.c >In file included from url.c:24: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >url.c:31:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (u = (url_t *) malloc (sizeof (url_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >url.c:31:8: note: place parentheses around the assignment to silence this warning > if (u = (url_t *) malloc (sizeof (url_t))) { > ^ > ( ) >url.c:31:8: note: use '==' to turn this assignment into an equality comparison > if (u = (url_t *) malloc (sizeof (url_t))) { > ^ > == >url.c:71:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ndest = xmlBufferCreate ()) { > ~~~~~~^~~~~~~~~~~~~~~~~~~~ >url.c:71:12: note: place parentheses around the assignment to silence this warning > if (ndest = xmlBufferCreate ()) { > ^ > ( ) >url.c:71:12: note: use '==' to turn this assignment into an equality comparison > if (ndest = xmlBufferCreate ()) { > ^ > == >3 warnings generated. >clang -O2 -pipe -fno-strict-aliasing -I. -I../lib -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/lib/slang -c -o xmlback.o xmlback.c >In file included from xmlback.c:31: >In file included from ./xmlback.h:563: >./misc.c:98:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (rc = malloc (len + 1)) { > ~~~^~~~~~~~~~~~~~~~~~ >./misc.c:98:9: note: place parentheses around the assignment to silence this warning > if (rc = malloc (len + 1)) { > ^ > ( ) >./misc.c:98:9: note: use '==' to turn this assignment into an equality comparison > if (rc = malloc (len + 1)) { > ^ > == >xmlback.c:76:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (copy = strdup (str)) { > ~~~~~^~~~~~~~~~~~~~ >xmlback.c:76:11: note: place parentheses around the assignment to silence this warning > if (copy = strdup (str)) { > ^ > ( ) >xmlback.c:76:11: note: use '==' to turn this assignment into an equality comparison > if (copy = strdup (str)) { > ^ > == >xmlback.c:109:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (tmp = var_alloc (var, val)) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~ >xmlback.c:109:13: note: place parentheses around the assignment to silence this warning > if (tmp = var_alloc (var, val)) { > ^ > ( ) >xmlback.c:109:13: note: use '==' to turn this assignment into an equality comparison > if (tmp = var_alloc (var, val)) { > ^ > == >xmlback.c:230:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (optarg, ':')) { > ~~~~^~~~~~~~~~~~~~~~~~~~~~ >xmlback.c:230:12: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (optarg, ':')) { > ^ > ( ) >xmlback.c:230:12: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (optarg, ':')) { > ^ > == >xmlback.c:338:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (base = xmlDocGetRootElement (doc)) > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >xmlback.c:338:15: note: place parentheses around the assignment to silence this warning > if (base = xmlDocGetRootElement (doc)) > ^ > ( ) >xmlback.c:338:15: note: use '==' to turn this assignment into an equality comparison > if (base = xmlDocGetRootElement (doc)) > ^ > == >xmlback.c:374:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else > ^ >6 warnings generated. >clang append.o block.o blockmail.o blockspec.o codec.o convert.o count.o counter.o create.o data.o dcache.o dyn.o eval.o field.o fix.o generate.o links.o mailtype.o media.o misc.o modify.o none.o parse.o postfix.o preview.o rblock.o receiver.o replace.o sqllike.o tag.o tagpos.o url.o xmlback.o -o xmlback grammar/libgrammar.a -lslang -L../lib -lagn -L/usr/local/lib -lxml2 -lz -L/usr/lib -lm -lcurses >gmake[1]: Leaving directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/xmlback' >Building /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/bav >gmake[1]: Entering directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/bav' >clang -I../lib -I/usr/local/lib -I/usr/local/include -I/usr/local/include -pthread -c -o bav.o bav.c >bav.c:65:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (tmp = c) { > ~~~~^~~ >bav.c:65:13: note: place parentheses around the assignment to silence this warning > while (tmp = c) { > ^ > ( ) >bav.c:65:13: note: use '==' to turn this assignment into an equality comparison > while (tmp = c) { > ^ > == >bav.c:76:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (c = (charc_t *) malloc (sizeof (charc_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bav.c:76:8: note: place parentheses around the assignment to silence this warning > if (c = (charc_t *) malloc (sizeof (charc_t))) { > ^ > ( ) >bav.c:76:8: note: use '==' to turn this assignment into an equality comparison > if (c = (charc_t *) malloc (sizeof (charc_t))) { > ^ > == >bav.c:139:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p = (priv_t *) malloc (sizeof (priv_t))) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bav.c:139:8: note: place parentheses around the assignment to silence this warning > if (p = (priv_t *) malloc (sizeof (priv_t))) > ^ > ( ) >bav.c:139:8: note: use '==' to turn this assignment into an equality comparison > if (p = (priv_t *) malloc (sizeof (priv_t))) > ^ > == >bav.c:140:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (p -> cfg = cfg_alloc (cfgfile)) { > ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >bav.c:140:16: note: place parentheses around the assignment to silence this warning > if (p -> cfg = cfg_alloc (cfgfile)) { > ^ > ( ) >bav.c:140:16: note: use '==' to turn this assignment into an equality comparison > if (p -> cfg = cfg_alloc (cfgfile)) { > ^ > == >bav.c:149:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] > } else { > ^ >bav.c:165:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (r = charc_alloc (to)) { > ~~^~~~~~~~~~~~~~~~~~ >bav.c:165:8: note: place parentheses around the assignment to silence this warning > if (r = charc_alloc (to)) { > ^ > ( ) >bav.c:165:8: note: use '==' to turn this assignment into an equality comparison > if (r = charc_alloc (to)) { > ^ > == >bav.c:181:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (temp = malloc (strlen (p -> info) + strlen (info) + 2)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bav.c:181:11: note: place parentheses around the assignment to silence this warning > if (temp = malloc (strlen (p -> info) + strlen (info) + 2)) { > ^ > ( ) >bav.c:181:11: note: use '==' to turn this assignment into an equality comparison > if (temp = malloc (strlen (p -> info) + strlen (info) + 2)) { > ^ > == >bav.c:195:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (scratch = malloc (strlen (var) + strlen (val) + 2)) { > ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bav.c:195:14: note: place parentheses around the assignment to silence this warning > if (scratch = malloc (strlen (var) + strlen (val) + 2)) { > ^ > ( ) >bav.c:195:14: note: use '==' to turn this assignment into an equality comparison > if (scratch = malloc (strlen (var) + strlen (val) + 2)) { > ^ > == >bav.c:262:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (opt = strchr (chk, ':')) > ~~~~^~~~~~~~~~~~~~~~~~~ >bav.c:262:10: note: place parentheses around the assignment to silence this warning > if (opt = strchr (chk, ':')) > ^ > ( ) >bav.c:262:10: note: use '==' to turn this assignment into an equality comparison > if (opt = strchr (chk, ':')) > ^ > == >bav.c:368:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strrchr (argv[0], '/')) > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >bav.c:368:10: note: place parentheses around the assignment to silence this warning > if (ptr = strrchr (argv[0], '/')) > ^ > ( ) >bav.c:368:10: note: use '==' to turn this assignment into an equality comparison > if (ptr = strrchr (argv[0], '/')) > ^ > == >10 warnings generated. >clang -I../lib -I/usr/local/lib -I/usr/local/include -I/usr/local/include -pthread -c -o cfg.o cfg.c >cfg.c:45:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (ptr, '\n')) > ~~~~^~~~~~~~~~~~~~~~~~~~ >cfg.c:45:12: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (ptr, '\n')) > ^ > ( ) >cfg.c:45:12: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (ptr, '\n')) > ^ > == >cfg.c:54:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (cur = strchr (cur, '@')) { > ~~~~^~~~~~~~~~~~~~~~~~~ >cfg.c:54:14: note: place parentheses around the assignment to silence this warning > if (cur = strchr (cur, '@')) { > ^ > ( ) >cfg.c:54:14: note: use '==' to turn this assignment into an equality comparison > if (cur = strchr (cur, '@')) { > ^ > == >cfg.c:100:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (c = (cfg_t *) malloc (sizeof (cfg_t))) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cfg.c:100:8: note: place parentheses around the assignment to silence this warning > if (c = (cfg_t *) malloc (sizeof (cfg_t))) { > ^ > ( ) >cfg.c:100:8: note: use '==' to turn this assignment into an equality comparison > if (c = (cfg_t *) malloc (sizeof (cfg_t))) { > ^ > == >cfg.c:126:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (copy = strdup (addr)) { > ~~~~~^~~~~~~~~~~~~~~ >cfg.c:126:11: note: place parentheses around the assignment to silence this warning > if (copy = strdup (addr)) { > ^ > ( ) >cfg.c:126:11: note: use '==' to turn this assignment into an equality comparison > if (copy = strdup (addr)) { > ^ > == >cfg.c:130:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (copy, '>')) > ~~~~^~~~~~~~~~~~~~~~~~~~ >cfg.c:130:11: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (copy, '>')) > ^ > ( ) >cfg.c:130:11: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (copy, '>')) > ^ > == >cfg.c:136:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (found = map_find (c -> amap, ptr)) > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >cfg.c:136:13: note: place parentheses around the assignment to silence this warning > if (found = map_find (c -> amap, ptr)) > ^ > ( ) >cfg.c:136:13: note: use '==' to turn this assignment into an equality comparison > if (found = map_find (c -> amap, ptr)) > ^ > == >cfg.c:147:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (ptr = strchr (copy, '@')) { > ~~~~^~~~~~~~~~~~~~~~~~~~ >cfg.c:147:12: note: place parentheses around the assignment to silence this warning > if (ptr = strchr (copy, '@')) { > ^ > ( ) >cfg.c:147:12: note: use '==' to turn this assignment into an equality comparison > if (ptr = strchr (copy, '@')) { > ^ > == >7 warnings generated. >clang -L../lib -L/usr/local/lib -pthread -L/usr/lib/libmilter bav.o cfg.o -o bav -lagn -lmilter -lex -lsa >clang -I../lib -I/usr/local/lib -I/usr/local/include -I/usr/local/include -pthread -c -o bavwrap.o bavwrap.c >bavwrap.c:111:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (line = nextline (& ptr)) { > ~~~~~^~~~~~~~~~~~~~~~~~ >bavwrap.c:111:11: note: place parentheses around the assignment to silence this warning > if (line = nextline (& ptr)) { > ^ > ( ) >bavwrap.c:111:11: note: use '==' to turn this assignment into an equality comparison > if (line = nextline (& ptr)) { > ^ > == >bavwrap.c:118:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > while (line = nextline (& ptr)) > ~~~~~^~~~~~~~~~~~~~~~~~ >bavwrap.c:118:17: note: place parentheses around the assignment to silence this warning > while (line = nextline (& ptr)) > ^ > ( ) >bavwrap.c:118:17: note: use '==' to turn this assignment into an equality comparison > while (line = nextline (& ptr)) > ^ > == >bavwrap.c:124:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] > else if (! strncmp (line, "-ERR", 4)) > ^ >bavwrap.c:248:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (l = lock_alloc (CONTROL_LOCK)) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >bavwrap.c:248:8: note: place parentheses around the assignment to silence this warning > if (l = lock_alloc (CONTROL_LOCK)) { > ^ > ( ) >bavwrap.c:248:8: note: use '==' to turn this assignment into an equality comparison > if (l = lock_alloc (CONTROL_LOCK)) { > ^ > == >bavwrap.c:253:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (n = system (BAVD_CONTROL)) > ~~^~~~~~~~~~~~~~~~~~~~~~~ >bavwrap.c:253:10: note: place parentheses around the assignment to silence this warning > if (n = system (BAVD_CONTROL)) > ^ > ( ) >bavwrap.c:253:10: note: use '==' to turn this assignment into an equality comparison > if (n = system (BAVD_CONTROL)) > ^ > == >bavwrap.c:278:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (program = strrchr (argv[0], '/')) > ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >bavwrap.c:278:14: note: place parentheses around the assignment to silence this warning > if (program = strrchr (argv[0], '/')) > ^ > ( ) >bavwrap.c:278:14: note: use '==' to turn this assignment into an equality comparison > if (program = strrchr (argv[0], '/')) > ^ > == >bavwrap.c:309:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (csig = csig_alloc (SIGPIPE, SIG_IGN, -1)) { > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bavwrap.c:309:11: note: place parentheses around the assignment to silence this warning > if (csig = csig_alloc (SIGPIPE, SIG_IGN, -1)) { > ^ > ( ) >bavwrap.c:309:11: note: use '==' to turn this assignment into an equality comparison > if (csig = csig_alloc (SIGPIPE, SIG_IGN, -1)) { > ^ > == >bavwrap.c:310:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (lg = log_alloc (NULL, program, loglevel)) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >bavwrap.c:310:10: note: place parentheses around the assignment to silence this warning > if (lg = log_alloc (NULL, program, loglevel)) { > ^ > ( ) >bavwrap.c:310:10: note: use '==' to turn this assignment into an equality comparison > if (lg = log_alloc (NULL, program, loglevel)) { > ^ > == >8 warnings generated. >clang -I../lib -I/usr/local/lib -I/usr/local/include -I/usr/local/include -pthread -c -o store.o store.c >store.c:90:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > if (st = malloc (sizeof (store_t))) { > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >store.c:90:9: note: place parentheses around the assignment to silence this warning > if (st = malloc (sizeof (store_t))) { > ^ > ( ) >store.c:90:9: note: use '==' to turn this assignment into an equality comparison > if (st = malloc (sizeof (store_t))) { > ^ > == >1 warning generated. >clang -L../lib -L/usr/local/lib -pthread -L/usr/lib/libmilter bavwrap.o store.o -o bavwrap -lagn -lmilter -lex -lsa >gmake[1]: Leaving directory `/wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/c/bav' >Buildfile: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/openemm_build.xml > >build: > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/src > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm/WEB-INF/classes > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/openemm_build.xml:54: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > [javac] Compiling 912 source files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm/WEB-INF/classes > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/preview/TrustedHttpsHandler.java:19: warning: Handler is internal proprietary API and may be removed in a future release > [javac] public class TrustedHttpsHandler extends sun.net.www.protocol.https.Handler { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/emm/core/commons/uid/impl/UIDParserImpl.java:5: warning: [deprecation] DeprecatedUIDVersionException in org.agnitas.emm.core.commons.uid has been deprecated > [javac] import org.agnitas.emm.core.commons.uid.DeprecatedUIDVersionException; > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/emm/core/commons/uid/impl/UIDParserImpl.java:6: warning: [deprecation] UID in org.agnitas.emm.core.commons.uid has been deprecated > [javac] import org.agnitas.emm.core.commons.uid.UID; > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/emm/core/commons/uid/impl/UIDParserImpl.java:7: warning: [deprecation] UIDParser in org.agnitas.emm.core.commons.uid has been deprecated > [javac] import org.agnitas.emm.core.commons.uid.UIDParser; > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/emm/core/commons/uid/impl/UIDParserImpl.java:12: warning: [deprecation] UIDParser in org.agnitas.emm.core.commons.uid has been deprecated > [javac] public class UIDParserImpl implements UIDParser { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/BlacklistAction.java:38: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class BlacklistAction extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/CustomerMatchTargetTag.java:38: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class CustomerMatchTargetTag extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/DBColumnAlias.java:37: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class DBColumnAlias extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/LayoutFileTag.java:31: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class LayoutFileTag extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/LayoutImgTag.java:32: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class LayoutImgTag extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/PermissionTag.java:30: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class PermissionTag extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/ShowColumnInfoTag.java:45: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class ShowColumnInfoTag extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/ShowSubscriberStat.java:47: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class ShowSubscriberStat extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/ShowTableOffset.java:27: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class ShowTableOffset extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/ExecuteScript.java:107: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("velocity error: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/ExecuteScript.java:108: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveList.java:165: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("problem encrypt: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveList.java:166: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveList.java:172: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("problem: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveList.java:173: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveList.java:181: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().info("generated feed"); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveMailing.java:149: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("archive problem: " + e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveMailing.java:150: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveMailing.java:169: warning: [deprecation] createPreview(long,long,boolean) in Preview has been deprecated > [javac] Hashtable<String,Object> output = preview.createPreview (mailingID,customerID, false); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/ServiceMail.java:193: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("velocity error: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/ServiceMail.java:194: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/SubscribeCustomer.java:172: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("executeOperation: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/UpdateCustomer.java:274: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("executeOperation: " + e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/UpdateCustomer.java:275: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("SQL: " + sqlData[0]); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/UpdateCustomer.java:276: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(" param: " + sqlData[1]); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/UpdateCustomer.java:308: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("generateUpdateValue: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/backend/URLMaker.java:35: warning: [deprecation] UID in org.agnitas.emm.core.commons.uid has been deprecated > [javac] /** Checks an URL if it should be used static > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/backend/URLMaker.java:31: warning: [deprecation] UIDImpl in org.agnitas.emm.core.commons.uid.impl has been deprecated > [javac] private UIDImpl uid = null; > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/backend/URLMaker.java:49: warning: [deprecation] UIDImpl in org.agnitas.emm.core.commons.uid.impl has been deprecated > [javac] uid = new UIDImpl (data.company_id, data.mailing_id, data.password); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/beans/impl/TagDetailsImpl.java:121: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("findTagName: "+e.getMessage()); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/beans/impl/TagDetailsImpl.java:242: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().warn("findTagParameters: no equal-sign"); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/ClassicTemplateGenerator.java:129: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().warn("Can`t build mailing dependencies", e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/ClassicTemplateGenerator.java:228: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().warn("Wrong charset name", e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/ClassicTemplateGenerator.java:279: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Can`t find dyn names in template", exception); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/ClassicTemplateGenerator.java:410: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().warn("Error in parsing cmTemplate content", > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/CmsUtils.java:111: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().warn("Wrong charset name", e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/CmsUtils.java:171: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("getDefaultValue: " + e.getMessage()); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/CmsUtils.java:178: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("getDefaultValue: " + e.getMessage()); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:54: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while creation remote connection " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:57: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while parsing port address " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:67: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:80: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting CM Template: " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:96: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:107: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while deleting CM Template: " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:116: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while update CM Template: " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:126: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:143: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:163: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:174: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:184: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:194: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting CM Template: " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:204: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting text version" + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:214: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while remove text version" + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:223: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while save text version" + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:239: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while save text version" + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:49: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while creation remote connection " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:52: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while parsing port address " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:61: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:78: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:94: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get list of " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:105: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:115: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:126: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:142: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:153: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:163: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:179: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get mailing by " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:191: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while add mailing binding for" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:202: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while remove mailing binding from " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:215: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:228: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:244: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get mailing for " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:260: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:276: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:287: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while remove mailing binding " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:296: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while add CM location " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:306: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get module content " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:315: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while creating module category " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:325: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while updating module category " + e + "\n" + AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:333: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting module category " + e + "\n" + AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:342: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while deleting module category " + e + "\n" + AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:355: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting module categories " + e + "\n" + AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:369: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting modules for category " + e + "\n" + AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:381: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:49: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while acces to service " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:52: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while parsing port address " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:62: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:78: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while acces to service " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:88: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while delete " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:98: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while creation " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:109: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while update " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteMediaFileManager.java:50: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteMediaFileManager.java:54: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while parsing port address portAddress=" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteMediaFileManager.java:64: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteMediaFileManager.java:75: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get " + MediaFile.class.getSimpleName() + > [javac] ^ > [javac] Note: Some input files additionally use or override a deprecated API. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 100 warnings > [javac] Creating empty /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm/WEB-INF/classes/org/agnitas/emm/core/download/package-info.class > [copy] Copying 1 file to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm/WEB-INF/classes > [copy] Copying 1528 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm > [copy] Copied 198 empty directories to 10 empty directories under /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm > [copy] Copying 141 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm/WEB-INF/classes > [copy] Copying 70 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm/WEB-INF/lib > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm-ws/WEB-INF/classes > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/openemm_build.xml:75: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds > [javac] Compiling 912 source files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm-ws/WEB-INF/classes > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/preview/TrustedHttpsHandler.java:19: warning: Handler is internal proprietary API and may be removed in a future release > [javac] public class TrustedHttpsHandler extends sun.net.www.protocol.https.Handler { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/emm/core/commons/uid/impl/UIDParserImpl.java:5: warning: [deprecation] DeprecatedUIDVersionException in org.agnitas.emm.core.commons.uid has been deprecated > [javac] import org.agnitas.emm.core.commons.uid.DeprecatedUIDVersionException; > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/emm/core/commons/uid/impl/UIDParserImpl.java:6: warning: [deprecation] UID in org.agnitas.emm.core.commons.uid has been deprecated > [javac] import org.agnitas.emm.core.commons.uid.UID; > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/emm/core/commons/uid/impl/UIDParserImpl.java:7: warning: [deprecation] UIDParser in org.agnitas.emm.core.commons.uid has been deprecated > [javac] import org.agnitas.emm.core.commons.uid.UIDParser; > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/emm/core/commons/uid/impl/UIDParserImpl.java:12: warning: [deprecation] UIDParser in org.agnitas.emm.core.commons.uid has been deprecated > [javac] public class UIDParserImpl implements UIDParser { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/BlacklistAction.java:38: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class BlacklistAction extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/CustomerMatchTargetTag.java:38: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class CustomerMatchTargetTag extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/DBColumnAlias.java:37: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class DBColumnAlias extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/LayoutFileTag.java:31: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class LayoutFileTag extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/LayoutImgTag.java:32: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class LayoutImgTag extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/PermissionTag.java:30: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class PermissionTag extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/ShowColumnInfoTag.java:45: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class ShowColumnInfoTag extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/ShowSubscriberStat.java:47: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class ShowSubscriberStat extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/taglib/ShowTableOffset.java:27: warning: [deprecation] BodyBase in org.agnitas.taglib has been deprecated > [javac] public class ShowTableOffset extends BodyBase { > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/ExecuteScript.java:107: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("velocity error: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/ExecuteScript.java:108: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveList.java:165: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("problem encrypt: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveList.java:166: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveList.java:172: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("problem: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveList.java:173: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveList.java:181: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().info("generated feed"); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveMailing.java:149: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("archive problem: " + e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveMailing.java:150: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/GetArchiveMailing.java:169: warning: [deprecation] createPreview(long,long,boolean) in Preview has been deprecated > [javac] Hashtable<String,Object> output = preview.createPreview (mailingID,customerID, false); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/ServiceMail.java:193: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("velocity error: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/ServiceMail.java:194: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/SubscribeCustomer.java:172: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("executeOperation: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/UpdateCustomer.java:274: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("executeOperation: " + e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/UpdateCustomer.java:275: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("SQL: " + sqlData[0]); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/UpdateCustomer.java:276: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error(" param: " + sqlData[1]); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/actions/ops/UpdateCustomer.java:308: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("generateUpdateValue: "+e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/backend/URLMaker.java:35: warning: [deprecation] UID in org.agnitas.emm.core.commons.uid has been deprecated > [javac] /** Checks an URL if it should be used static > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/backend/URLMaker.java:31: warning: [deprecation] UIDImpl in org.agnitas.emm.core.commons.uid.impl has been deprecated > [javac] private UIDImpl uid = null; > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/backend/URLMaker.java:49: warning: [deprecation] UIDImpl in org.agnitas.emm.core.commons.uid.impl has been deprecated > [javac] uid = new UIDImpl (data.company_id, data.mailing_id, data.password); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/beans/impl/TagDetailsImpl.java:121: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("findTagName: "+e.getMessage()); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/beans/impl/TagDetailsImpl.java:242: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().warn("findTagParameters: no equal-sign"); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/ClassicTemplateGenerator.java:129: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().warn("Can`t build mailing dependencies", e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/ClassicTemplateGenerator.java:228: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().warn("Wrong charset name", e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/ClassicTemplateGenerator.java:279: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Can`t find dyn names in template", exception); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/ClassicTemplateGenerator.java:410: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().warn("Error in parsing cmTemplate content", > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/CmsUtils.java:111: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().warn("Wrong charset name", e); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/CmsUtils.java:171: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("getDefaultValue: " + e.getMessage()); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/CmsUtils.java:178: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("getDefaultValue: " + e.getMessage()); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:54: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while creation remote connection " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:57: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while parsing port address " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:67: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:80: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting CM Template: " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:96: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:107: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while deleting CM Template: " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:116: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while update CM Template: " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:126: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:143: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:163: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:174: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:184: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:194: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting CM Template: " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:204: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting text version" + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:214: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while remove text version" + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:223: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while save text version" + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteCMTemplateManager.java:239: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while save text version" + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:49: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while creation remote connection " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:52: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while parsing port address " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:61: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:78: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:94: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get list of " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:105: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:115: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:126: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:142: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:153: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:163: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:179: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get mailing by " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:191: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while add mailing binding for" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:202: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while remove mailing binding from " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:215: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:228: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:244: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get mailing for " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:260: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:276: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:287: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while remove mailing binding " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:296: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while add CM location " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:306: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get module content " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:315: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while creating module category " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:325: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while updating module category " + e + "\n" + AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:333: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting module category " + e + "\n" + AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:342: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while deleting module category " + e + "\n" + AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:355: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting module categories " + e + "\n" + AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:369: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while getting modules for category " + e + "\n" + AgnUtils.getStackTrace(e)); > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleManager.java:381: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:49: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while acces to service " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:52: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while parsing port address " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:62: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:78: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while acces to service " + e + "\n" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:88: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while delete " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:98: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while creation " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteContentModuleTypeManager.java:109: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while update " + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteMediaFileManager.java:50: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteMediaFileManager.java:54: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while parsing port address portAddress=" + > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteMediaFileManager.java:64: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger() > [javac] ^ > [javac] /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/java/org/agnitas/cms/utils/dataaccess/RemoteMediaFileManager.java:75: warning: [deprecation] logger() in AgnUtils has been deprecated > [javac] AgnUtils.logger().error("Error while get " + MediaFile.class.getSimpleName() + > [javac] ^ > [javac] Note: Some input files additionally use or override a deprecated API. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 100 warnings > [javac] Creating empty /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm-ws/WEB-INF/classes/org/agnitas/emm/core/download/package-info.class > [copy] Copying 9 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm-ws > [copy] Copying 1 file to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm-ws/WEB-INF > [copy] Copying 6 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm-ws/WEB-INF/classes > [copy] Copying 1 file to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm-ws/WEB-INF/classes > [copy] Copying 17 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm-ws/WEB-INF/classes/mappings > [copy] Copying 44 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/openemm-ws/WEB-INF/lib > [copy] Copying 6 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webservices > [copy] Copying 958 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/webapps/manual > [copy] Copying 22 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/bin/scripts > [move] Moving 2 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/conf/semu > [move] Moving 1 file to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/USR_SHARE > [delete] Deleting directory /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/bin/scripts/upgrade > [copy] Copying 3 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/conf/bav > [copy] Copying 5 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/conf/upgrade > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/lock > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/log > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/run > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/spool/bav > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/spool/filter > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/spool/log > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/spool/ADMIN > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/spool/ARCHIVE > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/spool/DELETED > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/spool/META > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/spool/QUEUE > [mkdir] Created dir: /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/var/spool/RECOVER > [copy] Copying 54 files to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/USR_SHARE > [copy] Copying 1 file to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target > [copy] Copying 1 file to /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target > >BUILD SUCCESSFUL >Total time: 39 seconds >/bin/mv /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/src/script/control/* /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/bin/ >/bin/mv /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/USR_SHARE /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/USR_SHARE >=========================================================================== >====>> Checking for filesystem violations... done >=======================<phase: run-depends >============================ >===> openemm2013-R2 depends on file: /usr/local/apache-tomcat-8.0/bin/bootstrap.jar - found >===> openemm2013-R2 depends on package: py27-MySQLdb56>=1.2.3 - not found >===> Verifying install for py27-MySQLdb56>=1.2.3 in /usr/ports/databases/py-MySQLdb56 >===> Installing existing package /packages/All/py27-MySQLdb56-1.2.3_4.txz >[10samd64-svnports-job-01] Installing mysql56-client-5.6.20... done >[10samd64-svnports-job-01] Installing python27-2.7.8_4... done >[10samd64-svnports-job-01] Installing py27-setuptools27-5.5.1... done >[10samd64-svnports-job-01] Installing python2-2_3... done >[10samd64-svnports-job-01] Installing py27-MySQLdb56-1.2.3_4... done >Message for python27-2.7.8_4: > ===================================================================== > >Note that some standard Python modules are provided as separate ports >as they require additional dependencies. They are available as: > >bsddb databases/py-bsddb >gdbm databases/py-gdbm >sqlite3 databases/py-sqlite3 >tkinter x11-toolkits/py-tkinter > >===================================================================== >===> Returning to build of openemm2013-R2 >===> openemm2013-R2 depends on file: /usr/local/bin/python2.7 - found >=========================================================================== >=======================<phase: stage >============================ >===> Staging for openemm2013-R2 >===> openemm2013-R2 depends on file: /usr/local/apache-tomcat-8.0/bin/bootstrap.jar - found >===> openemm2013-R2 depends on package: py27-MySQLdb56>=1.2.3 - found >===> openemm2013-R2 depends on file: /usr/local/bin/python2.7 - found >===> openemm2013-R2 depends on shared library: libslang.so - found (/usr/local/lib/libslang.so.2.2.4) >===> openemm2013-R2 depends on shared library: libsa.so - found (/usr/local/lib/libsa.so.12.0.26) >===> Generating temporary packing list >/bin/mkdir -p /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/openemm2013 >(cd /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/target/ && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/sbin/chown -Rh root:wheel $1 && /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- \* /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/openemm2013 "! -name USR_SHARE*") >(cd /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/openemm2013/bin/scripts/ && /bin/ln -sf bavwrap filter_or_forward && /bin/ln -sf bavwrap is_no_systemmail && /bin/ln -sf bavwrap scan_and_unsubscribe) >(cd /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/openemm2013/webapps/ && /bin/ln -sf openemm/assets openemmassets) >/usr/bin/strip /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/openemm2013/bin/bav >/usr/bin/strip /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/openemm2013/bin/smctrl >/usr/bin/strip /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/openemm2013/bin/qctrl >/usr/bin/strip /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/openemm2013/bin/xmlback >/usr/bin/strip /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/openemm2013/bin/updater >/usr/bin/strip /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/openemm2013/bin/scripts/bavwrap >/bin/mkdir -p /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/share/doc/openemm2013 >(cd /wrkdirs/usr/ports/mail/openemm2013/work/OpenEMM-2013_R2-src/USR_SHARE/ && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/sbin/chown -Rh root:wheel $1 && /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- . /wrkdirs/usr/ports/mail/openemm2013/work/stage/usr/local/share/doc/openemm2013) >====> Compressing man pages (compress-man) >===> Staging rc.d startup script(s) >=========================================================================== >====> Running Q/A tests (stage-qa) >====> Checking for pkg-plist issues (check-plist) >===> Parsing plist >===> Checking for items in STAGEDIR missing from pkg-plist >===> Checking for directories owned by MTREEs >===> Checking for directories handled by dependencies >===> Checking for items in pkg-plist which are not in STAGEDIR >===> No pkg-plist issues found (check-plist) >====>> Checking for staging violations... done >=======================<phase: package >============================ >===> Building package for openemm2013-R2 >=========================================================================== >=======================<phase: install-mtree >============================ >=========================================================================== >=======================<phase: install >============================ >===> Installing for openemm2013-R2 >===> openemm2013-R2 depends on file: /usr/local/apache-tomcat-8.0/bin/bootstrap.jar - found >===> openemm2013-R2 depends on package: py27-MySQLdb56>=1.2.3 - found >===> openemm2013-R2 depends on file: /usr/local/bin/python2.7 - found >===> openemm2013-R2 depends on shared library: libslang.so - found (/usr/local/lib/libslang.so.2.2.4) >===> openemm2013-R2 depends on shared library: libsa.so - found (/usr/local/lib/libsa.so.12.0.26) >===> Checking if openemm2013 already installed >===> Registering installation for openemm2013-R2 >To integrate the OpenEMM 2013 R2 to the installed Tomcat add this junk to the server.xml of Tomcat: >TOMCAT_HOME= ${PREFIX}/apache-tomcat-8.0/lib/ > >vi TOMCAT_HOME/conf/server.xml > > <Engine> > ..... > <!-- add this part START --> > <Host name="OpenEMM" appBase="webapps-empty" autoDeploy="true" unpackWARs="false" xmlValidation="false" xmlNamespaceAware="false"> > <Alias>localhost</Alias> > <Valve className="org.apache.catalina.valves.AccessLogValve" > resolveHosts="false" directory="${catalina.base}/logs/access/" rotatable="true" buffered="true" > prefix="" suffix="-access_openemm.log" fileDateFormat="yyyyMMdd" > pattern='%a %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"' /> > <Context cookies="false" docBase="${PREFIX}/${PORTNAME}/webapps/openemm" path="/openemm" reloadable="true" > > <JarScanner scanAllDirectories="true" scanBootstrapClassPath="true"/> > </Context> > <Context cookies="false" docBase="${PREFIX}/${PORTNAME}/webapps/openemm-ws" path="/openemm-ws2" reloadable="true" /> > <Context docBase="${PREFIX}/${PORTNAME}/webapps/manual" path="/manual" allowLinking="true" /> > </Host> > <!-- add this part END --> > </Engine> > >also don't forget securing the tomcat, or add a httpd in front secured > ># TODO LEI if not already done symlink pyhton2.7 to python >ln -sf ${PREFIX}/bin/python2.7 ${PREFIX}/bin/python > ># IMPORTANT senmail is completly controlled from OpenEMM ! it stops and starts sendmail ># check if sendmail is enabled >sendmail_enable="YES" > ># check also if you have a symlink to sendmail >ln -s /etc/rc.d/sendmail /etc/init.d/ > ># update the read right on the maillog file >chmod 644 /var/log/maillog > ># to keep this change permanent change cron info in /etc/newsyslog.conf ># change line /var/log/maillog 644 7 * @T00 JC > >if not change tracking of mail sending / bounces is not working correct > ># don't forget to add the link for mysql driver jar to tomcat >ln -s ${PREFIX}/share/java/classes/mysql-connector-java.jar TOMCAT_HOME/lib >chown -h www TOMCAT_HOME/lib/mysql-connector-java.jar > ># setup the database scripts > >in the installed mysql add 2 databases > >create database openemm; >create database openemm_cms; > >grant the privileges for the 2 db's from where you want to access >grant all privileges on openemm.* to agnitas@'X.Y.%' identified by 'openemm'; >grant all privileges on openemm_cms.* to agnitas@'X.Y.%' identified by 'openemm'; > >flush privileges; > ># import the inital data >mysql -u root -p openemm < ${PREFIX}/share/doc/openemm2013/openemm-2013.sql >usr/local/share/doc/openemm2013/ >mysql -u root -p openemm_cms < ${PREFIX}/share/doc/openemm2013/openemm-2013.sql > >#additional config for db acces can be done >${PREFIX}/openemm2013/webapps/openemm/WEB-INF/classes/emm.properties >or >${PREFIX}/openemm2013/webapps/openemm/WEB-INF/classes/cms.properties > ># startup config for tomcat and OpenEMM >add to /etc/rc.conf ># Tomcat8 Server startup with initial config params for OpenEMM >tomcat8_enable="YES" >tomcat8_java_opts="-server -Djava.awt.headless=true -Xms256m -Xmx512m -XX:MaxPermSize=256m -Xss256k" > ># Openemm 2013 >openemm2013_enable="YES" > >#NOW you are ready to start the tomcat and OpenEMM > >service tomcat8 start > >${PREFIX}/etc/rc.d/openemm2013 start > >=========================================================================== >====>> Checking shared library dependencies > libc.so.7 => /lib/libc.so.7 (0x80081e000) > libc.so.7 => /lib/libc.so.7 (0x80081f000) > libc.so.7 => /lib/libc.so.7 (0x800827000) > libc.so.7 => /lib/libc.so.7 (0x801065000) > libc.so.7 => /lib/libc.so.7 (0x801066000) > libc.so.7 => /lib/libc.so.7 (0x80161a000) > libex.so.10 => /usr/local/lib/libex.so.10 (0x800a34000) > libex.so.10 => /usr/local/lib/libex.so.10 (0x800a35000) > liblzma.so.5 => /usr/lib/liblzma.so.5 (0x8019c4000) > libm.so.5 => /lib/libm.so.5 (0x8011a7000) > libmilter.so.5 => /usr/lib/libmilter.so.5 (0x800825000) > libmilter.so.5 => /usr/lib/libmilter.so.5 (0x800826000) > libncurses.so.8 => /lib/libncurses.so.8 (0x8013cd000) > libsa.so.12 => /usr/local/lib/libsa.so.12 (0x800c35000) > libsa.so.12 => /usr/local/lib/libsa.so.12 (0x800c36000) > libslang.so.2 => /usr/local/lib/libslang.so.2 (0x800863000) > libthr.so.3 => /lib/libthr.so.3 (0x800e40000) > libthr.so.3 => /lib/libthr.so.3 (0x800e41000) > libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x800c00000) > libz.so.6 => /lib/libz.so.6 (0x800f91000) >=======================<phase: deinstall >============================ >===> Deinstalling for openemm2013 >===> Deinstalling openemm2013-R2 >Updating database digests format... done >Checking integrity... done (0 conflicting) >Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): > >Installed packages to be REMOVED: > openemm2013-R2 > >The operation will free 100 MB. >[10samd64-svnports-job-01] [1/1] Deleting openemm2013-R2... done >=========================================================================== >====>> Checking for extra files and directories >===> Cleaning for openemm2013-R2 >build of /usr/ports/mail/openemm2013 ended at Sun Jan 4 16:51:09 CET 2015 >build time: 00:10:59
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 196516
:
151359
| 151360 |
161921
|
162407
|
162408
|
162420
|
162421