DC-Build-Header: ksh 93u+20120801-3.1 / 2018-05-02 12:52:10 +0000 DC-Task: type:rebuild-binarch-only source:ksh version:93u+20120801-3.1 chroot:unstable esttime:239 logfile:/tmp/ksh_93u+20120801-3.1_unstable_clang60.log modes:clang60:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang60 ksh_93u+20120801-3.1' sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on ip-172-31-11-184.eu-central-1.compute.internal +==============================================================================+ | ksh 93u+20120801-3.1 (amd64) Wed, 02 May 2018 12:52:10 +0000 | +==============================================================================+ Package: ksh Version: 93u+20120801-3.1 Source Version: 93u+20120801-3.1 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-f9f4cfb4-c4a9-416c-8561-56e0c22aa097' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang60 ------------ + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=6.0 + echo 'Install of clang-6.0' Install of clang-6.0 + apt-get update Get:1 http://127.0.0.1:9999/debian unstable InRelease [242 kB] Get:2 http://127.0.0.1:9999/debian unstable/main Sources.diff/Index [27.9 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 Packages.diff/Index [27.9 kB] Get:4 http://127.0.0.1:9999/debian unstable/main Sources 2018-05-02-0830.09.pdiff [16.2 kB] Get:4 http://127.0.0.1:9999/debian unstable/main Sources 2018-05-02-0830.09.pdiff [16.2 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2018-05-02-0830.09.pdiff [1781 B] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2018-05-02-0830.09.pdiff [1781 B] Get:6 http://127.0.0.1:9999/debian unstable/main Translation-en [6016 kB] Fetched 6332 kB in 2s (2861 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-6.0 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: lib32gcc1 lib32stdc++6 libbsd0 libc6-i386 libclang-common-6.0-dev libclang1-6.0 libedit2 libjsoncpp1 libllvm6.0 libncurses5 libobjc-7-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-6.0-doc Recommended packages: llvm-6.0-dev python libomp-dev libgpm2 The following NEW packages will be installed: clang-6.0 lib32gcc1 lib32stdc++6 libbsd0 libc6-i386 libclang-common-6.0-dev libclang1-6.0 libedit2 libjsoncpp1 libllvm6.0 libncurses5 libobjc-7-dev libobjc4 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 37.7 MB of archives. After this operation, 187 MB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 libbsd0 amd64 0.8.7-1 [92.1 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 libncurses5 amd64 6.1+20180210-2 [95.7 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libedit2 amd64 3.1-20170329-1 [85.2 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 libllvm6.0 amd64 1:6.0-3 [14.5 MB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libobjc4 amd64 8-20180425-1 [52.4 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libobjc-7-dev amd64 7.3.0-17 [204 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libc6-i386 amd64 2.27-3 [2855 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 lib32gcc1 amd64 1:8-20180425-1 [47.8 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 lib32stdc++6 amd64 8-20180425-1 [406 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 libclang-common-6.0-dev amd64 1:6.0-3 [3102 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 libclang1-6.0 amd64 1:6.0-3 [6995 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 clang-6.0 amd64 1:6.0-3 [9175 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 37.7 MB in 0s (97.5 MB/s) Selecting previously unselected package libjsoncpp1:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10022 files and directories currently installed.) Preparing to unpack .../00-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../01-libbsd0_0.8.7-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.7-1) ... Selecting previously unselected package libncurses5:amd64. Preparing to unpack .../02-libncurses5_6.1+20180210-2_amd64.deb ... Unpacking libncurses5:amd64 (6.1+20180210-2) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../03-libedit2_3.1-20170329-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20170329-1) ... Selecting previously unselected package libllvm6.0:amd64. Preparing to unpack .../04-libllvm6.0_1%3a6.0-3_amd64.deb ... Unpacking libllvm6.0:amd64 (1:6.0-3) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../05-libobjc4_8-20180425-1_amd64.deb ... Unpacking libobjc4:amd64 (8-20180425-1) ... Selecting previously unselected package libobjc-7-dev:amd64. Preparing to unpack .../06-libobjc-7-dev_7.3.0-17_amd64.deb ... Unpacking libobjc-7-dev:amd64 (7.3.0-17) ... Selecting previously unselected package libc6-i386. Preparing to unpack .../07-libc6-i386_2.27-3_amd64.deb ... Unpacking libc6-i386 (2.27-3) ... Selecting previously unselected package lib32gcc1. Preparing to unpack .../08-lib32gcc1_1%3a8-20180425-1_amd64.deb ... Unpacking lib32gcc1 (1:8-20180425-1) ... Selecting previously unselected package lib32stdc++6. Preparing to unpack .../09-lib32stdc++6_8-20180425-1_amd64.deb ... Unpacking lib32stdc++6 (8-20180425-1) ... Selecting previously unselected package libclang-common-6.0-dev. Preparing to unpack .../10-libclang-common-6.0-dev_1%3a6.0-3_amd64.deb ... Unpacking libclang-common-6.0-dev (1:6.0-3) ... Selecting previously unselected package libclang1-6.0:amd64. Preparing to unpack .../11-libclang1-6.0_1%3a6.0-3_amd64.deb ... Unpacking libclang1-6.0:amd64 (1:6.0-3) ... Selecting previously unselected package clang-6.0. Preparing to unpack .../12-clang-6.0_1%3a6.0-3_amd64.deb ... Unpacking clang-6.0 (1:6.0-3) ... Setting up libncurses5:amd64 (6.1+20180210-2) ... Setting up libobjc4:amd64 (8-20180425-1) ... Setting up libc6-i386 (2.27-3) ... Setting up libbsd0:amd64 (0.8.7-1) ... Setting up libobjc-7-dev:amd64 (7.3.0-17) ... Processing triggers for libc-bin (2.27-3) ... Setting up lib32gcc1 (1:8-20180425-1) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up libedit2:amd64 (3.1-20170329-1) ... Setting up libllvm6.0:amd64 (1:6.0-3) ... Setting up libclang1-6.0:amd64 (1:6.0-3) ... Setting up lib32stdc++6 (8-20180425-1) ... Setting up libclang-common-6.0-dev (1:6.0-3) ... Setting up clang-6.0 (1:6.0-3) ... Processing triggers for libc-bin (2.27-3) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5 6 7 8' + cd /usr/bin + for VERSION in $VERSIONS + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-6.0 g++-4.6 + ln -s clang-6.0 gcc-4.6 + ln -s clang-6.0 cpp-4.6 + ln -s clang-6.0 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-6.0 g++-4.7 + ln -s clang-6.0 gcc-4.7 + ln -s clang-6.0 cpp-4.7 + ln -s clang-6.0 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-6.0 g++-4.8 + ln -s clang-6.0 gcc-4.8 + ln -s clang-6.0 cpp-4.8 + ln -s clang-6.0 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-6.0 g++-4.9 + ln -s clang-6.0 gcc-4.9 + ln -s clang-6.0 cpp-4.9 + ln -s clang-6.0 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-6.0 g++-5 + ln -s clang-6.0 gcc-5 + ln -s clang-6.0 cpp-5 + ln -s clang-6.0 gcc + echo 'gcc-5 hold' + dpkg --set-selections + echo 'g++-5 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-6 gcc-6 cpp-6 gcc + ln -s clang++-6.0 g++-6 + ln -s clang-6.0 gcc-6 + ln -s clang-6.0 cpp-6 + ln -s clang-6.0 gcc + echo 'gcc-6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-7 gcc-7 cpp-7 gcc + ln -s clang++-6.0 g++-7 + ln -s clang-6.0 gcc-7 + ln -s clang-6.0 cpp-7 + ln -s clang-6.0 gcc + echo 'gcc-7 hold' + dpkg --set-selections + echo 'g++-7 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-8 gcc-8 cpp-8 gcc + ln -s clang++-6.0 g++-8 + ln -s clang-6.0 gcc-8 + ln -s clang-6.0 cpp-8 + ln -s clang-6.0 gcc + echo 'gcc-8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + cd - /build/ksh-QHVrWO + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang I: Finished running '/tmp/clang60'. Finished processing commands. -------------------------------------------------------------------------------- +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:9999/debian unstable InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... NOTICE: 'ksh' packaging is maintained in the 'Git' version control system at: git://anonscm.debian.org/collab-maint/ksh.git Please use: git clone git://anonscm.debian.org/collab-maint/ksh.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 2450 kB of source archives. Get:1 http://127.0.0.1:9999/debian unstable/main ksh 93u+20120801-3.1 (dsc) [1834 B] Get:2 http://127.0.0.1:9999/debian unstable/main ksh 93u+20120801-3.1 (tar) [2433 kB] Get:3 http://127.0.0.1:9999/debian unstable/main ksh 93u+20120801-3.1 (diff) [15.1 kB] Fetched 2450 kB in 0s (15.0 MB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/ksh-QHVrWO/ksh-93u+20120801' with '<>' I: NOTICE: Log filtering will replace 'build/ksh-QHVrWO' with '<>' +------------------------------------------------------------------------------+ | Install build-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-cnAXfN/apt_archive/sbuild-build-depends-core-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-cnAXfN/apt_archive ./ InRelease Get:2 copy:/<>/resolver-cnAXfN/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-cnAXfN/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-cnAXfN/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-cnAXfN/apt_archive ./ Packages [431 B] Fetched 1737 B in 0s (0 B/s) Reading package lists... Reading package lists... Install core build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 852 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-cnAXfN/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 852 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10771 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in any) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: dpkg-dev (>= 1.16.1), debhelper (>= 9) Filtered Build-Depends: dpkg-dev (>= 1.16.1), debhelper (>= 9) dpkg-deb: building package 'sbuild-build-depends-ksh-dummy' in '/<>/resolver-cnAXfN/apt_archive/sbuild-build-depends-ksh-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-ksh-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-cnAXfN/apt_archive ./ InRelease Get:2 copy:/<>/resolver-cnAXfN/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-cnAXfN/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-cnAXfN/apt_archive ./ Sources [497 B] Get:5 copy:/<>/resolver-cnAXfN/apt_archive ./ Packages [578 B] Fetched 2038 B in 0s (0 B/s) Reading package lists... Reading package lists... Install ksh build dependencies (apt-based resolver) --------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtimedate-perl libtool libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make dwz gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtimedate-perl libtool libxml2 m4 man-db po-debconf sbuild-build-depends-ksh-dummy 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 19.7 MB of archives. After this operation, 66.6 MB of additional disk space will be used. Get:1 copy:/<>/resolver-cnAXfN/apt_archive ./ sbuild-build-depends-ksh-dummy 0.invalid.0 [868 B] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 bsdmainutils amd64 11.1.2 [190 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 groff-base amd64 1.22.3-10 [1176 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libpipeline1 amd64 1.5.0-1 [29.0 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 man-db amd64 2.8.3-2 [1180 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libmagic-mgc amd64 1:5.33-2 [234 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libmagic1 amd64 1:5.33-2 [113 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 file amd64 1:5.33-2 [65.6 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 gettext-base amd64 0.19.8.1-6 [122 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 m4 amd64 1.4.18-1 [202 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 autoconf all 2.69-11 [341 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 autotools-dev all 20180224.1 [77.0 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 automake all 1:1.15.1-3.1 [736 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 autopoint all 0.19.8.1-6 [434 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 libtool all 2.4.6-2.1 [547 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 dh-autoreconf all 17 [16.5 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 libarchive-zip-perl all 1.60-1 [95.6 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 libfile-stripnondeterminism-perl all 0.041-1 [19.9 kB] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:21 http://127.0.0.1:9999/debian unstable/main amd64 dh-strip-nondeterminism all 0.041-1 [12.0 kB] Get:22 http://127.0.0.1:9999/debian unstable/main amd64 libglib2.0-0 amd64 2.56.1-2 [2928 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 libicu57 amd64 57.1-9 [7698 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-6.1 [725 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 libcroco3 amd64 0.6.12-2 [144 kB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 gettext amd64 0.19.8.1-6 [1302 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 po-debconf all 1.0.20 [247 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 debhelper all 11.2.1 [1013 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.7 MB in 0s (95.1 MB/s) Selecting previously unselected package bsdmainutils. (Reading database ... 10771 files and directories currently installed.) Preparing to unpack .../00-bsdmainutils_11.1.2_amd64.deb ... Unpacking bsdmainutils (11.1.2) ... Selecting previously unselected package groff-base. Preparing to unpack .../01-groff-base_1.22.3-10_amd64.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../02-libpipeline1_1.5.0-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../03-man-db_2.8.3-2_amd64.deb ... Unpacking man-db (2.8.3-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.33-2_amd64.deb ... Unpacking libmagic-mgc (1:5.33-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../05-libmagic1_1%3a5.33-2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.33-2) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.33-2_amd64.deb ... Unpacking file (1:5.33-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.19.8.1-6_amd64.deb ... Unpacking gettext-base (0.19.8.1-6) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../08-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../09-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../10-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../11-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../12-automake_1%3a1.15.1-3.1_all.deb ... Unpacking automake (1:1.15.1-3.1) ... Selecting previously unselected package autopoint. Preparing to unpack .../13-autopoint_0.19.8.1-6_all.deb ... Unpacking autopoint (0.19.8.1-6) ... Selecting previously unselected package libtool. Preparing to unpack .../14-libtool_2.4.6-2.1_all.deb ... Unpacking libtool (2.4.6-2.1) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../15-dh-autoreconf_17_all.deb ... Unpacking dh-autoreconf (17) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../16-libarchive-zip-perl_1.60-1_all.deb ... Unpacking libarchive-zip-perl (1.60-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../17-libfile-stripnondeterminism-perl_0.041-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.041-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../18-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../19-dh-strip-nondeterminism_0.041-1_all.deb ... Unpacking dh-strip-nondeterminism (0.041-1) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../20-libglib2.0-0_2.56.1-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.56.1-2) ... Selecting previously unselected package libicu57:amd64. Preparing to unpack .../21-libicu57_57.1-9_amd64.deb ... Unpacking libicu57:amd64 (57.1-9) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../22-libxml2_2.9.4+dfsg1-6.1_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-6.1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../23-libcroco3_0.6.12-2_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../24-gettext_0.19.8.1-6_amd64.deb ... Unpacking gettext (0.19.8.1-6) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../25-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../26-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../27-debhelper_11.2.1_all.deb ... Unpacking debhelper (11.2.1) ... Selecting previously unselected package sbuild-build-depends-ksh-dummy. Preparing to unpack .../28-sbuild-build-depends-ksh-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-ksh-dummy (0.invalid.0) ... Setting up libarchive-zip-perl (1.60-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:amd64 (2.56.1-2) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-6) ... Setting up libpipeline1:amd64 (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libicu57:amd64 (57.1-9) ... Setting up libxml2:amd64 (2.9.4+dfsg1-6.1) ... Setting up libmagic-mgc (1:5.33-2) ... Setting up libmagic1:amd64 (1:5.33-2) ... Setting up libcroco3:amd64 (0.6.12-2) ... Processing triggers for libc-bin (2.27-3) ... Setting up autotools-dev (20180224.1) ... Setting up bsdmainutils (11.1.2) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up autopoint (0.19.8.1-6) ... Setting up libfile-stripnondeterminism-perl (0.041-1) ... Setting up gettext (0.19.8.1-6) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.33-2) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15.1-3.1) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.8.3-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libtool (2.4.6-2.1) ... Setting up po-debconf (1.0.20) ... Setting up dh-autoreconf (17) ... Setting up dh-strip-nondeterminism (0.041-1) ... Setting up debhelper (11.2.1) ... Setting up sbuild-build-depends-ksh-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.27-3) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-5-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.30-16 dpkg-dev_1.19.0.5 g++-7_7.3.0-17 gcc-7_7.3.0-17 libc6-dev_2.27-3 libstdc++-7-dev_7.3.0-17 libstdc++6_8-20180425-1 linux-libc-dev_4.15.17-1 Package versions: adduser_3.117 apt_1.6.1 autoconf_2.69-11 automake_1:1.15.1-3.1 autopoint_0.19.8.1-6 autotools-dev_20180224.1 base-files_10.1 base-passwd_3.5.45 bash_4.4.18-2 binutils_2.30-16 binutils-common_2.30-16 binutils-x86-64-linux-gnu_2.30-16 bsdmainutils_11.1.2 bsdutils_1:2.31.1-0.5 build-essential_12.5 bzip2_1.0.6-8.1 clang-6.0_1:6.0-3 coreutils_8.28-1 cpp_4:7.3.0-3 cpp-7_7.3.0-17 dash_0.5.8-2.10 debconf_1.5.66 debfoster_2.7-2.1+b1 debhelper_11.2.1 debian-archive-keyring_2017.7 debianutils_4.8.4 dh-autoreconf_17 dh-strip-nondeterminism_0.041-1 diffutils_1:3.6-1 dpkg_1.19.0.5 dpkg-dev_1.19.0.5 e2fslibs_1.44.1-2 e2fsprogs_1.44.1-2 eatmydata_105-6 fakeroot_1.22-2 fdisk_2.31.1-0.5 file_1:5.33-2 findutils_4.6.0+git+20171230-2 g++_4:7.3.0-3 g++-7_7.3.0-17 gcc_4:7.3.0-3 gcc-6-base_6.4.0-17 gcc-7_7.3.0-17 gcc-7-base_7.3.0-17 gcc-8-base_8-20180425-1 gettext_0.19.8.1-6 gettext-base_0.19.8.1-6 gpgv_2.2.5-1 grep_3.1-2 groff-base_1.22.3-10 gzip_1.6-5+b1 hostname_3.20 init-system-helpers_1.51 intltool-debian_0.35.0+20060710.4 lib32gcc1_1:8-20180425-1 lib32stdc++6_8-20180425-1 libacl1_2.2.52-3+b1 libapt-pkg5.0_1.6.1 libarchive-zip-perl_1.60-1 libasan4_7.3.0-17 libatomic1_8-20180425-1 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.8.3-1 libaudit1_1:2.8.3-1 libbinutils_2.30-16 libblkid1_2.31.1-0.5 libbsd0_0.8.7-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.27-3 libc-dev-bin_2.27-3 libc6_2.27-3 libc6-dev_2.27-3 libc6-i386_2.27-3 libcap-ng0_0.7.9-1 libcc1-0_8-20180425-1 libcilkrts5_7.3.0-17 libclang-common-6.0-dev_1:6.0-3 libclang1-6.0_1:6.0-3 libcom-err2_1.44.1-2 libcomerr2_1.44.1-2 libcroco3_0.6.12-2 libdb5.3_5.3.28-13.1+b1 libdebconfclient0_0.243 libdpkg-perl_1.19.0.5 libeatmydata1_105-6 libedit2_3.1-20170329-1 libext2fs2_1.44.1-2 libfakeroot_1.22-2 libfdisk1_2.31.1-0.5 libffi6_3.2.1-8 libfile-stripnondeterminism-perl_0.041-1 libgc1c2_1:7.4.2-8.2 libgcc-7-dev_7.3.0-17 libgcc1_1:8-20180425-1 libgcrypt20_1.8.2-2 libgdbm-compat4_1.14.1-6 libgdbm3_1.8.3-14 libgdbm5_1.14.1-6 libglib2.0-0_2.56.1-2 libgmp10_2:6.1.2+dfsg-3 libgnutls30_3.5.18-1 libgomp1_8-20180425-1 libgpg-error0_1.29-4 libhogweed4_3.4-1 libicu57_57.1-9 libidn2-0_2.0.4-1.1 libisl15_0.18-4 libisl19_0.19-1 libitm1_8-20180425-1 libjsoncpp1_1.7.4-3 libllvm6.0_1:6.0-3 liblsan0_8-20180425-1 liblz4-1_1.8.1.2-1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.33-2 libmagic1_1:5.33-2 libmount1_2.31.1-0.5 libmpc3_1.1.0-1 libmpfr4_3.1.6-1 libmpfr6_4.0.1-1 libmpx2_8-20180425-1 libncurses5_6.1+20180210-2 libncursesw5_6.1+20180210-2 libnettle6_3.4-1 libobjc-7-dev_7.3.0-17 libobjc4_8-20180425-1 libp11-kit0_0.23.10-2 libpam-modules_1.1.8-3.7 libpam-modules-bin_1.1.8-3.7 libpam-runtime_1.1.8-3.7 libpam0g_1.1.8-3.7 libpcre3_2:8.39-9 libperl5.26_5.26.2-3 libpipeline1_1.5.0-1 libquadmath0_8-20180425-1 libseccomp2_2.3.3-1 libselinux1_2.7-2+b2 libsemanage-common_2.7-2 libsemanage1_2.7-2+b2 libsepol1_2.7-1 libsigsegv2_2.12-2 libsmartcols1_2.31.1-0.5 libss2_1.44.1-2 libstdc++-7-dev_7.3.0-17 libstdc++6_8-20180425-1 libsystemd0_238-4 libtasn1-6_4.13-2 libtimedate-perl_2.3000-2 libtinfo5_6.1+20180210-2 libtinfo6_6.1+20180210-2 libtool_2.4.6-2.1 libtsan0_8-20180425-1 libubsan0_7.3.0-17 libudev1_238-4 libunistring2_0.9.8-1 libustr-1.0-1_1.0.4-6 libuuid1_2.31.1-0.5 libxml2_2.9.4+dfsg1-6.1 libzstd1_1.3.4+dfsg-1 linux-libc-dev_4.15.17-1 login_1:4.5-1 m4_1.4.18-1 make_4.2.1-1 man-db_2.8.3-2 mawk_1.3.3-17+b3 mount_2.31.1-0.5 multiarch-support_2.27-3 ncurses-base_6.1+20180210-2 ncurses-bin_6.1+20180210-2 passwd_1:4.5-1 patch_2.7.6-2 perl_5.26.2-3 perl-base_5.26.2-3 perl-modules-5.26_5.26.2-3 po-debconf_1.0.20 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-ksh-dummy_0.invalid.0 sed_4.4-2 sensible-utils_0.0.12 sysvinit-utils_2.88dsf-59.10 tar_1.30+dfsg-1 util-linux_2.31.1-0.5 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Wed May 31 12:08:43 2017 UTC gpgv: using RSA key FA81B30A96B1099C gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ksh_93u+20120801-3.1.dsc dpkg-source: info: extracting ksh in /<>/ksh-93u+20120801 dpkg-source: info: unpacking ksh_93u+20120801.orig.tar.gz dpkg-source: info: unpacking ksh_93u+20120801-3.1.debian.tar.xz dpkg-source: info: applying shell-options.patch dpkg-source: info: applying cleanup-man-title.patch dpkg-source: info: applying no-rpath.patch dpkg-source: info: applying ftbs.patch dpkg-source: info: applying spelling.patch dpkg-source: info: applying bug755486.patch dpkg-source: info: applying ed.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=user42 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1001 SCHROOT_GROUP=user42 SCHROOT_SESSION_ID=unstable-amd64-sbuild-f9f4cfb4-c4a9-416c-8561-56e0c22aa097 SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package ksh dpkg-buildpackage: info: source version 93u+20120801-3.1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Christoph Martin dpkg-source --before-build ksh-93u+20120801 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_clean for i in ignore silent package mamprobe ; do \ sed -i -e '/^#.\{70\}#/ d' bin/$i ; \ done rm -rf arch bin/*.old debian/rules build-arch dh build-arch dh_update_autotools_config -a debian/rules override_dh_auto_configure make[1]: Entering directory '/<>/ksh-93u+20120801' CCFLAGS=-g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro make[1]: Leaving directory '/<>/ksh-93u+20120801' debian/rules override_dh_auto_build make[1]: Entering directory '/<>/ksh-93u+20120801' bin/package make strip=0 package: update /<>/ksh-93u+20120801/bin/execrate package: warning: yacc: not found -- some make actions may fail package: warning: bison: not found -- some make actions may fail package: initialize the /<>/ksh-93u+20120801/arch/linux.i386-64 view package: update /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/make/probe package: update /<>/ksh-93u+20120801/arch/linux.i386-64/bin/mamake /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:383:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (buf = state.old) ~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:383:10: note: place parentheses around the assignment to silence this warning if (buf = state.old) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:383:10: note: use '==' to turn this assignment into an equality comparison if (buf = state.old) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:583:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (item = right); ~~~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:583:16: note: place parentheses around the assignment to silence this warning } while (item = right); ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:583:16: note: use '==' to turn this assignment into an equality comparison } while (item = right); ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:674:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *t) ~~^~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:674:10: note: place parentheses around the assignment to silence this warning if (c = *t) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:674:10: note: use '==' to turn this assignment into an equality comparison if (c = *t) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:783:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:783:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:783:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:800:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c == ':' || c == '=') && (!v || c == ':' && !*v)) ~~ ~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:800:50: note: place parentheses around the '&&' expression to silence this warning if ((c == ':' || c == '=') && (!v || c == ':' && !*v)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:966:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = status(buf, 0, file, st)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:966:8: note: place parentheses around the assignment to silence this warning if (s = status(buf, 0, file, st)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:966:8: note: use '==' to turn this assignment into an equality comparison if (s = status(buf, 0, file, st)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:971:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (vp = state.view) ~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:971:9: note: place parentheses around the assignment to silence this warning if (vp = state.view) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:971:9: note: use '==' to turn this assignment into an equality comparison if (vp = state.view) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:984:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (vp = vp->next); ~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:984:16: note: place parentheses around the assignment to silence this warning } while (vp = vp->next); ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:984:16: note: use '==' to turn this assignment into an equality comparison } while (vp = vp->next); ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1006:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = status(buf, o, s, st)) ~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1006:11: note: place parentheses around the assignment to silence this warning if (s = status(buf, o, s, st)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1006:11: note: use '==' to turn this assignment into an equality comparison if (s = status(buf, o, s, st)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1011:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (vp = vp->next); ~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1011:16: note: place parentheses around the assignment to silence this warning } while (vp = vp->next); ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1011:16: note: use '==' to turn this assignment into an equality comparison } while (vp = vp->next); ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1028:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = find(buf, r->name, &st)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1028:8: note: place parentheses around the assignment to silence this warning if (s = find(buf, r->name, &st)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1028:8: note: use '==' to turn this assignment into an equality comparison if (s = find(buf, r->name, &st)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1078:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state.sp->fp = fp) ~~~~~~~~~~~~~^~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1078:19: note: place parentheses around the assignment to silence this warning if (state.sp->fp = fp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1078:19: note: use '==' to turn this assignment into an equality comparison if (state.sp->fp = fp) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1091:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = find(buf, file, &st)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1091:12: note: place parentheses around the assignment to silence this warning if (path = find(buf, file, &st)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1091:12: note: use '==' to turn this assignment into an equality comparison if (path = find(buf, file, &st)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1150:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1150:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1236:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (v = v->next) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1236:16: note: place parentheses around the assignment to silence this warning while (v = v->next) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1236:16: note: use '==' to turn this assignment into an equality comparison while (v = v->next) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*s = c); ~~~^~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1251:15: note: place parentheses around the assignment to silence this warning } while (*s = c); ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1251:15: note: use '==' to turn this assignment into an equality comparison } while (*s = c); ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1261:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = execute(s)) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1261:9: note: place parentheses around the assignment to silence this warning if (c = execute(s)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1261:9: note: use '==' to turn this assignment into an equality comparison if (c = execute(s)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1456:10: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1456:10: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1459:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1459:10: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1459:10: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1473:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1473:11: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1473:11: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1476:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1476:11: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1476:11: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1573:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1573:11: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1573:11: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1620:71: warning: '&&' within '||' [-Wlogical-op-parentheses] if (cmd && state.active && (state.force || r->time < z || !r->time && !z)) ~~ ~~~~~~~~~^~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1620:71: note: place parentheses around the '&&' expression to silence this warning if (cmd && state.active && (state.force || r->time < z || !r->time && !z)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1742:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = last(name, '/')) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1742:8: note: place parentheses around the assignment to silence this warning if (s = last(name, '/')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1742:8: note: use '==' to turn this assignment into an equality comparison if (s = last(name, '/')) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1829:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1829:13: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1829:13: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1895:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1895:58: note: place parentheses around the '&&' expression to silence this warning if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1895:164: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1895:164: note: place parentheses around the '&&' expression to silence this warning if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2024:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2024:11: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2024:11: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2032:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = last(r->name, '/')) ~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2032:10: note: place parentheses around the assignment to silence this warning if (t = last(r->name, '/')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2032:10: note: use '==' to turn this assignment into an equality comparison if (t = last(r->name, '/')) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2174:44: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2174:44: note: place parentheses around the '&&' expression to silence this warning if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2174:111: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2174:111: note: place parentheses around the '&&' expression to silence this warning if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2285:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (e = environ; s = *e; e++) ~~^~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2285:22: note: place parentheses around the assignment to silence this warning for (e = environ; s = *e; e++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2285:22: note: use '==' to turn this assignment into an equality comparison for (e = environ; s = *e; e++) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2299:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2299:11: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2299:11: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2326:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2326:18: note: place parentheses around the '&&' expression to silence this warning if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2326:56: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2326:56: note: place parentheses around the '&&' expression to silence this warning if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ^ ( ) 35 warnings generated. package: update /<>/ksh-93u+20120801/arch/linux.i386-64/bin/proto ../../lib/libpp/ppfsm.c:650:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ ../../lib/libpp/ppfsm.c:650:14: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) ../../lib/libpp/ppfsm.c:650:14: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == ../../lib/libpp/ppfsm.c:664:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ ../../lib/libpp/ppfsm.c:664:13: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) ../../lib/libpp/ppfsm.c:664:13: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == ../../lib/libpp/ppproto.c:260:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s++ = *t++); ~~~~~^~~~~~ ../../lib/libpp/ppproto.c:260:14: note: place parentheses around the assignment to silence this warning while (*s++ = *t++); ^ ( ) ../../lib/libpp/ppproto.c:260:14: note: use '==' to turn this assignment into an equality comparison while (*s++ = *t++); ^ == ../../lib/libpp/ppproto.c:312:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(2, buf, p - buf); ^~~~~ ~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:210:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *s++)):(( *s++),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:237:98: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 0 : 1])):(( notice->cc[n > 0 ? 0 : 1]),(-1))); ~~~~~~~~~~ ~~~~~~~~~~~~~^ ../../lib/libast/port/astlicense.c:239:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:240:98: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 1 : 2])):(( notice->cc[n > 0 ? 1 : 2]),(-1))); ~~~~~~~~~~ ~~~~~~~~~~~~~^ ../../lib/libast/port/astlicense.c:249:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:254:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:260:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( i)):(( i),(-1))); ^ ../../lib/libast/port/astlicense.c:263:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:264:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:266:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:285:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = item->data) ~~^~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:285:8: note: place parentheses around the assignment to silence this warning if (t = item->data) ^ ( ) ../../lib/libast/port/astlicense.c:285:8: note: use '==' to turn this assignment into an equality comparison if (t = item->data) ^ == ../../lib/libast/port/astlicense.c:315:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!m || c >= '0' && c <= '9') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libast/port/astlicense.c:315:26: note: place parentheses around the '&&' expression to silence this warning if (!m || c >= '0' && c <= '9') ^ ( ) ../../lib/libast/port/astlicense.c:316:54: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( c)):(( c),(-1))); ^ ../../lib/libast/port/astlicense.c:342:54: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *t++)):(( *t++),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:373:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( '-')):(( '-'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:378:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:383:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:387:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:393:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:418:55: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:440:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t++ = *s++); ~~~~~^~~~~~ ../../lib/libast/port/astlicense.c:440:18: note: place parentheses around the assignment to silence this warning while (*t++ = *s++); ^ ( ) ../../lib/libast/port/astlicense.c:440:18: note: use '==' to turn this assignment into an equality comparison while (*t++ = *s++); ^ == ../../lib/libast/port/astlicense.c:447:56: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:457:55: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:534:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s) ~~^~~~ ../../lib/libast/port/astlicense.c:534:12: note: place parentheses around the assignment to silence this warning while (c = *s) ^ ( ) ../../lib/libast/port/astlicense.c:534:12: note: use '==' to turn this assignment into an equality comparison while (c = *s) ^ == ../../lib/libast/port/astlicense.c:536:46: warning: '&&' within '||' [-Wlogical-op-parentheses] while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:536:46: note: place parentheses around the '&&' expression to silence this warning while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ^ ( ) ../../lib/libast/port/astlicense.c:638:35: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ ../../lib/libast/port/astlicense.c:638:35: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:638:118: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~^~~~~~~~~ ../../lib/libast/port/astlicense.c:638:118: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:638:197: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../lib/libast/port/astlicense.c:638:197: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:677:66: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '=')):(( '='),(-1))); ^~~ ../../lib/libast/port/astlicense.c:687:68: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:690:68: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:691:67: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:705:65: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:762:60: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:909:62: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1075:65: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1109:64: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1147:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[12].data) ~~^~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1147:9: note: place parentheses around the assignment to silence this warning if (v = notice.item[12].data) ^ ( ) ../../lib/libast/port/astlicense.c:1147:9: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[12].data) ^ == ../../lib/libast/port/astlicense.c:1179:63: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1192:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[0].data) ~~^~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1192:8: note: place parentheses around the assignment to silence this warning if (v = notice.item[0].data) ^ ( ) ../../lib/libast/port/astlicense.c:1192:8: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[0].data) ^ == ../../lib/libast/port/astlicense.c:1212:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if (q || item.size == notice.id[i].name.size && !sstrncmp( item.data, notice.id[i].name.data, item.size)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1212:50: note: place parentheses around the '&&' expression to silence this warning if (q || item.size == notice.id[i].name.size && !sstrncmp( item.data, notice.id[i].name.data, item.size)) ^ ( ) ../../lib/libast/port/astlicense.c:1219:64: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1243:63: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1265:60: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1270:61: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1272:61: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libpp/ppproto.c:590:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:590:14: note: place parentheses around the assignment to silence this warning if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ^ ( ) ../../lib/libpp/ppproto.c:590:14: note: use '==' to turn this assignment into an equality comparison if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ^ == ../../lib/libpp/ppproto.c:657:77: warning: '&&' within '||' [-Wlogical-op-parentheses] for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ~~ ~~~~~~~~~~~^~~~~~ ../../lib/libpp/ppproto.c:657:77: note: place parentheses around the '&&' expression to silence this warning for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ^ ( ) ../../lib/libpp/ppproto.c:657:97: warning: '&&' within '||' [-Wlogical-op-parentheses] for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ~~ ~~~~~~~~~~^~~~~~~~~~~~ ../../lib/libpp/ppproto.c:657:97: note: place parentheses around the '&&' expression to silence this warning for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ^ ( ) ../../lib/libpp/ppproto.c:814:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*op = *ip++) ~~~~^~~~~~~ ../../lib/libpp/ppproto.c:814:17: note: place parentheses around the assignment to silence this warning while (*op = *ip++) ^ ( ) ../../lib/libpp/ppproto.c:814:17: note: use '==' to turn this assignment into an equality comparison while (*op = *ip++) ^ == ../../lib/libpp/ppproto.c:829:33: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:829:33: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:829:57: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:829:57: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:829:81: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:829:81: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:1099:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (paren == 1 && (flags & (1L<<8)) && !aie) ^ ../../lib/libpp/ppproto.c:1369:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = !e) e = op - 1; ~~^~~~ ../../lib/libpp/ppproto.c:1369:11: note: place parentheses around the assignment to silence this warning if (x = !e) e = op - 1; ^ ( ) ../../lib/libpp/ppproto.c:1369:11: note: use '==' to turn this assignment into an equality comparison if (x = !e) e = op - 1; ^ == ../../lib/libpp/ppproto.c:1668:39: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1668:39: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1668:63: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1668:63: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1668:87: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1668:87: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1923:32: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1923:32: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1923:56: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1923:56: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1923:80: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1923:80: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:33: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1934:33: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:57: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1934:57: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:81: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1934:81: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1956:31: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1956:31: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1956:55: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1956:55: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1956:79: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1956:79: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1982:143: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((flags & ((1L<<5)|(1L<<15))) == ((1L<<5)|(1L<<15)) && ((flags & ((1L<<3)|(1L<<23))) || proto->brace || c != '(' && c != ')' && c != '*' && c != (0401+0))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:1982:143: note: place parentheses around the '&&' expression to silence this warning if ((flags & ((1L<<5)|(1L<<15))) == ((1L<<5)|(1L<<15)) && ((flags & ((1L<<3)|(1L<<23))) || proto->brace || c != '(' && c != ')' && c != '*' && c != (0401+0))) ^ ( ) ../../lib/libpp/ppproto.c:2165:14: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!notice && !options || (comlen = astlicense(com, sizeof(com), ((char*)0), "type=check", proto->cc[0], proto->cc[1], proto->cc[2])) <= 0) ~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:2165:14: note: place parentheses around the '&&' expression to silence this warning if (!notice && !options || (comlen = astlicense(com, sizeof(com), ((char*)0), "type=check", proto->cc[0], proto->cc[1], proto->cc[2])) <= 0) ^ ( ) ../../lib/libpp/ppproto.c:2239:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:2239:63: note: place parentheses around the '&&' expression to silence this warning if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ^ ( ) ../../lib/libpp/ppproto.c:2239:127: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2239:127: note: place parentheses around the '&&' expression to silence this warning if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ^ ( ) ../../lib/libpp/ppproto.c:2359:44: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] proto->op = strcopy(proto->op, "\n%{\n"+ !notice); ~~~~~~~~^~~~~~~~~ ../../lib/libpp/ppproto.c:2359:44: note: use array indexing to silence this warning proto->op = strcopy(proto->op, "\n%{\n"+ !notice); ^ & [ ] ../../lib/libpp/ppproto.c:2406:91: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((n = read(proto->fd, proto->ob, proto->oz)) <= 0 || (proto->options & (1L<<0)) && n < proto->oz) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2406:91: note: place parentheses around the '&&' expression to silence this warning else if ((n = read(proto->fd, proto->ob, proto->oz)) <= 0 || (proto->options & (1L<<0)) && n < proto->oz) ^ ( ) ../../lib/libpp/ppproto.c:2428:87: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((n = read(proto->fd, ip, proto->iz)) <= 0 || (proto->options & (1L<<0)) && n < proto->iz) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2428:87: note: place parentheses around the '&&' expression to silence this warning else if ((n = read(proto->fd, ip, proto->iz)) <= 0 || (proto->options & (1L<<0)) && n < proto->iz) ^ ( ) proto.c:287:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (b = pppopen(file, 0, license, options, package, comment, flags)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto.c:287:13: note: place parentheses around the assignment to silence this warning else if (b = pppopen(file, 0, license, options, package, comment, flags)) ^ ( ) proto.c:287:13: note: use '==' to turn this assignment into an equality comparison else if (b = pppopen(file, 0, license, options, package, comment, flags)) ^ == proto.c:582:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(2, b, sstrlen( b)); ^~~~~ ~~~~~~~~~~~~~~~~~ proto.c:700:100: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ~~~~~^~~~~~~~~ proto.c:700:100: note: place parentheses around the assignment to silence this warning do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ^ ( ) proto.c:700:100: note: use '==' to turn this assignment into an equality comparison do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ^ == 81 warnings generated. package: update /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ratz ratz.c:4727:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = *argv) ~~^~~~~~~ ratz.c:4727:8: note: place parentheses around the assignment to silence this warning if (s = *argv) ^ ( ) ratz.c:4727:8: note: use '==' to turn this assignment into an equality comparison if (s = *argv) ^ == ratz.c:5045:68: warning: '&&' within '||' [-Wlogical-op-parentheses] if (local && (path[0] == '/' || path[0] == '.' && path[1] == '.' && (!path[2] || path[2] == '/'))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ratz.c:5045:68: note: place parentheses around the '&&' expression to silence this warning if (local && (path[0] == '/' || path[0] == '.' && path[1] == '.' && (!path[2] || path[2] == '/'))) ^ ( ) 2 warnings generated. package: update /<>/ksh-93u+20120801/arch/linux.i386-64/bin/release release.c:375:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(p = *argv++) || !*p || *p == '-' && !*(p + 1)) ~~ ~~~~~~~~~~^~~~~~~~~~~~ release.c:375:42: note: place parentheses around the '&&' expression to silence this warning if (!(p = *argv++) || !*p || *p == '-' && !*(p + 1)) ^ ( ) release.c:386:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = fgets(buf, sizeof(buf), f)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ release.c:386:12: note: place parentheses around the assignment to silence this warning while (s = fgets(buf, sizeof(buf), f)) ^ ( ) release.c:386:12: note: use '==' to turn this assignment into an equality comparison while (s = fgets(buf, sizeof(buf), f)) ^ == release.c:388:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = date(s, &e)) ~~^~~~~~~~~~~~~ release.c:388:10: note: place parentheses around the assignment to silence this warning if (t = date(s, &e)) ^ ( ) release.c:388:10: note: use '==' to turn this assignment into an equality comparison if (t = date(s, &e)) ^ == 3 warnings generated. package: make with mamake package: make output captured in /<>/ksh-93u+20120801/arch/linux.i386-64/lib/package/gen/make.out package: make start at Wed May 2 12:52:41 2018 in /<>/ksh-93u+20120801/arch/linux.i386-64 CC=cc SHELL=/bin/sh HOSTTYPE=linux.i386-64 NPROC=8 PACKAGEROOT=/<>/ksh-93u+20120801 INSTALLROOT=/<>/ksh-93u+20120801/arch/linux.i386-64 PATH=/<>/ksh-93u+20120801/arch/linux.i386-64/bin/ok:/<>/ksh-93u+20120801/arch/linux.i386-64/bin:/<>/ksh-93u+20120801/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + mamake -r */* -k install strip=0 + mamake -C cmd/INIT -k strip=0 install probing C language processor /usr/bin/cc for mam information + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/cmd/INIT/hurl.sh + test -w hurl -a -x hurl + chmod u+w,+x hurl + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/cmd/INIT/iffe.sh + test -w iffe -a -x iffe + chmod u+w,+x iffe + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/cmd/INIT/mktest.sh + test -w mktest -a -x mktest + chmod u+w,+x mktest + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/cmd/INIT/package.sh + test -w package -a -x package + chmod u+w,+x package + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/cmd/INIT/regress.sh + test -w regress -a -x regress + chmod u+w,+x regress + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/cmd/INIT/rt.sh + test -w rt -a -x rt + chmod u+w,+x rt + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/cmd/INIT/crossexec.sh + test -w crossexec -a -x crossexec + chmod u+w,+x crossexec + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/cmd/INIT/ditto.sh + test -w ditto -a -x ditto + chmod u+w,+x ditto + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/cmd/INIT/execrate.sh + test -w execrate -a -x execrate + chmod u+w,+x execrate + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/cmd/INIT/filter.sh + test -w filter -a -x filter + chmod u+w,+x filter + cp /<>/ksh-93u+20120801/src/cmd/INIT/ignore.sh ignore + test -w ignore -a -x ignore + chmod u+w,+x ignore + cp /<>/ksh-93u+20120801/src/cmd/INIT/silent.sh silent + test -w silent -a -x silent + chmod u+w,+x silent + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DUSAGE_LICENSE="[-author?Glenn Fowler ][-copyright?Copyright (c) 1994-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html]" -c /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:383:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (buf = state.old) ~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:383:10: note: place parentheses around the assignment to silence this warning if (buf = state.old) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:383:10: note: use '==' to turn this assignment into an equality comparison if (buf = state.old) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:583:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (item = right); ~~~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:583:16: note: place parentheses around the assignment to silence this warning } while (item = right); ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:583:16: note: use '==' to turn this assignment into an equality comparison } while (item = right); ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:674:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *t) ~~^~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:674:10: note: place parentheses around the assignment to silence this warning if (c = *t) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:674:10: note: use '==' to turn this assignment into an equality comparison if (c = *t) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:783:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:783:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:783:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:800:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c == ':' || c == '=') && (!v || c == ':' && !*v)) ~~ ~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:800:50: note: place parentheses around the '&&' expression to silence this warning if ((c == ':' || c == '=') && (!v || c == ':' && !*v)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:966:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = status(buf, 0, file, st)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:966:8: note: place parentheses around the assignment to silence this warning if (s = status(buf, 0, file, st)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:966:8: note: use '==' to turn this assignment into an equality comparison if (s = status(buf, 0, file, st)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:971:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (vp = state.view) ~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:971:9: note: place parentheses around the assignment to silence this warning if (vp = state.view) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:971:9: note: use '==' to turn this assignment into an equality comparison if (vp = state.view) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:984:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (vp = vp->next); ~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:984:16: note: place parentheses around the assignment to silence this warning } while (vp = vp->next); ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:984:16: note: use '==' to turn this assignment into an equality comparison } while (vp = vp->next); ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1006:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = status(buf, o, s, st)) ~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1006:11: note: place parentheses around the assignment to silence this warning if (s = status(buf, o, s, st)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1006:11: note: use '==' to turn this assignment into an equality comparison if (s = status(buf, o, s, st)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1011:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (vp = vp->next); ~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1011:16: note: place parentheses around the assignment to silence this warning } while (vp = vp->next); ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1011:16: note: use '==' to turn this assignment into an equality comparison } while (vp = vp->next); ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1028:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = find(buf, r->name, &st)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1028:8: note: place parentheses around the assignment to silence this warning if (s = find(buf, r->name, &st)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1028:8: note: use '==' to turn this assignment into an equality comparison if (s = find(buf, r->name, &st)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1078:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state.sp->fp = fp) ~~~~~~~~~~~~~^~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1078:19: note: place parentheses around the assignment to silence this warning if (state.sp->fp = fp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1078:19: note: use '==' to turn this assignment into an equality comparison if (state.sp->fp = fp) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1091:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = find(buf, file, &st)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1091:12: note: place parentheses around the assignment to silence this warning if (path = find(buf, file, &st)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1091:12: note: use '==' to turn this assignment into an equality comparison if (path = find(buf, file, &st)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1150:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1150:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1150:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1236:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (v = v->next) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1236:16: note: place parentheses around the assignment to silence this warning while (v = v->next) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1236:16: note: use '==' to turn this assignment into an equality comparison while (v = v->next) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*s = c); ~~~^~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1251:15: note: place parentheses around the assignment to silence this warning } while (*s = c); ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1251:15: note: use '==' to turn this assignment into an equality comparison } while (*s = c); ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1261:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = execute(s)) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1261:9: note: place parentheses around the assignment to silence this warning if (c = execute(s)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1261:9: note: use '==' to turn this assignment into an equality comparison if (c = execute(s)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1456:10: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1456:10: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1459:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1459:10: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1459:10: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1473:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1473:11: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1473:11: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1476:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1476:11: note: place parentheses around the assignment to silence this warning if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1476:11: note: use '==' to turn this assignment into an equality comparison if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1573:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1573:11: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1573:11: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1620:71: warning: '&&' within '||' [-Wlogical-op-parentheses] if (cmd && state.active && (state.force || r->time < z || !r->time && !z)) ~~ ~~~~~~~~~^~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1620:71: note: place parentheses around the '&&' expression to silence this warning if (cmd && state.active && (state.force || r->time < z || !r->time && !z)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1742:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = last(name, '/')) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1742:8: note: place parentheses around the assignment to silence this warning if (s = last(name, '/')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1742:8: note: use '==' to turn this assignment into an equality comparison if (s = last(name, '/')) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1829:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1829:13: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1829:13: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1895:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1895:58: note: place parentheses around the '&&' expression to silence this warning if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1895:164: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:1895:164: note: place parentheses around the '&&' expression to silence this warning if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2024:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = input()) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2024:11: note: place parentheses around the assignment to silence this warning while (s = input()) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2024:11: note: use '==' to turn this assignment into an equality comparison while (s = input()) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2032:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = last(r->name, '/')) ~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2032:10: note: place parentheses around the assignment to silence this warning if (t = last(r->name, '/')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2032:10: note: use '==' to turn this assignment into an equality comparison if (t = last(r->name, '/')) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2174:44: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2174:44: note: place parentheses around the '&&' expression to silence this warning if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2174:111: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2174:111: note: place parentheses around the '&&' expression to silence this warning if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols", t - s) && append(state.opt, " -S")) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2285:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (e = environ; s = *e; e++) ~~^~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2285:22: note: place parentheses around the assignment to silence this warning for (e = environ; s = *e; e++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2285:22: note: use '==' to turn this assignment into an equality comparison for (e = environ; s = *e; e++) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2299:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2299:11: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2299:11: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2326:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2326:18: note: place parentheses around the '&&' expression to silence this warning if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2326:56: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/mamake.c:2326:56: note: place parentheses around the '&&' expression to silence this warning if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3)) ^ ( ) 35 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -o mamake mamake.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c /<>/ksh-93u+20120801/src/cmd/INIT/proto.c ../../lib/libpp/ppfsm.c:650:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ ../../lib/libpp/ppfsm.c:650:14: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) ../../lib/libpp/ppfsm.c:650:14: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == ../../lib/libpp/ppfsm.c:664:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ ../../lib/libpp/ppfsm.c:664:13: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) ../../lib/libpp/ppfsm.c:664:13: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == ../../lib/libpp/ppproto.c:260:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s++ = *t++); ~~~~~^~~~~~ ../../lib/libpp/ppproto.c:260:14: note: place parentheses around the assignment to silence this warning while (*s++ = *t++); ^ ( ) ../../lib/libpp/ppproto.c:260:14: note: use '==' to turn this assignment into an equality comparison while (*s++ = *t++); ^ == ../../lib/libpp/ppproto.c:312:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(2, buf, p - buf); ^~~~~ ~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:210:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *s++)):(( *s++),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:237:98: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 0 : 1])):(( notice->cc[n > 0 ? 0 : 1]),(-1))); ~~~~~~~~~~ ~~~~~~~~~~~~~^ ../../lib/libast/port/astlicense.c:239:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:240:98: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 1 : 2])):(( notice->cc[n > 0 ? 1 : 2]),(-1))); ~~~~~~~~~~ ~~~~~~~~~~~~~^ ../../lib/libast/port/astlicense.c:249:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:254:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:260:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( i)):(( i),(-1))); ^ ../../lib/libast/port/astlicense.c:263:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:264:50: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1))); ^~ ../../lib/libast/port/astlicense.c:266:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:285:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = item->data) ~~^~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:285:8: note: place parentheses around the assignment to silence this warning if (t = item->data) ^ ( ) ../../lib/libast/port/astlicense.c:285:8: note: use '==' to turn this assignment into an equality comparison if (t = item->data) ^ == ../../lib/libast/port/astlicense.c:315:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!m || c >= '0' && c <= '9') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libast/port/astlicense.c:315:26: note: place parentheses around the '&&' expression to silence this warning if (!m || c >= '0' && c <= '9') ^ ( ) ../../lib/libast/port/astlicense.c:316:54: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( c)):(( c),(-1))); ^ ../../lib/libast/port/astlicense.c:342:54: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *t++)):(( *t++),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:373:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( '-')):(( '-'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:378:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:383:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:387:52: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:393:51: warning: expression result unused [-Wunused-value] ((( b)->nxt<( b)->end)?(*( b)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:418:55: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:440:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t++ = *s++); ~~~~~^~~~~~ ../../lib/libast/port/astlicense.c:440:18: note: place parentheses around the assignment to silence this warning while (*t++ = *s++); ^ ( ) ../../lib/libast/port/astlicense.c:440:18: note: use '==' to turn this assignment into an equality comparison while (*t++ = *s++); ^ == ../../lib/libast/port/astlicense.c:447:56: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:457:55: warning: expression result unused [-Wunused-value] ((( buf)->nxt<( buf)->end)?(*( buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:534:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s) ~~^~~~ ../../lib/libast/port/astlicense.c:534:12: note: place parentheses around the assignment to silence this warning while (c = *s) ^ ( ) ../../lib/libast/port/astlicense.c:534:12: note: use '==' to turn this assignment into an equality comparison while (c = *s) ^ == ../../lib/libast/port/astlicense.c:536:46: warning: '&&' within '||' [-Wlogical-op-parentheses] while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:536:46: note: place parentheses around the '&&' expression to silence this warning while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ^ ( ) ../../lib/libast/port/astlicense.c:638:35: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ ../../lib/libast/port/astlicense.c:638:35: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:638:118: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~^~~~~~~~~ ../../lib/libast/port/astlicense.c:638:118: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:638:197: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../lib/libast/port/astlicense.c:638:197: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) ../../lib/libast/port/astlicense.c:677:66: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '=')):(( '='),(-1))); ^~~ ../../lib/libast/port/astlicense.c:687:68: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:690:68: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\'')):(( '\''),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:691:67: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:705:65: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libast/port/astlicense.c:762:60: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( 0)):(( 0),(-1))); ^ ../../lib/libast/port/astlicense.c:909:62: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1075:65: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1109:64: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1147:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[12].data) ~~^~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1147:9: note: place parentheses around the assignment to silence this warning if (v = notice.item[12].data) ^ ( ) ../../lib/libast/port/astlicense.c:1147:9: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[12].data) ^ == ../../lib/libast/port/astlicense.c:1179:63: warning: expression result unused [-Wunused-value] ((( &tmp)->nxt<( &tmp)->end)?(*( &tmp)->nxt++=( ' ')):(( ' '),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1192:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[0].data) ~~^~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1192:8: note: place parentheses around the assignment to silence this warning if (v = notice.item[0].data) ^ ( ) ../../lib/libast/port/astlicense.c:1192:8: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[0].data) ^ == ../../lib/libast/port/astlicense.c:1212:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if (q || item.size == notice.id[i].name.size && !sstrncmp( item.data, notice.id[i].name.data, item.size)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/libast/port/astlicense.c:1212:50: note: place parentheses around the '&&' expression to silence this warning if (q || item.size == notice.id[i].name.size && !sstrncmp( item.data, notice.id[i].name.data, item.size)) ^ ( ) ../../lib/libast/port/astlicense.c:1219:64: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1243:63: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1265:60: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1270:61: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( ']')):(( ']'),(-1))); ^~~ ../../lib/libast/port/astlicense.c:1272:61: warning: expression result unused [-Wunused-value] ((( &buf)->nxt<( &buf)->end)?(*( &buf)->nxt++=( '\n')):(( '\n'),(-1))); ^~~~ ../../lib/libpp/ppproto.c:590:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:590:14: note: place parentheses around the assignment to silence this warning if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ^ ( ) ../../lib/libpp/ppproto.c:590:14: note: use '==' to turn this assignment into an equality comparison if (state = _pp_fsmtab[(0+28)][((( rp)-_pp_fsmtab[0])/(255+1))+1]) ^ == ../../lib/libpp/ppproto.c:657:77: warning: '&&' within '||' [-Wlogical-op-parentheses] for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ~~ ~~~~~~~~~~~^~~~~~ ../../lib/libpp/ppproto.c:657:77: note: place parentheses around the '&&' expression to silence this warning for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ^ ( ) ../../lib/libpp/ppproto.c:657:97: warning: '&&' within '||' [-Wlogical-op-parentheses] for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ~~ ~~~~~~~~~~^~~~~~~~~~~~ ../../lib/libpp/ppproto.c:657:97: note: place parentheses around the '&&' expression to silence this warning for (n = 0, t = qe + 1; t < op && (*t == ' ' || *t == '\t' || *t == '\n' && ++n || *t >= 'A' && *t <= 'Z' || *t == '_'); t++); ^ ( ) ../../lib/libpp/ppproto.c:814:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*op = *ip++) ~~~~^~~~~~~ ../../lib/libpp/ppproto.c:814:17: note: place parentheses around the assignment to silence this warning while (*op = *ip++) ^ ( ) ../../lib/libpp/ppproto.c:814:17: note: use '==' to turn this assignment into an equality comparison while (*op = *ip++) ^ == ../../lib/libpp/ppproto.c:829:33: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:829:33: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:829:57: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:829:57: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:829:81: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:829:81: note: place parentheses around the '&&' expression to silence this warning while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++; ^ ( ) ../../lib/libpp/ppproto.c:1099:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (paren == 1 && (flags & (1L<<8)) && !aie) ^ ../../lib/libpp/ppproto.c:1369:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = !e) e = op - 1; ~~^~~~ ../../lib/libpp/ppproto.c:1369:11: note: place parentheses around the assignment to silence this warning if (x = !e) e = op - 1; ^ ( ) ../../lib/libpp/ppproto.c:1369:11: note: use '==' to turn this assignment into an equality comparison if (x = !e) e = op - 1; ^ == ../../lib/libpp/ppproto.c:1668:39: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1668:39: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1668:63: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1668:63: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1668:87: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1668:87: note: place parentheses around the '&&' expression to silence this warning while ((x = *(op - 14)) >= 'A' && x <= 'Z' || x >= 'a' && x <= 'z' || x >= '0' && x <= '9' || x == '_') ^ ( ) ../../lib/libpp/ppproto.c:1923:32: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1923:32: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1923:56: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1923:56: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1923:80: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1923:80: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:33: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1934:33: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:57: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1934:57: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1934:81: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1934:81: note: place parentheses around the '&&' expression to silence this warning while ((c = *--t) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); ^ ( ) ../../lib/libpp/ppproto.c:1956:31: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:1956:31: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1956:55: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1956:55: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1956:79: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ~~ ~~~~~~~~~^~~~~~~~~~~ ../../lib/libpp/ppproto.c:1956:79: note: place parentheses around the '&&' expression to silence this warning while ((c = *--m) >= '0' && c <= '9' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') ^ ( ) ../../lib/libpp/ppproto.c:1982:143: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((flags & ((1L<<5)|(1L<<15))) == ((1L<<5)|(1L<<15)) && ((flags & ((1L<<3)|(1L<<23))) || proto->brace || c != '(' && c != ')' && c != '*' && c != (0401+0))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:1982:143: note: place parentheses around the '&&' expression to silence this warning if ((flags & ((1L<<5)|(1L<<15))) == ((1L<<5)|(1L<<15)) && ((flags & ((1L<<3)|(1L<<23))) || proto->brace || c != '(' && c != ')' && c != '*' && c != (0401+0))) ^ ( ) ../../lib/libpp/ppproto.c:2165:14: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!notice && !options || (comlen = astlicense(com, sizeof(com), ((char*)0), "type=check", proto->cc[0], proto->cc[1], proto->cc[2])) <= 0) ~~~~~~~~^~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:2165:14: note: place parentheses around the '&&' expression to silence this warning if (!notice && !options || (comlen = astlicense(com, sizeof(com), ((char*)0), "type=check", proto->cc[0], proto->cc[1], proto->cc[2])) <= 0) ^ ( ) ../../lib/libpp/ppproto.c:2239:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~ ../../lib/libpp/ppproto.c:2239:63: note: place parentheses around the '&&' expression to silence this warning if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ^ ( ) ../../lib/libpp/ppproto.c:2239:127: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2239:127: note: place parentheses around the '&&' expression to silence this warning if (*s == '(' && (*(s + 1) == 'c' || *(s + 1) == 'C') && *(s + 2) == ')' || *s >= '0' && *s <= '9' && *(s + 1) >= '0' && *(s + 1) <= '9') ^ ( ) ../../lib/libpp/ppproto.c:2359:44: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] proto->op = strcopy(proto->op, "\n%{\n"+ !notice); ~~~~~~~~^~~~~~~~~ ../../lib/libpp/ppproto.c:2359:44: note: use array indexing to silence this warning proto->op = strcopy(proto->op, "\n%{\n"+ !notice); ^ & [ ] ../../lib/libpp/ppproto.c:2406:91: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((n = read(proto->fd, proto->ob, proto->oz)) <= 0 || (proto->options & (1L<<0)) && n < proto->oz) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2406:91: note: place parentheses around the '&&' expression to silence this warning else if ((n = read(proto->fd, proto->ob, proto->oz)) <= 0 || (proto->options & (1L<<0)) && n < proto->oz) ^ ( ) ../../lib/libpp/ppproto.c:2428:87: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((n = read(proto->fd, ip, proto->iz)) <= 0 || (proto->options & (1L<<0)) && n < proto->iz) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../../lib/libpp/ppproto.c:2428:87: note: place parentheses around the '&&' expression to silence this warning else if ((n = read(proto->fd, ip, proto->iz)) <= 0 || (proto->options & (1L<<0)) && n < proto->iz) ^ ( ) proto.c:287:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (b = pppopen(file, 0, license, options, package, comment, flags)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto.c:287:13: note: place parentheses around the assignment to silence this warning else if (b = pppopen(file, 0, license, options, package, comment, flags)) ^ ( ) proto.c:287:13: note: use '==' to turn this assignment into an equality comparison else if (b = pppopen(file, 0, license, options, package, comment, flags)) ^ == proto.c:582:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(2, b, sstrlen( b)); ^~~~~ ~~~~~~~~~~~~~~~~~ proto.c:700:100: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ~~~~~^~~~~~~~~ proto.c:700:100: note: place parentheses around the assignment to silence this warning do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ^ ( ) proto.c:700:100: note: use '==' to turn this assignment into an equality comparison do flags = proto(file, license, options, package, copy, type(file, comment), flags); while (file = *++argv); ^ == 81 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -o proto proto.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c /<>/ksh-93u+20120801/src/cmd/INIT/ratz.c /<>/ksh-93u+20120801/src/cmd/INIT/ratz.c:4727:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = *argv) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/ratz.c:4727:8: note: place parentheses around the assignment to silence this warning if (s = *argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/ratz.c:4727:8: note: use '==' to turn this assignment into an equality comparison if (s = *argv) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/ratz.c:5045:68: warning: '&&' within '||' [-Wlogical-op-parentheses] if (local && (path[0] == '/' || path[0] == '.' && path[1] == '.' && (!path[2] || path[2] == '/'))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/ratz.c:5045:68: note: place parentheses around the '&&' expression to silence this warning if (local && (path[0] == '/' || path[0] == '.' && path[1] == '.' && (!path[2] || path[2] == '/'))) ^ ( ) 2 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -o ratz ratz.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DUSAGE_LICENSE="[-author?Glenn Fowler ][-copyright?Copyright (c) 1994-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html]" -c /<>/ksh-93u+20120801/src/cmd/INIT/release.c /<>/ksh-93u+20120801/src/cmd/INIT/release.c:319:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(p = *argv++) || !*p || *p == '-' && !*(p + 1)) ~~ ~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/release.c:319:42: note: place parentheses around the '&&' expression to silence this warning if (!(p = *argv++) || !*p || *p == '-' && !*(p + 1)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/release.c:330:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = fgets(buf, sizeof(buf), f)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/release.c:330:12: note: place parentheses around the assignment to silence this warning while (s = fgets(buf, sizeof(buf), f)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/release.c:330:12: note: use '==' to turn this assignment into an equality comparison while (s = fgets(buf, sizeof(buf), f)) ^ == /<>/ksh-93u+20120801/src/cmd/INIT/release.c:332:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = date(s, &e)) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/INIT/release.c:332:10: note: place parentheses around the assignment to silence this warning if (t = date(s, &e)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/INIT/release.c:332:10: note: use '==' to turn this assignment into an equality comparison if (t = date(s, &e)) ^ == 3 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -o release release.o + cp /<>/ksh-93u+20120801/src/cmd/INIT/mprobe.sh mprobe + test -w mprobe -a -x mprobe + chmod u+w,+x mprobe + cat /<>/ksh-93u+20120801/src/cmd/INIT/C+probe /<>/ksh-93u+20120801/src/cmd/INIT/make.probe + cp probe.sh probe + test -w probe -a -x probe + chmod u+w,+x probe + test = hurl + /usr/bin/cmp -s hurl /<>/ksh-93u+20120801/arch/linux.i386-64/bin/hurl + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/hurl /<>/ksh-93u+20120801/arch/linux.i386-64/bin/hurl.old + true + /bin/cp hurl /<>/ksh-93u+20120801/arch/linux.i386-64/bin/hurl + test = iffe + /usr/bin/cmp -s iffe /<>/ksh-93u+20120801/arch/linux.i386-64/bin/iffe + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/iffe /<>/ksh-93u+20120801/arch/linux.i386-64/bin/iffe.old + true + /bin/cp iffe /<>/ksh-93u+20120801/arch/linux.i386-64/bin/iffe + test = mktest + /usr/bin/cmp -s mktest /<>/ksh-93u+20120801/arch/linux.i386-64/bin/mktest + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/mktest /<>/ksh-93u+20120801/arch/linux.i386-64/bin/mktest.old + true + /bin/cp mktest /<>/ksh-93u+20120801/arch/linux.i386-64/bin/mktest + test = package + /usr/bin/cmp -s package /<>/ksh-93u+20120801/arch/linux.i386-64/bin/package + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/package /<>/ksh-93u+20120801/arch/linux.i386-64/bin/package.old + true + /bin/cp package /<>/ksh-93u+20120801/arch/linux.i386-64/bin/package + test = regress + /usr/bin/cmp -s regress /<>/ksh-93u+20120801/arch/linux.i386-64/bin/regress + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/regress /<>/ksh-93u+20120801/arch/linux.i386-64/bin/regress.old + true + /bin/cp regress /<>/ksh-93u+20120801/arch/linux.i386-64/bin/regress + test = rt + /usr/bin/cmp -s rt /<>/ksh-93u+20120801/arch/linux.i386-64/bin/rt + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/rt /<>/ksh-93u+20120801/arch/linux.i386-64/bin/rt.old + true + /bin/cp rt /<>/ksh-93u+20120801/arch/linux.i386-64/bin/rt + test = execrate + /usr/bin/cmp -s execrate /<>/ksh-93u+20120801/bin/execrate + /bin/mv /<>/ksh-93u+20120801/bin/execrate /<>/ksh-93u+20120801/bin/execrate.old + /bin/cp execrate /<>/ksh-93u+20120801/bin/execrate + test = ignore + /usr/bin/cmp -s ignore /<>/ksh-93u+20120801/bin/ignore + /bin/mv /<>/ksh-93u+20120801/bin/ignore /<>/ksh-93u+20120801/bin/ignore.old + /bin/cp ignore /<>/ksh-93u+20120801/bin/ignore + cp /<>/ksh-93u+20120801/src/cmd/INIT/mamprobe.sh mamprobe + test -w mamprobe -a -x mamprobe + chmod u+w,+x mamprobe + test = mamprobe + /usr/bin/cmp -s mamprobe /<>/ksh-93u+20120801/bin/mamprobe + /bin/mv /<>/ksh-93u+20120801/bin/mamprobe /<>/ksh-93u+20120801/bin/mamprobe.old + /bin/cp mamprobe /<>/ksh-93u+20120801/bin/mamprobe + test = package + /usr/bin/cmp -s package /<>/ksh-93u+20120801/bin/package + /bin/mv /<>/ksh-93u+20120801/bin/package /<>/ksh-93u+20120801/bin/package.old + /bin/cp package /<>/ksh-93u+20120801/bin/package + test = silent + /usr/bin/cmp -s silent /<>/ksh-93u+20120801/bin/silent + /bin/mv /<>/ksh-93u+20120801/bin/silent /<>/ksh-93u+20120801/bin/silent.old + /bin/cp silent /<>/ksh-93u+20120801/bin/silent + test = crossexec + /usr/bin/cmp -s crossexec /<>/ksh-93u+20120801/arch/linux.i386-64/bin/crossexec + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/crossexec /<>/ksh-93u+20120801/arch/linux.i386-64/bin/crossexec.old + true + /bin/cp crossexec /<>/ksh-93u+20120801/arch/linux.i386-64/bin/crossexec + test = ditto + /usr/bin/cmp -s ditto /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ditto + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ditto /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ditto.old + true + /bin/cp ditto /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ditto + test = filter + /usr/bin/cmp -s filter /<>/ksh-93u+20120801/arch/linux.i386-64/bin/filter + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/filter /<>/ksh-93u+20120801/arch/linux.i386-64/bin/filter.old + true + /bin/cp filter /<>/ksh-93u+20120801/arch/linux.i386-64/bin/filter + test = package.mk + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/INIT/package.mk /<>/ksh-93u+20120801/lib/package/package.mk + test = CONVERT.mk + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/INIT/CONVERT.mk /<>/ksh-93u+20120801/lib/package/CONVERT.mk + /bin/mv /<>/ksh-93u+20120801/lib/package/CONVERT.mk /<>/ksh-93u+20120801/lib/package/CONVERT.mk.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/INIT/CONVERT.mk /<>/ksh-93u+20120801/lib/package/CONVERT.mk + test ! -d /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make + mkdir -p /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make + test = package.mk + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/INIT/package.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/package.mk + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/package.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/package.mk.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/INIT/package.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/package.mk + test = PROBE.mk + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/INIT/PROBE.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/PROBE.mk + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/PROBE.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/PROBE.mk.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/INIT/PROBE.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/PROBE.mk + test = TEST.mk + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/INIT/TEST.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/TEST.mk + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/TEST.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/TEST.mk.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/INIT/TEST.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/TEST.mk + test = WWW.mk + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/INIT/WWW.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/WWW.mk + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/WWW.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/WWW.mk.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/INIT/WWW.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/WWW.mk + test = MSGFUN.mk + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/INIT/MSGFUN.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MSGFUN.mk + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MSGFUN.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MSGFUN.mk.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/INIT/MSGFUN.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MSGFUN.mk + test = MSGKEY.mk + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/INIT/MSGKEY.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MSGKEY.mk + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MSGKEY.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MSGKEY.mk.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/INIT/MSGKEY.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MSGKEY.mk + test = MAPLIB.mk + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/INIT/MAPLIB.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MAPLIB.mk + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MAPLIB.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MAPLIB.mk.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/INIT/MAPLIB.mk /<>/ksh-93u+20120801/arch/linux.i386-64/lib/make/MAPLIB.mk + test = mamake + /usr/bin/cmp -s mamake /<>/ksh-93u+20120801/arch/linux.i386-64/bin/mamake + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/mamake /<>/ksh-93u+20120801/arch/linux.i386-64/bin/mamake.old + /bin/cp mamake /<>/ksh-93u+20120801/arch/linux.i386-64/bin/mamake + test = proto + /usr/bin/cmp -s proto /<>/ksh-93u+20120801/arch/linux.i386-64/bin/proto + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/proto /<>/ksh-93u+20120801/arch/linux.i386-64/bin/proto.old + /bin/cp proto /<>/ksh-93u+20120801/arch/linux.i386-64/bin/proto + test = ratz + /usr/bin/cmp -s ratz /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ratz + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ratz /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ratz.old + /bin/cp ratz /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ratz + test = release + /usr/bin/cmp -s release /<>/ksh-93u+20120801/arch/linux.i386-64/bin/release + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/release /<>/ksh-93u+20120801/arch/linux.i386-64/bin/release.old + /bin/cp release /<>/ksh-93u+20120801/arch/linux.i386-64/bin/release + test ! -x /<>/ksh-93u+20120801/arch/linux.i386-64/bin/mkdir -a -x /bin/mkdir + mkdir -p + : + test -d ./-p + test = C+probe + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/INIT/C+probe /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/probe + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/probe /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/probe.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/INIT/C+probe /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/probe + test ! -d /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/pp + mkdir -p /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/pp + test = mprobe + /usr/bin/cmp -s mprobe /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/mam/probe + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/mam/probe /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/mam/probe.old + true + /bin/cp mprobe /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/mam/probe + test = mprobe + /usr/bin/cmp -s mprobe /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/mam/mprobe + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/mam/mprobe /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/mam/mprobe.old + true + /bin/cp mprobe /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/mam/mprobe + test = probe + /usr/bin/cmp -s probe /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/make/probe + t=linux.i386 + ifs= + IFS=. + set x linux i386 + IFS= + t=linux + set x /<>/ksh-93u+20120801/src/cmd/INIT/probe.win32 + : + shift + : + shift + break + : + test = probe.ini + /usr/bin/cmp -s probe.ini /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/make/probe.ini + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/make/probe.ini /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/make/probe.ini.old + true + /bin/cp probe.ini /<>/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/make/probe.ini + test ! -d /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast + mkdir -p /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast + proto -f /dev/null + cmp -s h.4085.h prototyped.h + mv h.4085.h prototyped.h + test = prototyped.h + /usr/bin/cmp -s prototyped.h /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/prototyped.h + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/prototyped.h /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/prototyped.h.old + true + /bin/cp prototyped.h /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/prototyped.h + test ! -d /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib + mkdir -p /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib + set - + test = dl.req + /usr/bin/cmp -s dl.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dl + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dl /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dl.old + true + /bin/cp dl.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dl + set - + test = iconv.req + /usr/bin/cmp -s iconv.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/iconv + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/iconv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/iconv.old + true + /bin/cp iconv.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/iconv + set - + test = w.req + /usr/bin/cmp -s w.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/w + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/w /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/w.old + true + /bin/cp w.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/w + set - + test = intl.req + /usr/bin/cmp -s intl.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/intl + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/intl /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/intl.old + true + /bin/cp intl.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/intl + set - + test = m.req + /usr/bin/cmp -s m.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/m + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/m /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/m.old + true + /bin/cp m.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/m + set - + test = nsl.req + /usr/bin/cmp -s nsl.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/nsl + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/nsl /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/nsl.old + true + /bin/cp nsl.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/nsl + set - + test = socket.req + /usr/bin/cmp -s socket.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/socket + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/socket /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/socket.old + true + /bin/cp socket.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/socket + set - + test = dbm.req + /usr/bin/cmp -s dbm.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dbm + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dbm /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dbm.old + true + /bin/cp dbm.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dbm + mamake -C lib/libast -k strip=0 install probing C language processor /usr/bin/cc for mam information + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/standards iffe: test: is sys/types.h a header ... yes iffe: test: _ALL_SOURCE & _POSIX_SOURCE & _POSIX_C_SOURCE & _XOPEN_SOURCE & __EXTENSIONS__ works ... yes iffe: test: is -lm a library ... yes iffe: test: _ISOC99_SOURCE plays nice ... yes iffe: test: cat{ ... }end ... yes + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/lib iffe: test: is sys/types.h a header ... yes iffe: test: is universe a command ... no iffe: test: is dirent.h a header ... yes iffe: test: is direntry.h a header ... no iffe: test: is filio.h a header ... no iffe: test: is fmtmsg.h a header ... yes iffe: test: is fnmatch.h a header ... yes iffe: test: is jioctl.h a header ... no iffe: test: is libgen.h a header ... yes iffe: test: is limits.h a header ... yes iffe: test: is locale.h a header ... yes iffe: test: is ndir.h a header ... no iffe: test: is nl_types.h a header ... yes iffe: test: is process.h a header ... no iffe: test: is spawn.h a header ... yes iffe: test: is syslog.h a header ... yes iffe: test: is utime.h a header ... yes iffe: test: is vfork.h a header ... no iffe: test: and isw*() really work ... yes iffe: test: is wchar.h a header ... yes iffe: test: is wctype.h a header ... yes iffe: test: is _tzname a library data symbol ... no iffe: test: is tzname a library data symbol ... yes iffe: test: is BSDsetpgrp a library function ... no iffe: test: is _cleanup a library function ... no iffe: test: is atexit a library function ... yes iffe: test: is bcopy a library function ... yes iffe: test: is bzero a library function ... yes iffe: test: is catclose a library function ... yes iffe: test: is catgets a library function ... yes iffe: test: is catopen a library function ... yes iffe: test: is confstr a library function ... yes iffe: test: is dirread a library function ... no iffe: test: is dup2 a library function ... yes iffe: test: is execlp a library function ... yes iffe: test: is execve a library function ... yes iffe: test: is execvp a library function ... yes iffe: test: is execvpe a library function ... yes iffe: test: is fchmod a library function ... yes iffe: test: is fcntl a library function ... yes iffe: test: is fmtmsg a library function ... yes iffe: test: is fnmatch a library function ... yes iffe: test: is fork a library function ... yes iffe: test: is fsync a library function ... yes iffe: test: is getconf a library function ... no iffe: test: is getdents a library function ... no iffe: test: is getdirentries a library function ... yes iffe: test: is getdtablesize a library function ... yes iffe: test: is getdate a library function ... yes iffe: test: is getgroups a library function ... yes iffe: test: is gethostname a library function ... yes iffe: test: is getlogin a library function ... yes iffe: test: is getpagesize a library function ... yes iffe: test: is getrlimit a library function ... yes iffe: test: is getuniverse a library function ... no iffe: test: is getopt a library function ... yes iffe: test: is getsubopt a library function ... yes iffe: test: is getopt_long a library function ... yes iffe: test: is getopt_long_only a library function ... yes iffe: test: is glob a library function ... yes iffe: test: is index a library function ... yes iffe: test: is iswblank a library function ... yes iffe: test: is iswctype a library function ... yes iffe: test: is killpg a library function ... yes iffe: test: is link a library function ... yes iffe: test: is localeconv a library function ... yes iffe: test: is madvise a library function ... yes iffe: test: is mbtowc a library function ... yes iffe: test: is mbrtowc a library function ... yes iffe: test: is memalign a library function ... yes iffe: test: is memchr a library function ... yes iffe: test: is memcpy a library function ... yes iffe: test: is memdup a library function ... no iffe: test: is memmove a library function ... yes iffe: test: is memset a library function ... yes iffe: test: is mkdir a library function ... yes iffe: test: is mkfifo a library function ... yes iffe: test: is mktemp a library function ... yes iffe: test: is mktime a library function ... yes iffe: test: is mount a library function ... yes iffe: test: is on_exit a library function ... yes iffe: test: is onexit a library function ... no iffe: test: is opendir a library function ... yes iffe: test: is pathconf a library function ... yes iffe: test: is readlink a library function ... yes iffe: test: is remove a library function ... yes iffe: test: is rename a library function ... yes iffe: test: is rewinddir a library function ... yes iffe: test: is rindex a library function ... yes iffe: test: is rmdir a library function ... yes iffe: test: is setlocale a library function ... yes iffe: test: is setpgid a library function ... yes iffe: test: is setpgrp a library function ... yes iffe: test: is setpgrp2 a library function ... no iffe: test: is setreuid a library function ... yes iffe: test: is setsid a library function ... yes iffe: test: is setuid a library function ... yes iffe: test: is sigaction a library function ... yes iffe: test: is sigprocmask a library function ... yes iffe: test: is sigsetmask a library function ... yes iffe: test: is sigunblock a library function ... no iffe: test: is sigvec a library function ... no iffe: test: is socketpair a library function ... yes iffe: test: is spawn a library function ... no iffe: test: is spawnve a library function ... no iffe: test: is spawnveg a library function ... no iffe: test: is strchr a library function ... yes iffe: test: is strcoll a library function ... yes iffe: test: is strdup a library function ... yes iffe: test: is strerror a library function ... yes iffe: test: is strcasecmp a library function ... yes iffe: test: is strncasecmp a library function ... yes iffe: test: is strrchr a library function ... yes iffe: test: is strstr a library function ... yes iffe: test: is strmode a library function ... no iffe: test: is strxfrm a library function ... yes iffe: test: is strftime a library function ... yes iffe: test: is swab a library function ... yes iffe: test: is symlink a library function ... yes iffe: test: is sysconf a library function ... yes iffe: test: is sysinfo a library function ... yes iffe: test: is syslog a library function ... yes iffe: test: is telldir a library function ... yes iffe: test: is tmpnam a library function ... yes iffe: test: is tzset a library function ... yes iffe: test: is universe a library function ... no iffe: test: is unlink a library function ... yes iffe: test: is utime a library function ... yes iffe: test: is wctype a library function ... yes iffe: test: is ftruncate a library function ... yes iffe: test: is truncate a library function ... yes iffe: test: is creat64 a library function ... yes iffe: test: is fstat64 a library function ... yes iffe: test: is fstatvfs64 a library function ... yes iffe: test: is ftruncate64 a library function ... yes iffe: test: is lseek64 a library function ... yes iffe: test: is lstat64 a library function ... yes iffe: test: is open64 a library function ... yes iffe: test: is readdir64 a library function ... yes iffe: test: is stat64 a library function ... yes iffe: test: is statvfs64 a library function ... yes iffe: test: is truncate64 a library function ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is strtod a library function ... yes iffe: test: is strtold a library function ... yes iffe: test: is strtol a library function ... yes iffe: test: is strtoll a library function ... yes iffe: test: is strtoul a library function ... yes iffe: test: is strtoull a library function ... yes iffe: test: is strtod a symbol that needs a prototype ... no iffe: test: is strtold a symbol that needs a prototype ... no iffe: test: is strtol a symbol that needs a prototype ... no iffe: test: is strtoll a symbol that needs a prototype ... no iffe: test: is strtoul a symbol that needs a prototype ... no iffe: test: is strtoull a symbol that needs a prototype ... no iffe: test: is signal.h a header ... yes iffe: test: is sigflag a library function ... no iffe: test: is sigflag a symbol that needs a prototype ... yes iffe: test: is sys/dir.h a header ... yes iffe: test: is direct a type or typedef ... no iffe: test: is d_reclen a member of struct direct ... yes iffe: test: is dirent a type or typedef ... no iffe: test: is d_fileno a member of struct dirent ... yes iffe: test: is d_ino a member of struct dirent ... yes iffe: test: is d_namlen a member of struct dirent ... no iffe: test: is d_off a member of struct dirent ... yes iffe: test: is d_reclen a member of struct dirent ... yes iffe: test: is d_type a member of struct dirent ... yes iffe: test: is DIR a type or typedef ... iffe: test: is struct DIR a non-opaque struct ... iffe: test: is struct DIR a non-opaque struct ... no iffe: test: is dd_fd a member of struct DIR ... iffe: test: is dd_fd a member of struct DIR ... no iffe: test: is inheritance a type or typedef ... no iffe: test: is pgroup a member of struct inheritance ... no iffe: test: is sys/filio.h a header ... no iffe: test: is sys/jioctl.h a header ... no iffe: test: is sys/localedef.h a header ... no iffe: test: is sys/ptem.h a header ... no iffe: test: is sys/resource.h a header ... yes iffe: test: is sys/socket.h a header ... yes iffe: test: is sys/stream.h a header ... no iffe: test: is sys/systeminfo.h a header ... no iffe: test: is sys/universe.h a header ... no iffe: test: is sys/vfork.h a header ... no iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is ino64_t a type or typedef ... yes iffe: test: is off64_t a type or typedef ... yes iffe: test: is struct dirent64 a type or typedef ... yes iffe: test: errno can be assigned ... yes iffe: test: fd is first arg to poll() ... yes iffe: test: fd is second arg to poll() ... no iffe: test: is _lib_poll_fd_1||_lib_poll_fd_2 true ... yes iffe: test: poll with no fds ignores timeout ... no iffe: test: is sys/select.h a header ... yes iffe: test: select() has standard 5 arg interface ... yes iffe: test: select() requires ... yes iffe: test: full duplex pipes ... no iffe: test: is unistd.h a header ... yes iffe: test: vfork exists and it works ... yes iffe: test: vfork child shares data with parent ... yes iffe: test: posix_spawn exists and it works and its worth using ... ENOEXEC produces posix_spawn() error (BEST) ... yes iffe: test: first spawn arg is mode and it works ... no iffe: test: ioctl(I_PEEK) works on pipe() ... no iffe: test: recv(MSG_PEEK) works on socketpair() ... yes iffe: test: is string.h a header ... yes iffe: test: standard memcmp interface that works ... yes iffe: test: is fcntl.h a header ... yes iffe: test: is sys/stat.h a header ... yes iffe: test: is sys/mman.h a header ... yes iffe: test: standard memccpy interface that works ... yes iffe: test: utime works with 0 time vector ... yes iffe: test: cross{ ... }end ... yes iffe: test: stuck with standard _cleanup ... yes iffe: test: stuck with standard remove() ... no iffe: test: stuck with standard signal ... no iffe: test: standard strcoll works ... yes iffe: test: stuck with standard strtod ... no iffe: test: stuck with standard strtold ... no iffe: test: stuck with standard strtol ... no iffe: test: output{ ... }end ... yes iffe: test: largefile 64 broken ... no + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/common iffe: test: is sys/types.h a header ... yes iffe: test: is pthread.h a header ... yes iffe: test: is stdarg.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdint.h a header ... yes iffe: test: is inttypes.h a header ... yes iffe: test: is types.h a header ... no iffe: test: is unistd.h a header ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is long double a type or typedef ... yes iffe: test: is size_t a type or typedef ... yes iffe: test: is ssize_t a type or typedef ... yes iffe: test: is stdio.h a header ... yes iffe: test: is __va_list a type or typedef ... no iffe: test: is sys/stat.h a header ... yes iffe: test: is sys/socket.h a header ... yes iffe: test: is SF_APPEND a macro ... no iffe: test: is SF_CLOSE a macro ... no iffe: test: Microsoft import/export nonsense ... no iffe: test: standard C prototypes ok ... yes iffe: test: standard C void* ok ... yes iffe: test: cat{ ... }end ... yes iffe: test: + works ... yes iffe: test: LL numeric suffix supported ... yes iffe: test: output{ ... }end ... yes iffe: test: output{ ... }end ... yes iffe: test: output{ ... }end ... yes iffe: test: is int8_t a type or typedef ... yes iffe: test: is uint8_t a type or typedef ... yes iffe: test: is int16_t a type or typedef ... yes iffe: test: is uint16_t a type or typedef ... yes iffe: test: is int32_t a type or typedef ... yes iffe: test: is uint32_t a type or typedef ... yes iffe: test: is int64_t a type or typedef ... yes iffe: test: is uint64_t a type or typedef ... yes iffe: test: is intmax_t a type or typedef ... yes iffe: test: is uintmax_t a type or typedef ... yes iffe: test: is uintptr_t a type or typedef ... yes iffe: test: output{ ... }end ... iffe: test: output{ ... }end ... iffe: test: output{ ... }end ... iffe: test: output{ ... }end ... iffe: test: output{ ... }end ... yes iffe: test: cat{ ... }end ... yes iffe: test: run{ ... }end ... no + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/api iffe: test: is sys/types.h a header ... yes + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/eaccess iffe: test: is sys/types.h a header ... yes iffe: test: is eaccess a library function ... yes iffe: test: is euidaccess a library function ... yes iffe: test: macro{ ... }end ... yes + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/mmap iffe: test: is sys/types.h a header ... yes iffe: test: is sys/mman.h a header ... yes iffe: test: standard mmap interface that works ... yes iffe: test: mmap64 interface and implementation work ... yes iffe: test: use mmap MAP_ANON to get raw memory ... yes iffe: test: use mmap on /dev/zero to get raw memory ... yes iffe: test: mmap is worth using ... no iffe: test: cat{ ... }end ... yes + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/vmalloc iffe: test: is sys/types.h a header ... yes iffe: test: is atexit a library function ... yes iffe: test: is getpagesize a library function ... yes iffe: test: is mallinfo a library function ... yes iffe: test: is mallopt a library function ... yes iffe: test: is memalign a library function ... yes iffe: test: is mstats a library function ... no iffe: test: is onexit a library function ... no iffe: test: is pvalloc a library function ... yes iffe: test: is strdup a library function ... yes iffe: test: is valloc a library function ... yes iffe: test: is vmalloc a library function ... no iffe: test: is _malloc a library function ... no iffe: test: is __malloc a library function ... no iffe: test: is __libc_malloc a library function ... yes iffe: test: is alloca.h a header ... yes iffe: test: is malloc.h a header ... yes iffe: test: is stat.h a header ... no iffe: test: is stdlib.h a header ... yes iffe: test: is unistd.h a header ... yes iffe: test: is mallinfo a type or typedef ... no iffe: test: is arena a member of struct mallinfo ... yes iffe: test: is mstats a type or typedef ... no iffe: test: is bytes_total a member of struct mstats ... no iffe: test: is sys/stat.h a header ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is ssize_t a type or typedef ... yes iffe: test: brk()/sbrk() work as expected ... yes iffe: test: map malloc to _ast_malloc ... yes iffe: test: map malloc to _ast_malloc -- wimp-o mach? ... no iffe: test: alloca exists ... yes iffe: test: alloca is based on malloc() ... no iffe: test: stack grows downward ... yes iffe: test: gnu malloc hooks work ... no iffe: test: cat{ ... }end ... yes + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/options iffe: test: is sys/types.h a header ... yes iffe: test: is map-libc set in $PACKAGE_OPTIONS ... no + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/map.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/map.c ... iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/map.c ... yes + cmp -s FEATURE/map ast_map.h + rm -f ast_map.h + silent test -d . + /bin/cp FEATURE/map ast_map.h + sed /define _def_map_ast/d + cmp -s ast_common.h 1.12733.x + mv 1.12733.x ast_common.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/param.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/param.sh ... iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/param.sh ... yes + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/aso iffe: test: is sys/types.h a header ... yes iffe: test: gcc 4.1+ 64 bit memory atomic operations model ... yes + read x + echo ######################################################################## + i=######################################################################## + cat - /<>/ksh-93u+20120801/src/lib/libast/comp/conf.sh + silent test -w conf -a -x conf + chmod u+w,+x conf + /<>/ksh-93u+20120801/arch/linux.i386-64/src/lib/libast/conf -v /<>/ksh-93u+20120801/src/lib/libast/comp/conf.tab cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conf: read /<>/ksh-93u+20120801/src/lib/libast/comp/conf.tab conf: check /usr/bin/getconf(1),confstr(2),pathconf(2),sysconf(2),sysinfo(2) configuration names conf: check macros/enums as static initializers conf: probe for ABI_AIO_XFER_MAX value conf: probe for ABI_ASYNCHRONOUS_IO value conf: probe for ABI_ASYNC_IO value conf: probe for AIO_LISTIO_MAX value conf: probe for AIO_MAX value conf: probe for ALLOC_SIZE_MIN value conf: probe for ATEXIT_MAX value conf: probe for AUDIT value conf: probe for AVAIL_PROCESSORS value conf: probe for CHAR_BIT value conf: probe for CHAR_MAX value conf: probe for CHAR_MIN value conf: probe for CHILD_MAX value conf: probe for CLOCKS_PER_SEC value conf: probe for CPU_KEYBITS1 value conf: probe for CPU_VERSION value conf: probe for EQUIV_CLASS_MAX value conf: probe for EXEC_INTERPRETER_LENGTH value conf: probe for FILESIZEBITS value conf: probe for GETGR_R_SIZE_MAX value conf: probe for GETPW_R_SIZE_MAX value conf: probe for HOSTID value conf: probe for HW_SERIAL value conf: probe for INT_MIN value conf: probe for IO_TYPE value conf: probe for IP_SECOPTS value conf: probe for _POSIX_JOB_CONTROL minmax value conf: probe for KERN_POINTERS value conf: probe for KERN_SIM value conf: probe for _POSIX_LFS_CFLAGS minmax value conf: probe for LLONG_MAX value conf: probe for LLONG_MIN value conf: probe for LONG_MAX value conf: probe for LONG_MIN value conf: probe for MB_LEN_MAX value conf: probe for MCAS_OFFSET value conf: probe for MMAP_FIXED_ALIGNMENT value conf: probe for MSEM_LOCKID value conf: probe for NL_MAX value conf: probe for NL_SPECMAX value conf: probe for NPROC_CONF value conf: probe for NPROC_ONLN value conf: probe for NSS_BUFLEN_GROUP value conf: probe for NSS_BUFLEN_PASSWD value conf: probe for NUM_PROCESSORS value conf: probe for OPEN_MAX value conf: probe for OPEN_MAX_CEIL value conf: probe for OSREL_MAJ value conf: probe for OSREL_MIN value conf: probe for OSREL_PATCH value conf: probe for _POSIX_PAGESIZE minmax value conf: probe for PASS_MAX value conf: probe for PID_MAX value conf: probe for _SVID_PID_MAX minmax value conf: probe for PROC_RSRC_MGR value conf: probe for PTHREAD_THREADS_MAX value conf: probe for PTRDIFF_MAX value conf: probe for PTRDIFF_MIN value conf: probe for REC_INCR_XFER_SIZE value conf: probe for REC_MAX_XFER_SIZE value conf: probe for REC_MIN_XFER_SIZE value conf: probe for REC_XFER_ALIGN value conf: probe for RELEASE value conf: probe for _POSIX_SAVED_IDS minmax value conf: probe for SCHAR_MAX value conf: probe for SCHAR_MIN value conf: probe for SECURITY_CLASS value conf: probe for SEM_NSEMS_MAX value conf: probe for _AST_SF_BUFSIZE minmax value conf: probe for _AST_SH minmax value conf: probe for SHRT_MIN value conf: probe for SIGQUEUE_MAX value conf: probe for SIG_ATOMIC_MAX value conf: probe for SIG_ATOMIC_MIN value conf: probe for SLVM_MAXNODES value conf: probe for SOFTPOWER value conf: probe for STD_BLK value conf: probe for SYSPID_MAX value conf: probe for THREAD_THREADS_MAX value conf: probe for TMP_MAX value conf: probe for UCHAR_MAX value conf: probe for UCHAR_MIN value conf: probe for UID_MAX value conf: probe for ULLONG_MAX value conf: probe for ULONG_MAX value conf: probe for USHRT_MAX value conf: probe for VERSION_88 value conf: probe for VERSION_88 value conf: probe for VERSION_90 value conf: probe for VERSION_90 value conf: probe for VERSION_93 value conf: probe for VERSION_93 value conf: probe for WCHAR_MAX value conf: probe for WCHAR_MIN value conf: probe for WINT_MAX value conf: probe for WINT_MIN value conf: generate conftab.h string table header conf: generate conftab.c string table conf: generate conflim.h supplemental values + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/limits.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/limits.c ... iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/limits.c ... yes + cmp -s FEATURE/limits ast_limits.h + rm -f ast_limits.h + silent test -d . + /bin/cp FEATURE/limits ast_limits.h + cmp -s FEATURE/api ast_api.h + rm -f ast_api.h + silent test -d . + /bin/cp FEATURE/api ast_api.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/wctype iffe: test: is sys/types.h a header ... yes iffe: test: is wctype an include path for the native header ... yes iffe: test: run{ ... }end ... yes + cmp -s FEATURE/wctype ast_wctype.h + rm -f ast_wctype.h + silent test -d . + /bin/cp FEATURE/wctype ast_wctype.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/wchar iffe: test: is sys/types.h a header ... yes iffe: test: cat{ ... }end ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is stdio.h a header ... yes iffe: test: is wchar.h a header ... yes iffe: test: is mbstowcs a library function ... yes iffe: test: is wctomb a library function ... yes iffe: test: is wcrtomb a library function ... yes iffe: test: is wcslen a library function ... yes iffe: test: is wcstombs a library function ... yes iffe: test: is wcwidth a library function ... yes iffe: test: is towlower a library function ... yes iffe: test: is towupper a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is mbstate_t a type or typedef ... yes iffe: test: is wchar an include path for the native header ... yes iffe: test: cat{ ... }end ... yes iffe: test: requires native ... yes iffe: test: defines __va_list for ... no iffe: test: is wctype.h a header ... yes iffe: test: is unistd.h a header ... yes iffe: test: is iswalpha a symbol that needs a prototype ... yes iffe: test: run{ ... }end ... yes + cmp -s FEATURE/wchar ast_wchar.h + rm -f ast_wchar.h + silent test -d . + /bin/cp FEATURE/wchar ast_wchar.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/sys iffe: test: is sys/types.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdint.h a header ... yes iffe: test: is inttypes.h a header ... yes iffe: test: is string.h a header ... yes iffe: test: is unistd.h a header ... yes iffe: test: is limits.h a header ... yes iffe: test: is fcntl.h a header ... yes iffe: test: is locale.h a header ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is dev_t a type or typedef ... yes iffe: test: is nlink_t a type or typedef ... yes iffe: test: is gid_t a type or typedef ... yes iffe: test: is mode_t a type or typedef ... yes iffe: test: is uid_t a type or typedef ... yes iffe: test: is stdio.h a header ... yes iffe: test: is wchar.h a header ... yes iffe: test: is wchar_t a type or typedef ... yes iffe: test: is pid_t a type or typedef ... yes iffe: test: is ssize_t a type or typedef ... yes iffe: test: is wint_t a type or typedef ... yes iffe: test: is sys/socket.h a header ... yes iffe: test: is socklen_t a type or typedef ... yes iffe: test: is size_t a type or typedef ... yes iffe: test: is clock_t a type or typedef ... yes iffe: test: is ino_t a type or typedef ... yes iffe: test: is off_t a type or typedef ... yes iffe: test: is ptrdiff_t a type or typedef ... yes iffe: test: is time_t a type or typedef ... yes iffe: test: is div_t a type or typedef ... yes iffe: test: is ldiv_t a type or typedef ... yes iffe: test: output{ ... }end ... no iffe: test: is offsetof a macro ... yes iffe: test: is EXIT_FAILURE a macro ... yes iffe: test: is EXIT_SUCCESS a macro ... yes iffe: test: is MB_CUR_MAX a macro ... yes iffe: test: is RAND_MAX a macro ... yes iffe: test: is STDIN_FILENO a macro ... yes iffe: test: is STDOUT_FILENO a macro ... yes iffe: test: is STDERR_FILENO a macro ... yes iffe: test: is NULL a macro ... yes iffe: test: is SEEK_SET a macro ... yes iffe: test: is SEEK_CUR a macro ... yes iffe: test: is SEEK_END a macro ... yes iffe: test: is F_OK a macro ... yes iffe: test: is X_OK a macro ... yes iffe: test: is W_OK a macro ... yes iffe: test: is R_OK a macro ... yes iffe: test: is _exit a symbol that needs a prototype ... no iffe: test: is abort a symbol that needs a prototype ... no iffe: test: is abs a symbol that needs a prototype ... no iffe: test: is access a symbol that needs a prototype ... no iffe: test: is alarm a symbol that needs a prototype ... no iffe: test: is atexit a symbol that needs a prototype ... no iffe: test: is atof a symbol that needs a prototype ... no iffe: test: is atoi a symbol that needs a prototype ... no iffe: test: is atol a symbol that needs a prototype ... no iffe: test: is bsearch a symbol that needs a prototype ... no iffe: test: is calloc a symbol that needs a prototype ... no iffe: test: is cfree a symbol that needs a prototype ... yes iffe: test: is chdir a symbol that needs a prototype ... no iffe: test: is chown a symbol that needs a prototype ... no iffe: test: is close a symbol that needs a prototype ... no iffe: test: is confstr a symbol that needs a prototype ... no iffe: test: is div a symbol that needs a prototype ... no iffe: test: is dup a symbol that needs a prototype ... no iffe: test: is dup2 a symbol that needs a prototype ... no iffe: test: is eaccess a symbol that needs a prototype ... yes iffe: test: is execl a symbol that needs a prototype ... no iffe: test: is execle a symbol that needs a prototype ... no iffe: test: is execlp a symbol that needs a prototype ... no iffe: test: is execv a symbol that needs a prototype ... no iffe: test: is execve a symbol that needs a prototype ... no iffe: test: is execve a symbol that needs a prototype ... no iffe: test: is execvp a symbol that needs a prototype ... no iffe: test: is execvpe a symbol that needs a prototype ... yes iffe: test: is exit a symbol that needs a prototype ... no iffe: test: is fork a symbol that needs a prototype ... no iffe: test: is fpathconf a symbol that needs a prototype ... no iffe: test: is free a symbol that needs a prototype ... no iffe: test: is fsync a symbol that needs a prototype ... no iffe: test: is ftruncate a symbol that needs a prototype ... no iffe: test: is getcwd a symbol that needs a prototype ... no iffe: test: is getegid a symbol that needs a prototype ... no iffe: test: is getenv a symbol that needs a prototype ... no iffe: test: is geteuid a symbol that needs a prototype ... no iffe: test: is getgid a symbol that needs a prototype ... no iffe: test: is getgroups a symbol that needs a prototype ... no iffe: test: is getlogin a symbol that needs a prototype ... no iffe: test: is getpgrp a symbol that needs a prototype ... no iffe: test: is getpid a symbol that needs a prototype ... no iffe: test: is getppid a symbol that needs a prototype ... no iffe: test: is gettxt a symbol that needs a prototype ... yes iffe: test: is getuid a symbol that needs a prototype ... no iffe: test: is isatty a symbol that needs a prototype ... no iffe: test: is labs a symbol that needs a prototype ... no iffe: test: is ldiv a symbol that needs a prototype ... no iffe: test: is link a symbol that needs a prototype ... no iffe: test: is lseek a symbol that needs a prototype ... no iffe: test: is malloc a symbol that needs a prototype ... no iffe: test: is mblen a symbol that needs a prototype ... no iffe: test: is mbstowcs a symbol that needs a prototype ... no iffe: test: is mbtowc a symbol that needs a prototype ... no iffe: test: is memalign a symbol that needs a prototype ... yes iffe: test: is memccpy a symbol that needs a prototype ... no iffe: test: is memchr a symbol that needs a prototype ... no iffe: test: is memcmp a symbol that needs a prototype ... no iffe: test: is memcpy a symbol that needs a prototype ... no iffe: test: is memmove a symbol that needs a prototype ... no iffe: test: is memset a symbol that needs a prototype ... no iffe: test: is pathconf a symbol that needs a prototype ... no iffe: test: is pause a symbol that needs a prototype ... no iffe: test: is pipe a symbol that needs a prototype ... no iffe: test: is pvalloc a symbol that needs a prototype ... yes iffe: test: is qsort a symbol that needs a prototype ... no iffe: test: is rand a symbol that needs a prototype ... no iffe: test: is read a symbol that needs a prototype ... no iffe: test: is realloc a symbol that needs a prototype ... no iffe: test: is realpath a symbol that needs a prototype ... no iffe: test: is resolvepath a symbol that needs a prototype ... yes iffe: test: is rmdir a symbol that needs a prototype ... no iffe: test: is setgid a symbol that needs a prototype ... no iffe: test: is setpgid a symbol that needs a prototype ... no iffe: test: is setsid a symbol that needs a prototype ... no iffe: test: is setuid a symbol that needs a prototype ... no iffe: test: is sleep a symbol that needs a prototype ... no iffe: test: is spawnveg a symbol that needs a prototype ... yes iffe: test: is srand a symbol that needs a prototype ... no iffe: test: is strcasecmp a symbol that needs a prototype ... no iffe: test: is strcat a symbol that needs a prototype ... no iffe: test: is strchr a symbol that needs a prototype ... no iffe: test: is strcmp a symbol that needs a prototype ... no iffe: test: is strcoll a symbol that needs a prototype ... no iffe: test: is strcpy a symbol that needs a prototype ... no iffe: test: is strcspn a symbol that needs a prototype ... no iffe: test: is strdup a symbol that needs a prototype ... no iffe: test: is strlcat a symbol that needs a prototype ... yes iffe: test: is strlcpy a symbol that needs a prototype ... yes iffe: test: is strlen a symbol that needs a prototype ... no iffe: test: is strncasecmp a symbol that needs a prototype ... no iffe: test: is strncat a symbol that needs a prototype ... no iffe: test: is strncmp a symbol that needs a prototype ... no iffe: test: is strncpy a symbol that needs a prototype ... no iffe: test: is strpbrk a symbol that needs a prototype ... no iffe: test: is strrchr a symbol that needs a prototype ... no iffe: test: is strspn a symbol that needs a prototype ... no iffe: test: is strstr a symbol that needs a prototype ... no iffe: test: is strtok a symbol that needs a prototype ... no iffe: test: is strxfrm a symbol that needs a prototype ... no iffe: test: is swab a symbol that needs a prototype ... yes iffe: test: is sysconf a symbol that needs a prototype ... no iffe: test: is system a symbol that needs a prototype ... no iffe: test: is tcgetpgrp a symbol that needs a prototype ... no iffe: test: is tcsetpgrp a symbol that needs a prototype ... no iffe: test: is truncate a symbol that needs a prototype ... no iffe: test: is ttyname a symbol that needs a prototype ... no iffe: test: is unlink a symbol that needs a prototype ... no iffe: test: is valloc a symbol that needs a prototype ... no iffe: test: is wcstombs a symbol that needs a prototype ... no iffe: test: is wctomb a symbol that needs a prototype ... no iffe: test: is write a symbol that needs a prototype ... no + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/botch.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/botch.c ... iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/botch.c ... yes + cmp -s FEATURE/botch ast_botch.h + rm -f ast_botch.h + silent test -d . + /bin/cp FEATURE/botch ast_botch.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/tty iffe: test: is sys/types.h a header ... yes iffe: test: is termios.h a header ... yes iffe: test: is termio.h a header ... yes iffe: test: is sgtty.h a header ... yes iffe: test: is sys/termios.h a header ... yes iffe: test: is sys/termio.h a header ... no iffe: test: is sys/ioctl.h a header ... yes iffe: test: is sys/bsdtty.h a header ... no iffe: test: is sys/nttyio.h a header ... no iffe: test: is sys/ttyio.h a header ... no iffe: test: is tcgetattr a library function ... yes iffe: test: is tcgetpgrp a library function ... yes iffe: test: is _POSIX_VDISABLE a macro ... no iffe: test: is termios a type or typedef ... no iffe: test: is c_line a member of struct termios ... yes iffe: test: cat{ ... }end ... yes + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/fs iffe: test: is sys/types.h a header ... yes iffe: test: is sys/stat.h a header ... yes iffe: test: is _fxstat a library function ... no iffe: test: is __fxstat a library function ... yes iffe: test: is _lxstat a library function ... no iffe: test: is __lxstat a library function ... yes iffe: test: is _xmknod a library function ... no iffe: test: is __xmknod a library function ... yes iffe: test: is _xstat a library function ... no iffe: test: is __xstat a library function ... yes iffe: test: is lstat a library function ... yes iffe: test: is mknod a library function ... yes iffe: test: is sync a library function ... yes iffe: test: is _fxstat64 a library function ... no iffe: test: is __fxstat64 a library function ... yes iffe: test: is _lxstat64 a library function ... no iffe: test: is __lxstat64 a library function ... yes iffe: test: is _xstat64 a library function ... no iffe: test: is __xstat64 a library function ... yes iffe: test: is fstat a macro ... no iffe: test: is lstat a macro ... no iffe: test: is stat a macro ... no iffe: test: is mknod a macro ... no iffe: test: link{ ... }end ... no iffe: test: link{ ... }end ... yes iffe: test: is sys/mkdev.h a header ... no iffe: test: is chmod a symbol that needs a prototype ... no iffe: test: is fstat a symbol that needs a prototype ... no iffe: test: is lstat a symbol that needs a prototype ... no iffe: test: is mkdir a symbol that needs a prototype ... no iffe: test: is mkfifo a symbol that needs a prototype ... no iffe: test: is mknod a symbol that needs a prototype ... no iffe: test: is stat a symbol that needs a prototype ... no iffe: test: is FS_default a macro ... no iffe: test: macro{ ... }end ... yes iffe: test: is stdio.h a header ... yes iffe: test: is mntent.h a header ... yes iffe: test: is mnttab.h a header ... no iffe: test: is sys/mntent.h a header ... no iffe: test: is sys/mnttab.h a header ... no iffe: test: is sys/param.h a header ... yes iffe: test: is sys/ucred.h a header ... no iffe: test: is sys/fs_types.h a header ... no iffe: test: is sys/mount.h a header ... yes iffe: test: is sys/statfs.h a header ... yes iffe: test: is sys/statvfs.h a header ... yes iffe: test: is sys/vfs.h a header ... yes iffe: test: is sys/vmount.h a header ... no iffe: test: is mnttab a type or typedef ... no iffe: test: is mt_dev a member of struct mnttab ... no iffe: test: is mt_filsys a member of struct mnttab ... no iffe: test: is mt_fstyp a member of struct mnttab ... no iffe: test: is mntent a type or typedef ... no iffe: test: is mnt_opts a member of struct mntent ... yes iffe: test: is w_mntent a type or typedef ... no iffe: test: is mnt_opts a member of struct w_mntent ... no iffe: test: is mnt_opts a member of struct mnttab ... no iffe: test: is mnt_opts a member of struct mntent ... no iffe: test: is mnt_opts a member of struct mnttab ... no iffe: test: is stat a type or typedef ... no iffe: test: is st_blocks a member of struct stat ... yes iffe: test: is st_blksize a member of struct stat ... yes iffe: test: is st_rdev a member of struct stat ... yes iffe: test: is statfs a type or typedef ... iffe: test: is f_files a member of struct statfs ... yes iffe: test: is f_bavail a member of struct statfs ... yes iffe: test: is statvfs a type or typedef ... no iffe: test: is f_basetype a member of struct statvfs ... no iffe: test: is f_frsize a member of struct statvfs ... yes iffe: test: statvfs.f_reserved7 can double for statvfs.f_basetype ... no iffe: test: is getfsstat a library function ... no iffe: test: is getmntent a library function ... yes iffe: test: is getmntinfo a library function ... no iffe: test: is mntctl a library function ... no iffe: test: is mntopen a library function ... no iffe: test: is mntread a library function ... no iffe: test: is mntclose a library function ... no iffe: test: is setmntent a library function ... yes iffe: test: is w_getmntent a library function ... no iffe: test: is statfs a library function ... yes iffe: test: is statvfs a library function ... yes iffe: test: compile{ ... }end ... iffe: test: compile{ ... }end ... iffe: test: compile{ ... }end ... no iffe: test: getmntinfo uses statvfs -- since when? ... no iffe: test: getfsstat uses statvfs -- just in case it is confused like getmntinfo ... no iffe: test: cat{ ... }end ... yes iffe: test: stat.st_fstype is a string ... no iffe: test: stat.st_fstype is an int ... no iffe: test: stat.st_spare1 is an int ... no iffe: test: stat.st_spare4 is an array ... no iffe: test: stat.st_extra is an array ... no iffe: test: stat.st_pad4 is an array ... no + cmp -s FEATURE/fs ast_fs.h + rm -f ast_fs.h + silent test -d . + /bin/cp FEATURE/fs ast_fs.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/fcntl.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/fcntl.c ... In file included from ./22496.c:76: ./FEATURE/fs:138:65: warning: declaration of 'struct statvfs64' will not be visible outside of this function [-Wvisibility] extern __MANGLE__ int statvfs64 __PROTO__((const char*, struct statvfs64*)); ^ ./FEATURE/fs:144:58: warning: declaration of 'struct statvfs64' will not be visible outside of this function [-Wvisibility] extern __MANGLE__ int fstatvfs64 __PROTO__((int, struct statvfs64*)); ^ 2 warnings generated. iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/fcntl.c ... yes + cmp -s FEATURE/fcntl ast_fcntl.h + rm -f ast_fcntl.h + silent test -d . + /bin/cp FEATURE/fcntl ast_fcntl.h + cmp -s FEATURE/sys ast_sys.h + rm -f ast_sys.h + silent test -d . + /bin/cp FEATURE/sys ast_sys.h + cmp -s FEATURE/lib ast_lib.h + rm -f ast_lib.h + silent test -d . + /bin/cp FEATURE/lib ast_lib.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/stdio iffe: test: is sys/types.h a header ... yes iffe: test: cat{ ... }end ... yes iffe: test: output{ ... }end ... yes iffe: test: macro{ ... }end ... yes iffe: test: cat{ ... }end ... yes + cmp -s FEATURE/stdio ast_stdio.h + rm -f ast_stdio.h + silent test -d . + /bin/cp FEATURE/stdio ast_stdio.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/nl_types iffe: test: is sys/types.h a header ... yes iffe: test: is catopen a library function ... yes iffe: test: is nl_langinfo a library function ... yes iffe: test: is nl_types.h a header ... yes iffe: test: is langinfo.h a header ... yes iffe: test: is nl_types an include path for the native header ... yes iffe: test: output{ ... }end ... yes + cmp -s FEATURE/nl_types ast_nl_types.h + rm -f ast_nl_types.h + silent test -d . + /bin/cp FEATURE/nl_types ast_nl_types.h + X=1 + cc -DN=1 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -o astmath.exe /<>/ksh-93u+20120801/src/lib/libast/port/astmath.c + : implicit math function N=1 : + cc -DN=2 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -o astmath.exe /<>/ksh-93u+20120801/src/lib/libast/port/astmath.c + : implicit math function N=2 : + cc -DN=3 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -o astmath.exe /<>/ksh-93u+20120801/src/lib/libast/port/astmath.c + : implicit math function N=3 : + cc -DN=4 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -o astmath.exe /<>/ksh-93u+20120801/src/lib/libast/port/astmath.c + : implicit math function N=4 : + cc -DN=5 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -o astmath.exe /<>/ksh-93u+20120801/src/lib/libast/port/astmath.c + : implicit math function N=5 : + cc -DN=6 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -o astmath.exe /<>/ksh-93u+20120801/src/lib/libast/port/astmath.c + : implicit math function N=6 : + cc -DN=8 -DIS -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -o astmath.exe /<>/ksh-93u+20120801/src/lib/libast/port/astmath.c + : implicit math function N=8 : + touch astmath.exe + rm -f astmath + : clean up obsolete headers : + rm -rf dirent.h iconv.h nl_types.h stdio.h wchar.h wctype.h ast_hdr.h ast_types.h ast_unistd.h iffeio.h /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/limits.h /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/unistd.h /<>/ksh-93u+20120801/src/lib/libast/std/limits.h + set - + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/state.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/transition.c + cmp -s FEATURE/param ast_param.h + rm -f ast_param.h + silent test -d . + /bin/cp FEATURE/param ast_param.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/dirent iffe: test: is sys/types.h a header ... yes iffe: test: is stat64 a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is off64_t a type or typedef ... yes iffe: test: is opendir a library function ... yes iffe: test: is dirent.h a header ... yes iffe: test: is ndir.h a header ... no iffe: test: is sys/dir.h a header ... yes iffe: test: is dirent an include path for the native header ... yes iffe: test: dirent64.d_ino vs. readdir64 mismatch ... no iffe: test: is ( ! _lib_opendir ) true ... no iffe: test: is ( _nxt_dirent && _lib_stat64 && _typ_off64_t && _botch_d_ino_dirent64 ) true ... no iffe: test: is ( _nxt_dirent && _lib_stat64 && _typ_off64_t ) true ... yes + cmp -s FEATURE/dirent ast_dirent.h + rm -f ast_dirent.h + silent test -d . + /bin/cp FEATURE/dirent ast_dirent.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/mode.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/mode.c ... iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/mode.c ... yes + cmp -s FEATURE/mode ast_mode.h + rm -f ast_mode.h + silent test -d . + /bin/cp FEATURE/mode ast_mode.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idir -I/<>/ksh-93u+20120801/src/lib/libast/dir -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/dir/opendir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idir -I/<>/ksh-93u+20120801/src/lib/libast/dir -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/dir/readdir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idir -I/<>/ksh-93u+20120801/src/lib/libast/dir -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/dir/rewinddir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idir -I/<>/ksh-93u+20120801/src/lib/libast/dir -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/dir/seekdir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idir -I/<>/ksh-93u+20120801/src/lib/libast/dir -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/dir/telldir.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/syscall iffe: test: is sys/types.h a header ... yes iffe: test: syscall(SYS_getcwd,buf,len) implemented ... yes iffe: test: is ( _lib_sysgetcwd ) true ... yes iffe: test: is ( _lib_sysgetcwd ) true ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idir -I/<>/ksh-93u+20120801/src/lib/libast/dir -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/getcwd.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:77: In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/findlib.h:35: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:77: In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/findlib.h:35: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:125:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *t++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:125:11: note: place parentheses around the assignment to silence this warning while (c = *t++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:125:11: note: use '==' to turn this assignment into an equality comparison while (c = *t++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:193:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = findcodes[i]) ~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:193:13: note: place parentheses around the assignment to silence this warning if (path = findcodes[i]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:193:13: note: use '==' to turn this assignment into an equality comparison if (path = findcodes[i]) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:233:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = strrchr(fp->encode.file, '/')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:233:13: note: place parentheses around the assignment to silence this warning if (b = strrchr(fp->encode.file, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:233:13: note: use '==' to turn this assignment into an equality comparison if (b = strrchr(fp->encode.file, '/')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:250:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (b = strrchr(path, '/')) ~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:250:16: note: place parentheses around the assignment to silence this warning else if (b = strrchr(path, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:250:16: note: use '==' to turn this assignment into an equality comparison else if (b = strrchr(path, '/')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:290:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(path, '/')) ~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:290:10: note: place parentheses around the assignment to silence this warning if (s = strrchr(path, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:290:10: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(path, '/')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:371:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = findcodes[i]) ~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:371:13: note: place parentheses around the assignment to silence this warning if (path = findcodes[i]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:371:13: note: use '==' to turn this assignment into an equality comparison if (path = findcodes[i]) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:382:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp->fp = sfopen(NiL, fp->decode.path, "r")) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:382:20: note: place parentheses around the assignment to silence this warning if (fp->fp = sfopen(NiL, fp->decode.path, "r")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:382:20: note: use '==' to turn this assignment into an equality comparison if (fp->fp = sfopen(NiL, fp->decode.path, "r")) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:391:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (fp->fp = sfopen(NiL, path, "r")) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:391:23: note: place parentheses around the assignment to silence this warning else if (fp->fp = sfopen(NiL, path, "r")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:391:23: note: use '==' to turn this assignment into an equality comparison else if (fp->fp = sfopen(NiL, path, "r")) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:410:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp->secure = ((st.st_mode & (S_IRGRP|S_IROTH)) == S_IRGRP) && st.st_gid == getegid() && getegid() != getgid()) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:410:18: note: place parentheses around the assignment to silence this warning if (fp->secure = ((st.st_mode & (S_IRGRP|S_IROTH)) == S_IRGRP) && st.st_gid == getegid() && getegid() != getgid()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:410:18: note: use '==' to turn this assignment into an equality comparison if (fp->secure = ((st.st_mode & (S_IRGRP|S_IROTH)) == S_IRGRP) && st.st_gid == getegid() && getegid() != getgid()) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:425:82: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(*s++ = fp->decode.bigram2[i] = j) && (i || fp->decode.bigram1[0] >= '0' && fp->decode.bigram1[0] <= '1')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:425:82: note: place parentheses around the '&&' expression to silence this warning if (!(*s++ = fp->decode.bigram2[i] = j) && (i || fp->decode.bigram1[0] >= '0' && fp->decode.bigram1[0] <= '1')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:459:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (j = sfgetc(fp->fp)) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:459:13: note: place parentheses around the assignment to silence this warning while (j = sfgetc(fp->fp)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:459:13: note: use '==' to turn this assignment into an equality comparison while (j = sfgetc(fp->fp)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:568:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = s = (char*)pattern) ~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:568:9: note: place parentheses around the assignment to silence this warning if (p = s = (char*)pattern) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:568:9: note: use '==' to turn this assignment into an equality comparison if (p = s = (char*)pattern) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:625:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:625:11: note: place parentheses around the assignment to silence this warning if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:625:11: note: use '==' to turn this assignment into an equality comparison if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0))) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:638:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:638:14: note: place parentheses around the assignment to silence this warning while (i = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:638:14: note: use '==' to turn this assignment into an equality comparison while (i = *s++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:739:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*p++ = c); ~~~~~^~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:739:18: note: place parentheses around the assignment to silence this warning } while (*p++ = c); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:739:18: note: use '==' to turn this assignment into an equality comparison } while (*p++ = c); ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:879:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == *fp->decode.end || ignorecase && tolower(*s) == *fp->decode.end) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:879:46: note: place parentheses around the '&&' expression to silence this warning if (*s == *fp->decode.end || ignorecase && tolower(*s) == *fp->decode.end) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1001:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = (Type_t*)dtmatch(fp->encode.namedict, type)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1001:10: note: place parentheses around the assignment to silence this warning if (x = (Type_t*)dtmatch(fp->encode.namedict, type)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1001:10: note: use '==' to turn this assignment into an equality comparison if (x = (Type_t*)dtmatch(fp->encode.namedict, type)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1107:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (d = fp->encode.hits[n]) ~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1107:10: note: place parentheses around the assignment to silence this warning if (d = fp->encode.hits[n]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1107:10: note: use '==' to turn this assignment into an equality comparison if (d = fp->encode.hits[n]) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1153:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = sfgetr(fp->fp, 0, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1153:12: note: place parentheses around the assignment to silence this warning while (s = sfgetr(fp->fp, 0, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1153:12: note: use '==' to turn this assignment into an equality comparison while (s = sfgetr(fp->fp, 0, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1167:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1167:13: note: place parentheses around the assignment to silence this warning while (n = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1167:13: note: use '==' to turn this assignment into an equality comparison while (n = *s++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1174:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (d = fp->encode.code[n][m]) ~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1174:11: note: place parentheses around the assignment to silence this warning if (d = fp->encode.code[n][m]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fastfind.c:1174:11: note: use '==' to turn this assignment into an equality comparison if (d = fp->encode.code[n][m]) ^ == 21 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fastfind.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/hashalloc.c /<>/ksh-93u+20120801/src/lib/libast/hash/hashalloc.c:90:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tab->root->local->region = region) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashalloc.c:90:32: note: place parentheses around the assignment to silence this warning if (tab->root->local->region = region) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashalloc.c:90:32: note: use '==' to turn this assignment into an equality comparison if (tab->root->local->region = region) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/hashdump.c /<>/ksh-93u+20120801/src/lib/libast/hash/hashdump.c:75:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = tab->root->namesize) ~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashdump.c:75:12: note: place parentheses around the assignment to silence this warning if (n = tab->root->namesize) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashdump.c:75:12: note: use '==' to turn this assignment into an equality comparison if (n = tab->root->namesize) ^ == /<>/ksh-93u+20120801/src/lib/libast/hash/hashdump.c:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (scope = tab->scope) ~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashdump.c:110:12: note: place parentheses around the assignment to silence this warning if (scope = tab->scope) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashdump.c:110:12: note: use '==' to turn this assignment into an equality comparison if (scope = tab->scope) ^ == /<>/ksh-93u+20120801/src/lib/libast/hash/hashdump.c:113:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (scope = scope->scope) level++; ~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashdump.c:113:16: note: place parentheses around the assignment to silence this warning while (scope = scope->scope) level++; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashdump.c:113:16: note: use '==' to turn this assignment into an equality comparison while (scope = scope->scope) level++; ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/hashfree.c /<>/ksh-93u+20120801/src/lib/libast/hash/hashfree.c:63:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (region = tab->root->local->region) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashfree.c:63:14: note: place parentheses around the assignment to silence this warning if (region = tab->root->local->region) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashfree.c:63:14: note: use '==' to turn this assignment into an equality comparison if (region = tab->root->local->region) ^ == /<>/ksh-93u+20120801/src/lib/libast/hash/hashfree.c:140:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = tab->scope) tp->frozen--; ~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashfree.c:140:9: note: place parentheses around the assignment to silence this warning if (tp = tab->scope) tp->frozen--; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashfree.c:140:9: note: use '==' to turn this assignment into an equality comparison if (tp = tab->scope) tp->frozen--; ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/hashlast.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/hashlook.c /<>/ksh-93u+20120801/src/lib/libast/hash/hashlook.c:57:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s2++) HASHPART(n, c); ~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashlook.c:57:13: note: place parentheses around the assignment to silence this warning while (c = *s2++) HASHPART(n, c); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashlook.c:57:13: note: use '==' to turn this assignment into an equality comparison while (c = *s2++) HASHPART(n, c); ^ == /<>/ksh-93u+20120801/src/lib/libast/hash/hashlook.c:139:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = last->bucket) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashlook.c:139:9: note: place parentheses around the assignment to silence this warning if (b = last->bucket) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashlook.c:139:9: note: use '==' to turn this assignment into an equality comparison if (b = last->bucket) ^ == /<>/ksh-93u+20120801/src/lib/libast/hash/hashlook.c:265:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (prev = b) ~~~~~^~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashlook.c:265:12: note: place parentheses around the assignment to silence this warning if (prev = b) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashlook.c:265:12: note: use '==' to turn this assignment into an equality comparison if (prev = b) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/hashscan.c /<>/ksh-93u+20120801/src/lib/libast/hash/hashscan.c:74:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (tab = tab->scope); ~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashscan.c:74:16: note: place parentheses around the assignment to silence this warning } while (tab = tab->scope); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashscan.c:74:16: note: use '==' to turn this assignment into an equality comparison } while (tab = tab->scope); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/hashsize.c /<>/ksh-93u+20120801/src/lib/libast/hash/hashsize.c:51:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (region = tab->root->local->region) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashsize.c:51:14: note: place parentheses around the assignment to silence this warning if (region = tab->root->local->region) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashsize.c:51:14: note: use '==' to turn this assignment into an equality comparison if (region = tab->root->local->region) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/hashview.c /<>/ksh-93u+20120801/src/lib/libast/hash/hashview.c:64:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = (Hash_bucket_t*)hashlook(bot, b->name, HASH_LOOKUP, NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashview.c:64:12: note: place parentheses around the assignment to silence this warning if (p = (Hash_bucket_t*)hashlook(bot, b->name, HASH_LOOKUP, NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashview.c:64:12: note: use '==' to turn this assignment into an equality comparison if (p = (Hash_bucket_t*)hashlook(bot, b->name, HASH_LOOKUP, NiL)) ^ == /<>/ksh-93u+20120801/src/lib/libast/hash/hashview.c:73:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (bot = top->scope) ~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashview.c:73:15: note: place parentheses around the assignment to silence this warning else if (bot = top->scope) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashview.c:73:15: note: use '==' to turn this assignment into an equality comparison else if (bot = top->scope) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/hashwalk.c /<>/ksh-93u+20120801/src/lib/libast/hash/hashwalk.c:46:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (b = hashnext(pos)) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/hashwalk.c:46:11: note: place parentheses around the assignment to silence this warning while (b = hashnext(pos)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/hashwalk.c:46:11: note: use '==' to turn this assignment into an equality comparison while (b = hashnext(pos)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/memhash.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/memsum.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/strhash.c /<>/ksh-93u+20120801/src/lib/libast/hash/strhash.c:43:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) HASHPART(i, c); ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/strhash.c:43:11: note: place parentheses around the assignment to silence this warning while (c = *s++) HASHPART(i, c); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/strhash.c:43:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) HASHPART(i, c); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/strkey.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ihash -I/<>/ksh-93u+20120801/src/lib/libast/hash -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/hash/strsum.c /<>/ksh-93u+20120801/src/lib/libast/hash/strsum.c:47:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = *s++) HASHPART(c, n); ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/hash/strsum.c:47:11: note: place parentheses around the assignment to silence this warning while (n = *s++) HASHPART(c, n); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/hash/strsum.c:47:11: note: use '==' to turn this assignment into an equality comparison while (n = *s++) HASHPART(c, n); ^ == 1 warning generated. + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/ccode iffe: test: is sys/types.h a header ... yes iffe: test: output{ ... }end ... yes + cmp -s FEATURE/ccode ast_ccode.h + rm -f ast_ccode.h + silent test -d . + /bin/cp FEATURE/ccode ast_ccode.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/stracmp.c /<>/ksh-93u+20120801/src/lib/libast/string/stracmp.c:55:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (d = c - m[*b++]) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/stracmp.c:55:9: note: place parentheses around the assignment to silence this warning if (d = c - m[*b++]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/stracmp.c:55:9: note: use '==' to turn this assignment into an equality comparison if (d = c - m[*b++]) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strnacmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/ccmap.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/ccmapid.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/ccnative.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:38: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:38: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:38: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:38: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:38: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:96:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *s) ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:96:11: note: place parentheses around the assignment to silence this warning if (c = *s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:96:11: note: use '==' to turn this assignment into an equality comparison if (c = *s) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:158:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = c == 'u' ? (s + 4) : c == 'U' ? (s + 8) : (char*)0) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:158:11: note: place parentheses around the assignment to silence this warning if (q = c == 'u' ? (s + 4) : c == 'U' ? (s + 8) : (char*)0) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:158:11: note: use '==' to turn this assignment into an equality comparison if (q = c == 'u' ? (s + 4) : c == 'U' ? (s + 8) : (char*)0) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:203:16: warning: '&&' within '||' [-Wlogical-op-parentheses] if (n <= 2 && !(flags & FMT_EXP_CHAR) || n > 2 && (w = 1) && !(flags & FMT_EXP_WIDE)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:203:16: note: place parentheses around the '&&' expression to silence this warning if (n <= 2 && !(flags & FMT_EXP_CHAR) || n > 2 && (w = 1) && !(flags & FMT_EXP_WIDE)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:203:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if (n <= 2 && !(flags & FMT_EXP_CHAR) || n > 2 && (w = 1) && !(flags & FMT_EXP_WIDE)) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/chresc.c:203:63: note: place parentheses around the '&&' expression to silence this warning if (n <= 2 && !(flags & FMT_EXP_CHAR) || n > 2 && (w = 1) && !(flags & FMT_EXP_WIDE)) ^ ( ) 7 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making chresc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/chrtoi.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/streval.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strexpr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strmatch.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strmatch.c:59: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strmatch.c:59: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strmatch.c:59: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strmatch.c:59: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strmatch.c:59: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strmatch.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strcopy.c /<>/ksh-93u+20120801/src/lib/libast/string/strcopy.c:34:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s++ = *t++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strcopy.c:34:14: note: place parentheses around the assignment to silence this warning while (*s++ = *t++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strcopy.c:34:14: note: use '==' to turn this assignment into an equality comparison while (*s++ = *t++); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/modei.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/modex.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strmode.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strlcat.c /<>/ksh-93u+20120801/src/lib/libast/string/strlcat.c:58:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = n) ~~^~~ /<>/ksh-93u+20120801/src/lib/libast/string/strlcat.c:58:8: note: place parentheses around the assignment to silence this warning if (m = n) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strlcat.c:58:8: note: use '==' to turn this assignment into an equality comparison if (m = n) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/strlcat.c:74:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*s++ = *t++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strlcat.c:74:18: note: place parentheses around the assignment to silence this warning } while (*s++ = *t++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strlcat.c:74:18: note: use '==' to turn this assignment into an equality comparison } while (*s++ = *t++); ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strlcpy.c /<>/ksh-93u+20120801/src/lib/libast/string/strlcpy.c:65:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*s++ = *t++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strlcpy.c:65:17: note: place parentheses around the assignment to silence this warning } while (*s++ = *t++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strlcpy.c:65:17: note: use '==' to turn this assignment into an equality comparison } while (*s++ = *t++); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strlook.c /<>/ksh-93u+20120801/src/lib/libast/string/strlook.c:46:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; s = *((char**)t); t += siz) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strlook.c:46:11: note: place parentheses around the assignment to silence this warning for (; s = *((char**)t); t += siz) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strlook.c:46:11: note: use '==' to turn this assignment into an equality comparison for (; s = *((char**)t); t += siz) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strncopy.c /<>/ksh-93u+20120801/src/lib/libast/string/strncopy.c:44:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*t++ = *f++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strncopy.c:44:16: note: place parentheses around the assignment to silence this warning } while (*t++ = *f++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strncopy.c:44:16: note: use '==' to turn this assignment into an equality comparison } while (*t++ = *f++); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strsearch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strpsearch.c /<>/ksh-93u+20120801/src/lib/libast/string/strpsearch.c:74:97: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(v = c - MAP(m, *(s = *((unsigned char**)mid)))) || *s == '[' && !(v = c - MAP(m, *++s)) && (v = 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strpsearch.c:74:97: note: place parentheses around the '&&' expression to silence this warning if (!(v = c - MAP(m, *(s = *((unsigned char**)mid)))) || *s == '[' && !(v = c - MAP(m, *++s)) && (v = 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strpsearch.c:99:101: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c == MAP(m, *(s + 1)))); ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strpsearch.c:99:101: note: place parentheses around the '&&' expression to silence this warning while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c == MAP(m, *(s + 1)))); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/stresc.c /<>/ksh-93u+20120801/src/lib/libast/string/stresc.c:45:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/stresc.c:45:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/stresc.c:45:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/stropt.c /<>/ksh-93u+20120801/src/lib/libast/string/stropt.c:91:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz)) ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/string/stropt.c:91:29: note: place parentheses around the assignment to silence this warning for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/stropt.c:91:29: note: use '==' to turn this assignment into an equality comparison for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz)) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/stropt.c:128:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/stropt.c:128:14: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/stropt.c:128:14: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strtape.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strpcmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strnpcmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strvcmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strnvcmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/tok.c /<>/ksh-93u+20120801/src/lib/libast/string/tok.c:59:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = freelist) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tok.c:59:8: note: place parentheses around the assignment to silence this warning if (p = freelist) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tok.c:59:8: note: use '==' to turn this assignment into an equality comparison if (p = freelist) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/tokline.c /<>/ksh-93u+20120801/src/lib/libast/string/tokline.c:123:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (n = b - buf - 1) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokline.c:123:19: note: place parentheses around the assignment to silence this warning else if (n = b - buf - 1) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokline.c:123:19: note: use '==' to turn this assignment into an equality comparison else if (n = b - buf - 1) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:105:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*s || !q && *s == '\n') ~~ ~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:105:17: note: place parentheses around the '&&' expression to silence this warning if (!*s || !q && *s == '\n') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:123:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*++s || *s == '\n' && (!*++s || *s == '\n')) continue; ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:123:28: note: place parentheses around the '&&' expression to silence this warning if (!*++s || *s == '\n' && (!*++s || *s == '\n')) continue; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:151:32: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*s == c || c == ' ' && *s == '\t') ~~ ~~~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:151:32: note: place parentheses around the '&&' expression to silence this warning else if (*s == c || c == ' ' && *s == '\t') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:202:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = prv_f) ~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:202:9: note: place parentheses around the assignment to silence this warning if (f = prv_f) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:202:9: note: use '==' to turn this assignment into an equality comparison if (f = prv_f) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:281:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p_short = va_arg(ap, short*)) *p_short = (short)val; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:281:17: note: place parentheses around the assignment to silence this warning if (p_short = va_arg(ap, short*)) *p_short = (short)val; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:281:17: note: use '==' to turn this assignment into an equality comparison if (p_short = va_arg(ap, short*)) *p_short = (short)val; ^ == /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:284:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p_long = va_arg(ap, long*)) *p_long = val; ~~~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:284:16: note: place parentheses around the assignment to silence this warning if (p_long = va_arg(ap, long*)) *p_long = val; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:284:16: note: use '==' to turn this assignment into an equality comparison if (p_long = va_arg(ap, long*)) *p_long = val; ^ == /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:287:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p_int = va_arg(ap, int*)) *p_int = (int)val; ~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:287:15: note: place parentheses around the assignment to silence this warning if (p_int = va_arg(ap, int*)) *p_int = (int)val; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:287:15: note: use '==' to turn this assignment into an equality comparison if (p_int = va_arg(ap, int*)) *p_int = (int)val; ^ == /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:304:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p_double = va_arg(ap, double*)) *p_double = dval; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:304:17: note: place parentheses around the assignment to silence this warning if (p_double = va_arg(ap, double*)) *p_double = dval; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:304:17: note: use '==' to turn this assignment into an equality comparison if (p_double = va_arg(ap, double*)) *p_double = dval; ^ == /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:313:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = *f) f++; ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:313:10: note: place parentheses around the assignment to silence this warning if (q = *f) f++; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:313:10: note: use '==' to turn this assignment into an equality comparison if (q = *f) f++; ^ == /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:323:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = *f) f++; ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:323:10: note: place parentheses around the assignment to silence this warning if (q = *f) f++; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/tokscan.c:323:10: note: use '==' to turn this assignment into an equality comparison if (q = *f) f++; ^ == 10 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathaccess.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathcat.c /<>/ksh-93u+20120801/src/lib/libast/path/pathcat.c:79:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s = *a++) ~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathcat.c:79:13: note: place parentheses around the assignment to silence this warning while (*s = *a++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathcat.c:79:13: note: use '==' to turn this assignment into an equality comparison while (*s = *a++) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathcat.c:96:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*s++ = *b++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathcat.c:96:17: note: place parentheses around the assignment to silence this warning } while (*s++ = *b++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathcat.c:96:17: note: use '==' to turn this assignment into an equality comparison } while (*s++ = *b++); ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathcanon.c /<>/ksh-93u+20120801/src/lib/libast/path/pathcanon.c:189:100: warning: '&&' within '||' [-Wlogical-op-parentheses] if (dots >= 4 && (flags & PATH_EXISTS) && (t - 1) >= v && (t > path + 1 || t > path && *(t - 1) && *(t - 1) != '/')) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathcanon.c:189:100: note: place parentheses around the '&&' expression to silence this warning if (dots >= 4 && (flags & PATH_EXISTS) && (t - 1) >= v && (t > path + 1 || t > path && *(t - 1) && *(t - 1) != '/')) ^ ( ) 1 warning generated. + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/time iffe: test: is sys/types.h a header ... yes iffe: test: is nanosleep a library function ... yes iffe: test: is usleep a library function ... yes iffe: test: is _strftime a library function ... no iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is clock_t a type or typedef ... yes iffe: test: is time_t a type or typedef ... yes iffe: test: is tm a type or typedef ... no iffe: test: is tm_sec a member of struct tm ... no iffe: test: is timeval a type or typedef ... no iffe: test: is tv_sec a member of struct timeval ... yes iffe: test: cat{ ... }end ... yes + cmp -s FEATURE/time ast_time.h + rm -f ast_time.h + silent test -d . + /bin/cp FEATURE/time ast_time.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathcheck.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathpath.c /<>/ksh-93u+20120801/src/lib/libast/path/pathpath.c:79:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] getcwd(buf, sizeof(buf)); ^~~~~~ ~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathpath.c:90:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (s = (char*)a) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathpath.c:90:13: note: place parentheses around the assignment to silence this warning else if (s = (char*)a) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathpath.c:90:13: note: use '==' to turn this assignment into an equality comparison else if (s = (char*)a) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathpath.c:114:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = pathaccess(path, p, a, mode, path, size)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathpath.c:114:13: note: place parentheses around the assignment to silence this warning if (s = pathaccess(path, p, a, mode, path, size)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathpath.c:114:13: note: use '==' to turn this assignment into an equality comparison if (s = pathaccess(path, p, a, mode, path, size)) ^ == 3 warnings generated. + cc -o lcgen /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:188:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t++ = *f++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:188:14: note: place parentheses around the assignment to silence this warning while (*t++ = *f++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:188:14: note: use '==' to turn this assignment into an equality comparison while (*t++ = *f++); ^ == /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:343:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = fgets(buf, sizeof(buf), stdin)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:343:11: note: place parentheses around the assignment to silence this warning while (s = fgets(buf, sizeof(buf), stdin)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:343:11: note: use '==' to turn this assignment into an equality comparison while (s = fgets(buf, sizeof(buf), stdin)) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:446:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = copy(&b, arg[2])) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:446:10: note: place parentheses around the assignment to silence this warning if (s = copy(&b, arg[2])) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:446:10: note: use '==' to turn this assignment into an equality comparison if (s = copy(&b, arg[2])) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:452:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *s) ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:452:12: note: place parentheses around the assignment to silence this warning if (c = *s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:452:12: note: use '==' to turn this assignment into an equality comparison if (c = *s) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:508:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = copy(&b, arg[4])) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:508:10: note: place parentheses around the assignment to silence this warning if (s = copy(&b, arg[4])) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lcgen.c:508:10: note: use '==' to turn this assignment into an equality comparison if (s = copy(&b, arg[4])) ^ == 5 warnings generated. + ./lcgen 25754.1 25754.2 + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv 25754.1 + rm -f 25754.1 + cmp -s 25754.3 lc.h + mv 25754.3 lc.h + cmp -s 25754.2 lctab.c + mv 25754.2 lctab.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathexists.c /<>/ksh-93u+20120801/src/lib/libast/path/pathexists.c:129:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!t->mode || c && (t->mode & PATH_REGULAR)) ~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathexists.c:129:21: note: place parentheses around the '&&' expression to silence this warning if (!t->mode || c && (t->mode & PATH_REGULAR)) ^ ( ) 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathfind.c /<>/ksh-93u+20120801/src/lib/libast/path/pathfind.c:155:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr((char*)lib, ':')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathfind.c:155:9: note: place parentheses around the assignment to silence this warning if (s = strrchr((char*)lib, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathfind.c:155:9: note: use '==' to turn this assignment into an equality comparison if (s = strrchr((char*)lib, ':')) ^ == 1 warning generated. + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/preroot.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/preroot.sh ... iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/preroot.sh ... yes + cmp -s FEATURE/preroot preroot.h + rm -f preroot.h + silent test -d . + /bin/cp FEATURE/preroot preroot.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:96:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (flags = strchr(path, ' ')) ~~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:96:13: note: place parentheses around the assignment to silence this warning if (flags = strchr(path, ' ')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:96:13: note: use '==' to turn this assignment into an equality comparison if (flags = strchr(path, ' ')) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:154:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = astconf("UNIVERSE", NiL, NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:154:9: note: place parentheses around the assignment to silence this warning if (k = astconf("UNIVERSE", NiL, NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:154:9: note: use '==' to turn this assignment into an equality comparison if (k = astconf("UNIVERSE", NiL, NiL)) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:258:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = env[c]) ~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:258:10: note: place parentheses around the assignment to silence this warning if (k = env[c]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:258:10: note: use '==' to turn this assignment into an equality comparison if (k = env[c]) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:276:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = env[c]) ~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:276:11: note: place parentheses around the assignment to silence this warning if (k = env[c]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathkey.c:276:11: note: use '==' to turn this assignment into an equality comparison if (k = env[c]) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -DHOSTTYPE="linux.i386-64" -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:84:77: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((vfs.f_flag & ST_NOSUID) && (stat(path, &st) || st.st_uid != getuid() && st.st_uid != geteuid())) ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:84:77: note: place parentheses around the '&&' expression to silence this warning if ((vfs.f_flag & ST_NOSUID) && (stat(path, &st) || st.st_uid != getuid() && st.st_uid != geteuid())) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:131:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strchr(proc, ' ')) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:131:9: note: place parentheses around the assignment to silence this warning if (p = strchr(proc, ' ')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:131:9: note: use '==' to turn this assignment into an equality comparison if (p = strchr(proc, ' ')) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:208:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if (op >= -1 && (!(st.st_mode & S_ISUID) && ps.st_uid != geteuid() || rofs(path))) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:208:43: note: place parentheses around the '&&' expression to silence this warning if (op >= -1 && (!(st.st_mode & S_ISUID) && ps.st_uid != geteuid() || rofs(path))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:224:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = sfopen(NiL, path, "r")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:224:11: note: place parentheses around the assignment to silence this warning if (sp = sfopen(NiL, path, "r")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:224:11: note: use '==' to turn this assignment into an equality comparison if (sp = sfopen(NiL, path, "r")) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = sfgetr(sp, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:226:11: note: place parentheses around the assignment to silence this warning if (x = sfgetr(sp, '\n', 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:226:11: note: use '==' to turn this assignment into an equality comparison if (x = sfgetr(sp, '\n', 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:232:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = *x++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:232:12: note: place parentheses around the assignment to silence this warning if (n = *x++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:232:12: note: use '==' to turn this assignment into an equality comparison if (n = *x++) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:255:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pp = procopen(proc, arg, NiL, ops, PROC_READ)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:255:16: note: place parentheses around the assignment to silence this warning if (pp = procopen(proc, arg, NiL, ops, PROC_READ)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathprobe.c:255:16: note: use '==' to turn this assignment into an equality comparison if (pp = procopen(proc, arg, NiL, ops, PROC_READ)) ^ == 7 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathrepl.c /<>/ksh-93u+20120801/src/lib/libast/path/pathrepl.c:75:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p < path) while (*p++ = *path++); ~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathrepl.c:75:31: note: place parentheses around the assignment to silence this warning if (p < path) while (*p++ = *path++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathrepl.c:75:31: note: use '==' to turn this assignment into an equality comparison if (p < path) while (*p++ = *path++); ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathnative.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathposix.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/tv iffe: test: is sys/types.h a header ... yes iffe: test: cat{ ... }end ... yes iffe: test: is sys/stat.h a header ... yes iffe: test: is _st_mtimespec.tv_nsec_stat an identifier ... no iffe: test: is stat a type or typedef ... no iffe: test: is st_mtimespec.tv_nsec a member of struct stat ... no iffe: test: is _st_mtim.st__tim.tv_nsec_stat an identifier ... no iffe: test: is st_mtim.st__tim.tv_nsec a member of struct stat ... no iffe: test: is _st_mtim.tv_nsec_stat an identifier ... no iffe: test: is st_mtim.tv_nsec a member of struct stat ... yes iffe: test: is ( !no_stat_nsec ) true ... yes iffe: test: cat{ ... }end ... yes + cmp -s FEATURE/tv tv.h + rm -f tv.h + silent test -d . + /bin/cp FEATURE/tv tv.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:185:30: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(d = (char*)dir) || *d && eaccess(d, W_OK|X_OK)) ~~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:185:30: note: place parentheses around the '&&' expression to silence this warning if (!(d = (char*)dir) || *d && eaccess(d, W_OK|X_OK)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:193:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:193:14: note: place parentheses around the assignment to silence this warning while (s = strchr(s, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:193:14: note: use '==' to turn this assignment into an equality comparison while (s = strchr(s, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:203:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (x = strchr(x, ':')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:203:14: note: place parentheses around the assignment to silence this warning while (x = strchr(x, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:203:14: note: use '==' to turn this assignment into an equality comparison while (x = strchr(x, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:242:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (buf && dir && (buf == (char*)dir && (buf + strlen(buf) + 1) == (char*)pfx || buf == (char*)pfx && !*dir) && !strcmp((char*)pfx + m + 1, "XXXXX")) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:242:39: note: place parentheses around the '&&' expression to silence this warning if (buf && dir && (buf == (char*)dir && (buf + strlen(buf) + 1) == (char*)pfx || buf == (char*)pfx && !*dir) && !strcmp((char*)pfx + m + 1, "XXXXX")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:242:101: warning: '&&' within '||' [-Wlogical-op-parentheses] if (buf && dir && (buf == (char*)dir && (buf + strlen(buf) + 1) == (char*)pfx || buf == (char*)pfx && !*dir) && !strcmp((char*)pfx + m + 1, "XXXXX")) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:242:101: note: place parentheses around the '&&' expression to silence this warning if (buf && dir && (buf == (char*)dir && (buf + strlen(buf) + 1) == (char*)pfx || buf == (char*)pfx && !*dir) && !strcmp((char*)pfx + m + 1, "XXXXX")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:291:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!tmp.rng || !tmp.seed && (attempt || tmp.pid != getpid())) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/path/pathtemp.c:291:29: note: place parentheses around the '&&' expression to silence this warning if (!tmp.rng || !tmp.seed && (attempt || tmp.pid != getpid())) ^ ( ) 6 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathtmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathstat.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathgetlink.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathsetlink.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathbin.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathshell.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathcd.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/prog iffe: test: is sys/types.h a header ... yes iffe: test: is getexecname a library function ... no iffe: test: is _NSGetExecutablePath a library function ... no iffe: test: run{ ... }end ... yes iffe: test: is mach-o/dyld.h a header ... no + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/path/pathprog.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/fs3d.c /<>/ksh-93u+20120801/src/lib/libast/misc/fs3d.c:63:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = strchr(val, ' ')) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fs3d.c:63:8: note: place parentheses around the assignment to silence this warning if (v = strchr(val, ' ')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fs3d.c:63:8: note: use '==' to turn this assignment into an equality comparison if (v = strchr(val, ' ')) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/ftwalk.c /<>/ksh-93u+20120801/src/lib/libast/misc/ftwalk.c:73:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (children = flags & FTW_CHILDREN) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/ftwalk.c:73:15: note: place parentheses around the assignment to silence this warning if (children = flags & FTW_CHILDREN) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/ftwalk.c:73:15: note: use '==' to turn this assignment into an equality comparison if (children = flags & FTW_CHILDREN) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/ftwalk.c:78:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!path || !(flags & FTS_ONEPATH) && !(path = (const char*)(*((char**)path)))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/ftwalk.c:78:39: note: place parentheses around the '&&' expression to silence this warning if (!path || !(flags & FTS_ONEPATH) && !(path = (const char*)(*((char**)path)))) ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/ftwflags.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idir -I/<>/ksh-93u+20120801/src/lib/libast/dir -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:606:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (path = *pathnames++) ~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:606:14: note: place parentheses around the assignment to silence this warning while (path = *pathnames++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:606:14: note: use '==' to turn this assignment into an equality comparison while (path = *pathnames++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:635:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*path++ = *s++); ~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:635:21: note: place parentheses around the assignment to silence this warning while (*path++ = *s++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:635:21: note: use '==' to turn this assignment into an equality comparison while (*path++ = *s++); ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:935:96: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((fts->diroot = search(f, fts->diroot, statcmp, 0)) != f || f->fts_level > 0 && (t = f) && statcmp(&t, &f->fts_parent) == 0) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:935:96: note: place parentheses around the '&&' expression to silence this warning if ((fts->diroot = search(f, fts->diroot, statcmp, 0)) != f || f->fts_level > 0 && (t = f) && statcmp(&t, &f->fts_parent) == 0) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1002:26: warning: '&&' within '||' [-Wlogical-op-parentheses] fts->cpname = fts->cd && !fts->nostat || !fts->children && !fts->comparf; ~~~~~~~~^~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1002:26: note: place parentheses around the '&&' expression to silence this warning fts->cpname = fts->cd && !fts->nostat || !fts->children && !fts->comparf; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1002:60: warning: '&&' within '||' [-Wlogical-op-parentheses] fts->cpname = fts->cd && !fts->nostat || !fts->children && !fts->comparf; ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1002:60: note: place parentheses around the '&&' expression to silence this warning fts->cpname = fts->cd && !fts->nostat || !fts->children && !fts->comparf; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1012:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (d = readdir(fts->dir)) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1012:13: note: place parentheses around the assignment to silence this warning while (d = readdir(fts->dir)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1012:13: note: use '==' to turn this assignment into an equality comparison while (d = readdir(fts->dir)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1088:44: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((fts->nostat || SKIP(fts, f)) && (f->fts_info = FTS_NSOK) || info(fts, f, s, &f->statb, fts->flags)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1088:44: note: place parentheses around the '&&' expression to silence this warning else if ((fts->nostat || SKIP(fts, f)) && (f->fts_info = FTS_NSOK) || info(fts, f, s, &f->statb, fts->flags)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1137:22: warning: '&&' within '||' [-Wlogical-op-parentheses] || fts->pwd && fts->pwd->symlink ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1137:22: note: place parentheses around the '&&' expression to silence this warning || fts->pwd && fts->pwd->symlink ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1492:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = fts_read(fts)) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1492:9: note: place parentheses around the assignment to silence this warning if (f = fts_read(fts)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fts.c:1492:9: note: use '==' to turn this assignment into an equality comparison if (f = fts_read(fts)) ^ == 9 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/astintercept.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:50:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = sfstropen()) ~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:50:9: note: place parentheses around the assignment to silence this warning if (sp = sfstropen()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:50:9: note: use '==' to turn this assignment into an equality comparison if (sp = sfstropen()) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:53:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*(m = astconf(conf[i], NiL, NiL)) && (h |= (1<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:53:42: note: place parentheses around the '&&' expression to silence this warning if (*(m = astconf(conf[i], NiL, NiL)) && (h |= (1<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:53:65: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*(m = astconf(conf[i], NiL, NiL)) && (h |= (1<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:53:65: note: place parentheses around the '&&' expression to silence this warning if (*(m = astconf(conf[i], NiL, NiL)) && (h |= (1<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:69:20: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (c > 3 && strneq(t, "bsd", 3) || c == 7 && strneq(t, "debian", 7)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:69:20: note: place parentheses around the '&&' expression to silence this warning else if (c > 3 && strneq(t, "bsd", 3) || c == 7 && strneq(t, "debian", 7)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:69:53: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (c > 3 && strneq(t, "bsd", 3) || c == 7 && strneq(t, "debian", 7)) ~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:69:53: note: place parentheses around the '&&' expression to silence this warning else if (c > 3 && strneq(t, "bsd", 3) || c == 7 && strneq(t, "debian", 7)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:79:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, char*, j, i)) ~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:79:9: note: place parentheses around the assignment to silence this warning if (p = newof(0, char*, j, i)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:79:9: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, char*, j, i)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:144:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (m = *q++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:144:12: note: place parentheses around the assignment to silence this warning while (m = *q++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/conformance.c:144:12: note: use '==' to turn this assignment into an equality comparison while (m = *q++) ^ == 7 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/getenv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/setenviron.c /<>/ksh-93u+20120801/src/lib/libast/misc/setenviron.c:99:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p = *v++) ~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/setenviron.c:99:14: note: place parentheses around the assignment to silence this warning while (*p = *v++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/setenviron.c:99:14: note: use '==' to turn this assignment into an equality comparison while (*p = *v++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/setenviron.c:118:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; s = *p; p++) ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/setenviron.c:118:11: note: place parentheses around the assignment to silence this warning for (; s = *p; p++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/setenviron.c:118:11: note: use '==' to turn this assignment into an equality comparison for (; s = *p; p++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/setenviron.c:130:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*v++ = *p++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/setenviron.c:130:19: note: place parentheses around the assignment to silence this warning while (*v++ = *p++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/setenviron.c:130:19: note: use '==' to turn this assignment into an equality comparison while (*v++ = *p++); ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:527:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (tsp = psp) ~~~~^~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:527:13: note: place parentheses around the assignment to silence this warning while (tsp = psp) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:527:13: note: use '==' to turn this assignment into an equality comparison while (tsp = psp) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:544:50: warning: '&&' within '||' [-Wlogical-op-parentheses] while (*s == '\t' || *s == '\r' || version >= 1 && *s == ' ') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:544:50: note: place parentheses around the '&&' expression to silence this warning while (*s == '\t' || *s == '\r' || version >= 1 && *s == ' ') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:600:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:600:16: note: place parentheses around the assignment to silence this warning else while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:600:16: note: use '==' to turn this assignment into an equality comparison else while (c = *s++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:733:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*x == '*' && !v++ || *x == '\a') ~~~~~~~~~~^~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:733:19: note: place parentheses around the '&&' expression to silence this warning if (*x == '*' && !v++ || *x == '\a') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:905:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = sfstruse(ip)) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:905:8: note: place parentheses around the assignment to silence this warning if (s = sfstruse(ip)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:905:8: note: use '==' to turn this assignment into an equality comparison if (s = sfstruse(ip)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:925:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state.msgdict = dtopen(&state.msgdisc, Dtset)) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:925:20: note: place parentheses around the assignment to silence this warning if (state.msgdict = dtopen(&state.msgdisc, Dtset)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:925:20: note: use '==' to turn this assignment into an equality comparison if (state.msgdict = dtopen(&state.msgdisc, Dtset)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1064:38: warning: '&&' within '||' [-Wlogical-op-parentheses] if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1064:38: note: place parentheses around the '&&' expression to silence this warning if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1064:95: warning: '&&' within '||' [-Wlogical-op-parentheses] if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1064:95: note: place parentheses around the '&&' expression to silence this warning if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1064:150: warning: '&&' within '||' [-Wlogical-op-parentheses] if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1064:150: note: place parentheses around the '&&' expression to silence this warning if (strneq(s - 1, "+NAME?", 6) && (s += 5) || strneq(s - 1, "+LIBRARY?", 9) && (s += 8) && (l = 1) || strneq(s - 1, "+PLUGIN?", 8) && (s += 7) && (l = 1)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1109:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = p->catalog) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1109:8: note: place parentheses around the assignment to silence this warning if (s = p->catalog) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1109:8: note: use '==' to turn this assignment into an equality comparison if (s = p->catalog) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1134:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (*t == '[') ^ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1156:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (a = (c = *s++) == ':') ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1156:10: note: place parentheses around the assignment to silence this warning if (a = (c = *s++) == ':') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1156:10: note: use '==' to turn this assignment into an equality comparison if (a = (c = *s++) == ':') ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1224:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tsp = newof(0, Push_t, 1, n + 1)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1224:10: note: place parentheses around the assignment to silence this warning if (tsp = newof(0, Push_t, 1, n + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1224:10: note: use '==' to turn this assignment into an equality comparison if (tsp = newof(0, Push_t, 1, n + 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1272:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tsp = newof(0, Push_t, 1, n + 1)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1272:10: note: place parentheses around the assignment to silence this warning if (tsp = newof(0, Push_t, 1, n + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1272:10: note: use '==' to turn this assignment into an equality comparison if (tsp = newof(0, Push_t, 1, n + 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1659:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = sfstruse(ip)) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1659:12: note: place parentheses around the assignment to silence this warning if (b = sfstruse(ip)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1659:12: note: use '==' to turn this assignment into an equality comparison if (b = sfstruse(ip)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1745:22: warning: '&&' within '||' [-Wlogical-op-parentheses] if (t[0] == 'p' && (!strncmp(t, "proprietary", 11) || !strncmp(t, "private", 7)) || t[0] == 'n' && !strncmp(t, "noncommercial", 13)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1745:22: note: place parentheses around the '&&' expression to silence this warning if (t[0] == 'p' && (!strncmp(t, "proprietary", 11) || !strncmp(t, "private", 7)) || t[0] == 'n' && !strncmp(t, "noncommercial", 13)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1745:102: warning: '&&' within '||' [-Wlogical-op-parentheses] if (t[0] == 'p' && (!strncmp(t, "proprietary", 11) || !strncmp(t, "private", 7)) || t[0] == 'n' && !strncmp(t, "noncommercial", 13)) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1745:102: note: place parentheses around the '&&' expression to silence this warning if (t[0] == 'p' && (!strncmp(t, "proprietary", 11) || !strncmp(t, "private", 7)) || t[0] == 'n' && !strncmp(t, "noncommercial", 13)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1774:37: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (style != STYLE_options && style != STYLE_match || *s == '-' || *s == '+') ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1774:37: note: place parentheses around the '&&' expression to silence this warning else if (style != STYLE_options && style != STYLE_match || *s == '-' || *s == '+') ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1851:74: warning: '&&' within '||' [-Wlogical-op-parentheses] if (level <= 1 || *s != '[' || *(s + 1) != '-' || style == STYLE_man && *(s + 2) == '?' || isalpha(*(s + 2))) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1851:74: note: place parentheses around the '&&' expression to silence this warning if (level <= 1 || *s != '[' || *(s + 1) != '-' || style == STYLE_man && *(s + 2) == '?' || isalpha(*(s + 2))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1900:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '+' || c == '-' && (bump = 3) || c != ' ' && level > 1) ~~ ~~~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1900:27: note: place parentheses around the '&&' expression to silence this warning if (c == '+' || c == '-' && (bump = 3) || c != ' ' && level > 1) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1900:53: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '+' || c == '-' && (bump = 3) || c != ' ' && level > 1) ~~ ~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1900:53: note: place parentheses around the '&&' expression to silence this warning if (c == '+' || c == '-' && (bump = 3) || c != ' ' && level > 1) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1903:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '-' && (*t == '?' || isdigit(*t) || *s == '?' && *(s + 1) == '\n')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1903:58: note: place parentheses around the '&&' expression to silence this warning if (c == '-' && (*t == '?' || isdigit(*t) || *s == '?' && *(s + 1) == '\n')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1941:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = sfstruse(ip)) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1941:12: note: place parentheses around the assignment to silence this warning if (w = sfstruse(ip)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1941:12: note: use '==' to turn this assignment into an equality comparison if (w = sfstruse(ip)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1962:66: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c == ']' || c == '?' && *(s + 1) == ']' && *(s + 2) != ']' && s++) && (c = *(s = next(s + 1, version))) == GO) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:1962:66: note: place parentheses around the '&&' expression to silence this warning if ((c == ']' || c == '?' && *(s + 1) == ']' && *(s + 2) != ']' && s++) && (c = *(s = next(s + 1, version))) == GO) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:2519:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = getenv("ERROR_OPTIONS")) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:2519:10: note: place parentheses around the assignment to silence this warning if (x = getenv("ERROR_OPTIONS")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:2519:10: note: use '==' to turn this assignment into an equality comparison if (x = getenv("ERROR_OPTIONS")) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:2641:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (a == 0 && (c == ' ' || c == '\n' && *p == '\n')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:2641:42: note: place parentheses around the '&&' expression to silence this warning if (a == 0 && (c == ' ' || c == '\n' && *p == '\n')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:2663:83: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((c == ':' || c == '#') && (*p == '[' || *p == '?' && *(p + 1) == '[' && p++)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:2663:83: note: place parentheses around the '&&' expression to silence this warning else if ((c == ':' || c == '#') && (*p == '[' || *p == '?' && *(p + 1) == '[' && p++)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:2988:87: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*(p + 1) == '?' || *(s = skip(p + 1, ':', '?', 0, 1, 0, 0, version)) == '?' && isspace(*(s + 1))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:2988:87: note: place parentheses around the '&&' expression to silence this warning if (*(p + 1) == '?' || *(s = skip(p + 1, ':', '?', 0, 1, 0, 0, version)) == '?' && isspace(*(s + 1))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3076:68: warning: '&&' within '||' [-Wlogical-op-parentheses] if (sl || (p - s) == 1 || *(s + 1) == '=' || *(s + 1) == '!' && (a |= OPT_invert) || *(s + 1) == '|') ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3076:68: note: place parentheses around the '&&' expression to silence this warning if (sl || (p - s) == 1 || *(s + 1) == '=' || *(s + 1) == '!' && (a |= OPT_invert) || *(s + 1) == '|') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3110:62: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!wl || *w == ':' || *w == '?') && (what[1] || sl && !memchr(s, what[0], sl) || !sl && what[0] != f)) ~~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3110:62: note: place parentheses around the '&&' expression to silence this warning if ((!wl || *w == ':' || *w == '?') && (what[1] || sl && !memchr(s, what[0], sl) || !sl && what[0] != f)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3110:96: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!wl || *w == ':' || *w == '?') && (what[1] || sl && !memchr(s, what[0], sl) || !sl && what[0] != f)) ~~ ~~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3110:96: note: place parentheses around the '&&' expression to silence this warning if ((!wl || *w == ':' || *w == '?') && (what[1] || sl && !memchr(s, what[0], sl) || !sl && what[0] != f)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3186:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*p == ':' && (a |= OPT_string) || *p == '#' && (a |= OPT_number)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3186:18: note: place parentheses around the '&&' expression to silence this warning if (*p == ':' && (a |= OPT_string) || *p == '#' && (a |= OPT_number)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3186:52: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*p == ':' && (a |= OPT_string) || *p == '#' && (a |= OPT_number)) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3186:52: note: place parentheses around the '&&' expression to silence this warning if (*p == ':' && (a |= OPT_string) || *p == '#' && (a |= OPT_number)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3235:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (style <= STYLE_short && !y && !mutex || style == STYLE_posix) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3235:36: note: place parentheses around the '&&' expression to silence this warning if (style <= STYLE_short && !y && !mutex || style == STYLE_posix) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3332:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = (a & ~m) | mode) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3332:14: note: place parentheses around the assignment to silence this warning if (m = (a & ~m) | mode) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3332:14: note: use '==' to turn this assignment into an equality comparison if (m = (a & ~m) | mode) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3531:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = o->release) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3531:9: note: place parentheses around the assignment to silence this warning if (s = o->release) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3531:9: note: use '==' to turn this assignment into an equality comparison if (s = o->release) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3626:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), (char*)what)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3626:11: note: place parentheses around the assignment to silence this warning if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), (char*)what)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3626:11: note: use '==' to turn this assignment into an equality comparison if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), (char*)what)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3676:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (t = strchr(u, ':')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3676:15: note: place parentheses around the assignment to silence this warning else if (t = strchr(u, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3676:15: note: use '==' to turn this assignment into an equality comparison else if (t = strchr(u, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3766:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *p++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3766:12: note: place parentheses around the assignment to silence this warning while (c = *p++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3766:12: note: use '==' to turn this assignment into an equality comparison while (c = *p++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3780:77: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((style == STYLE_man || style == STYLE_html) && (!head || *p != ' ' && *p != '\t')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3780:77: note: place parentheses around the '&&' expression to silence this warning if ((style == STYLE_man || style == STYLE_html) && (!head || *p != ' ' && *p != '\t')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3789:68: warning: '&&' within '||' [-Wlogical-op-parentheses] if (style == STYLE_html && (*p != '<' || !strneq(p, "
", 4) && !strneq(p, "

", 3))) ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3789:68: note: place parentheses around the '&&' expression to silence this warning if (style == STYLE_html && (*p != '<' || !strneq(p, "
", 4) && !strneq(p, "

", 3))) ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3972:82: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*y++ == 't' && *y++ == 't' && *y++ == 'p' && (*y == ':' || *y++ == 's' && *y == ':') && *y++ == ':' && *y++ == '/' && *y++ == '/') ~~ ~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:3972:82: note: place parentheses around the '&&' expression to silence this warning if (*y++ == 't' && *y++ == 't' && *y++ == 'p' && (*y == ':' || *y++ == 's' && *y == ':') && *y++ == ':' && *y++ == '/' && *y++ == '/') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4137:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!p || !(mp = state.mp) && !(mp = state.mp = sfstropen())) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4137:29: note: place parentheses around the '&&' expression to silence this warning if (!p || !(mp = state.mp) && !(mp = state.mp = sfstropen())) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4168:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (p = sfstruse(tp)) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4168:15: note: place parentheses around the assignment to silence this warning else if (p = sfstruse(tp)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4168:15: note: use '==' to turn this assignment into an equality comparison else if (p = sfstruse(tp)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4189:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (opt_info.option[0] != '?' && opt_info.option[0] != '-' || opt_info.option[1] != '?' && opt_info.option[1] != '-') ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4189:33: note: place parentheses around the '&&' expression to silence this warning if (opt_info.option[0] != '?' && opt_info.option[0] != '-' || opt_info.option[1] != '?' && opt_info.option[1] != '-') ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4189:91: warning: '&&' within '||' [-Wlogical-op-parentheses] if (opt_info.option[0] != '?' && opt_info.option[0] != '-' || opt_info.option[1] != '?' && opt_info.option[1] != '-') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4189:91: note: place parentheses around the '&&' expression to silence this warning if (opt_info.option[0] != '?' && opt_info.option[0] != '-' || opt_info.option[1] != '?' && opt_info.option[1] != '-') ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4197:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (opt_info.arg = sfstruse(mp)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4197:19: note: place parentheses around the assignment to silence this warning if (opt_info.arg = sfstruse(mp)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4197:19: note: use '==' to turn this assignment into an equality comparison if (opt_info.arg = sfstruse(mp)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4357:52: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(xp = state.xp) || (catalog = pass->catalog) && !X(catalog)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4357:52: note: place parentheses around the '&&' expression to silence this warning if (!(xp = state.xp) || (catalog = pass->catalog) && !X(catalog)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4413:73: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((c = *s++) != '-' && (c != '+' || !(pass->flags & OPT_plus) && (!(pass->flags & OPT_numeric) || !isdigit(*s)))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4413:73: note: place parentheses around the '&&' expression to silence this warning else if ((c = *s++) != '-' && (c != '+' || !(pass->flags & OPT_plus) && (!(pass->flags & OPT_numeric) || !isdigit(*s)))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4518:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = argv[opt_info.index][opt_info.offset++]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4518:9: note: place parentheses around the assignment to silence this warning if (c = argv[opt_info.index][opt_info.offset++]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4518:9: note: use '==' to turn this assignment into an equality comparison if (c = argv[opt_info.index][opt_info.offset++]) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4589:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = cache->flags[map[c]]) ~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4589:11: note: place parentheses around the assignment to silence this warning if (k = cache->flags[map[c]]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4589:11: note: use '==' to turn this assignment into an equality comparison if (k = cache->flags[map[c]]) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4631:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (opt_info.arg = argv[opt_info.index]) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4631:28: note: place parentheses around the assignment to silence this warning else if (opt_info.arg = argv[opt_info.index]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4631:28: note: use '==' to turn this assignment into an equality comparison else if (opt_info.arg = argv[opt_info.index]) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4634:89: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((k & OPT_cache_optional) && (*opt_info.arg == '-' || (pass->flags & OPT_plus) && *opt_info.arg == '+') && *(opt_info.arg + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4634:89: note: place parentheses around the '&&' expression to silence this warning if ((k & OPT_cache_optional) && (*opt_info.arg == '-' || (pass->flags & OPT_plus) && *opt_info.arg == '+') && *(opt_info.arg + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4673:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (cache = newof(0, Optcache_t, 1, 0)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4673:19: note: place parentheses around the assignment to silence this warning else if (cache = newof(0, Optcache_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4673:19: note: use '==' to turn this assignment into an equality comparison else if (cache = newof(0, Optcache_t, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4771:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(f, ':')) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4771:14: note: place parentheses around the assignment to silence this warning if (s = strrchr(f, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4771:14: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(f, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4827:38: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*s == *w || SEP(*s) && SEP(*w)) ~~ ~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4827:38: note: place parentheses around the '&&' expression to silence this warning else if (*s == *w || SEP(*s) && SEP(*w)) ~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4841:64: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4841:64: note: place parentheses around the '&&' expression to silence this warning else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4856:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = no) ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4856:14: note: place parentheses around the assignment to silence this warning if (n = no) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4856:14: note: use '==' to turn this assignment into an equality comparison if (n = no) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4884:39: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*s == *w || SEP(*s) && SEP(*w)) ~~ ~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4884:39: note: place parentheses around the '&&' expression to silence this warning else if (*s == *w || SEP(*s) && SEP(*w)) ~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4898:65: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4898:65: note: place parentheses around the '&&' expression to silence this warning else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4933:52: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*(f + 1) == ':' || *(f + 1) == '!' && *(f + 2) == ':') ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:4933:52: note: place parentheses around the '&&' expression to silence this warning else if (*(f + 1) == ':' || *(f + 1) == '!' && *(f + 2) == ':') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5158:51: warning: '&&' within '||' [-Wlogical-op-parentheses] if (v && (a == 0 || *a == 0 || *(a + 1) != ':' && *(a + 1) != '#') && (*v == '0' || *v == '1') && !*(v + 1)) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5158:51: note: place parentheses around the '&&' expression to silence this warning if (v && (a == 0 || *a == 0 || *(a + 1) != ':' && *(a + 1) != '#') && (*v == '0' || *v == '1') && !*(v + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5188:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), w)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5188:11: note: place parentheses around the assignment to silence this warning if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), w)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5188:11: note: use '==' to turn this assignment into an equality comparison if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), w)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5217:55: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((n = *++s == '#') || *s == ':' || w && !nov && v && (optnumber(v, &e, NiL), n = !*e)) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5217:55: note: place parentheses around the '&&' expression to silence this warning if ((n = *++s == '#') || *s == ':' || w && !nov && v && (optnumber(v, &e, NiL), n = !*e)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5237:57: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(opt_info.arg = v) || (*v == '0' || *v == '1') && !*(v + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5237:57: note: place parentheses around the '&&' expression to silence this warning if (!(opt_info.arg = v) || (*v == '0' || *v == '1') && !*(v + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5305:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (opt_info.arg = argv[opt_info.index]) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5305:25: note: place parentheses around the assignment to silence this warning else if (opt_info.arg = argv[opt_info.index]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5305:25: note: use '==' to turn this assignment into an equality comparison else if (opt_info.arg = argv[opt_info.index]) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5308:77: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*(s + 1) == '?' && (*opt_info.arg == '-' || (pass->flags & OPT_plus) && *opt_info.arg == '+') && *(opt_info.arg + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5308:77: note: place parentheses around the '&&' expression to silence this warning if (*(s + 1) == '?' && (*opt_info.arg == '-' || (pass->flags & OPT_plus) && *opt_info.arg == '+') && *(opt_info.arg + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5409:39: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*s == *w || SEP(*s) && SEP(*w)) ~~ ~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5409:39: note: place parentheses around the '&&' expression to silence this warning else if (*s == *w || SEP(*s) && SEP(*w)) ~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5423:65: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5423:65: note: place parentheses around the '&&' expression to silence this warning else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5456:53: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*(f + 1) == ':' || *(f + 1) == '!' && *(f + 2) == ':') ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5456:53: note: place parentheses around the '&&' expression to silence this warning else if (*(f + 1) == ':' || *(f + 1) == '!' && *(f + 2) == ':') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5515:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), s)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5515:10: note: place parentheses around the assignment to silence this warning if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), s)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5515:10: note: use '==' to turn this assignment into an equality comparison if (hp = (Help_t*)search(styles, elementsof(styles), sizeof(styles[0]), s)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5667:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *++s) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5667:14: note: place parentheses around the assignment to silence this warning while (c = *++s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5667:14: note: use '==' to turn this assignment into an equality comparison while (c = *++s) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5745:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*e++ = *s++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5745:16: note: place parentheses around the assignment to silence this warning while (*e++ = *s++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optget.c:5745:16: note: use '==' to turn this assignment into an equality comparison while (*e++ = *s++); ^ == 73 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/optjoin.c /<>/ksh-93u+20120801/src/lib/libast/misc/optjoin.c:72:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (fun = va_arg(ap, Optpass_f)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optjoin.c:72:14: note: place parentheses around the assignment to silence this warning while (fun = va_arg(ap, Optpass_f)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optjoin.c:72:14: note: use '==' to turn this assignment into an equality comparison while (fun = va_arg(ap, Optpass_f)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optjoin.c:102:98: warning: '&&' within '||' [-Wlogical-op-parentheses] if (opt_info.again > 0 && (!err || err_index < opt_info.index || err_index == opt_info.index && err_offset < opt_info.offset)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optjoin.c:102:98: note: place parentheses around the '&&' expression to silence this warning if (opt_info.again > 0 && (!err || err_index < opt_info.index || err_index == opt_info.index && err_offset < opt_info.offset)) ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/optesc.c /<>/ksh-93u+20120801/src/lib/libast/misc/optesc.c:51:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optesc.c:51:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optesc.c:51:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/optesc.c:67:21: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (c == '-' && *s == '-' || c == '<') ~~~~~~~~~^~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optesc.c:67:21: note: place parentheses around the '&&' expression to silence this warning else if (c == '-' && *s == '-' || c == '<') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optesc.c:76:17: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '<' && *s == '>' || isspace(*s) || *s == 0 || *s == '=' || *s == ':' || *s == ';' || *s == '.' || *s == ',') ~~~~~~~~~^~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optesc.c:76:17: note: place parentheses around the '&&' expression to silence this warning if (c == '<' && *s == '>' || isspace(*s) || *s == 0 || *s == '=' || *s == ':' || *s == ';' || *s == '.' || *s == ',') ^ ( ) 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/optctx.c /<>/ksh-93u+20120801/src/lib/libast/misc/optctx.c:62:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (o = freecontext) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/optctx.c:62:9: note: place parentheses around the assignment to silence this warning if (o = freecontext) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/optctx.c:62:9: note: use '==' to turn this assignment into an equality comparison if (o = freecontext) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strsort.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/struniq.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:42: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:42: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:42: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:42: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:42: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:337:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getdata(mp, n, 1)) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:337:11: note: place parentheses around the assignment to silence this warning if (p = getdata(mp, n, 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:337:11: note: use '==' to turn this assignment into an equality comparison if (p = getdata(mp, n, 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:345:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getdata(mp, n, 2)) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:345:11: note: place parentheses around the assignment to silence this warning if (p = getdata(mp, n, 2)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:345:11: note: use '==' to turn this assignment into an equality comparison if (p = getdata(mp, n, 2)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:353:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getdata(mp, n, 8)) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:353:11: note: place parentheses around the assignment to silence this warning if (p = getdata(mp, n, 8)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:353:11: note: use '==' to turn this assignment into an equality comparison if (p = getdata(mp, n, 8)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:361:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getdata(mp, n, 4)) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:361:11: note: place parentheses around the assignment to silence this warning if (p = getdata(mp, n, 4)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:361:11: note: use '==' to turn this assignment into an equality comparison if (p = getdata(mp, n, 4)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:620:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (base = strrchr(file, '/')) ~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:620:15: note: place parentheses around the assignment to silence this warning if (base = strrchr(file, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:620:15: note: use '==' to turn this assignment into an equality comparison if (base = strrchr(file, '/')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:745:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mask = ep->mask) ~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:745:12: note: place parentheses around the assignment to silence this warning if (mask = ep->mask) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:745:12: note: use '==' to turn this assignment into an equality comparison if (mask = ep->mask) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:998:10: warning: '&&' within '||' [-Wlogical-op-parentheses] if (all && b-- || mp->keep[level] && b > cur) ~~~~^~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:998:10: note: place parentheses around the '&&' expression to silence this warning if (all && b-- || mp->keep[level] && b > cur) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:998:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (all && b-- || mp->keep[level] && b > cur) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:998:36: note: place parentheses around the '&&' expression to silence this warning if (all && b-- || mp->keep[level] && b > cur) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1101:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strrchr(s, '/')) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1101:11: note: place parentheses around the assignment to silence this warning if (t = strrchr(s, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1101:11: note: use '==' to turn this assignment into an equality comparison if (t = strrchr(s, '/')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1144:41: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == q && (q != '*' || *b == '/' && b++)) ~~ ~~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1144:41: note: place parentheses around the '&&' expression to silence this warning if (c == q && (q != '*' || *b == '/' && b++)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1188:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mp->idtab = dtnew(mp->vm, &mp->dtdisc, Dtset)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1188:23: note: place parentheses around the assignment to silence this warning if (mp->idtab = dtnew(mp->vm, &mp->dtdisc, Dtset)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1188:23: note: use '==' to turn this assignment into an equality comparison if (mp->idtab = dtnew(mp->vm, &mp->dtdisc, Dtset)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1198:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ip = (Info_t*)dtmatch(mp->idtab, s)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1198:16: note: place parentheses around the assignment to silence this warning if (ip = (Info_t*)dtmatch(mp->idtab, s)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1198:16: note: use '==' to turn this assignment into an equality comparison if (ip = (Info_t*)dtmatch(mp->idtab, s)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1304:76: warning: '&&' within '||' [-Wlogical-op-parentheses] if (match(base, "*@(makefile|.mk)") || mp->multi['\t'] >= mp->count[':'] && (mp->multi['$'] > 0 || mp->multi[':'] > 0)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1304:76: note: place parentheses around the '&&' expression to silence this warning if (match(base, "*@(makefile|.mk)") || mp->multi['\t'] >= mp->count[':'] && (mp->multi['$'] > 0 || mp->multi[':'] > 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1323:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (mp->fbsz < SF_BUFSIZE && ~~~~~~~~~~~~~~~~~~~~~~^~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1323:29: note: place parentheses around the '&&' expression to silence this warning if (mp->fbsz < SF_BUFSIZE && ^ ( /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1327:30: warning: '&&' within '||' [-Wlogical-op-parentheses] mp->fbsz >= SF_BUFSIZE && ~~~~~~~~~~~~~~~~~~~~~~~^~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1327:30: note: place parentheses around the '&&' expression to silence this warning mp->fbsz >= SF_BUFSIZE && ^ ( /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1333:81: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c >= 2 && mp->identifier[ID_INCL2] >= c && mp->identifier[ID_INCL3] >= c && mp->count['.'] >= c || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1333:81: note: place parentheses around the '&&' expression to silence this warning if (c >= 2 && mp->identifier[ID_INCL2] >= c && mp->identifier[ID_INCL3] >= c && mp->count['.'] >= c || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1334:34: warning: '&&' within '||' [-Wlogical-op-parentheses] mp->identifier[ID_C] >= 5 && mp->count[';'] >= 5 || ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1334:34: note: place parentheses around the '&&' expression to silence this warning mp->identifier[ID_C] >= 5 && mp->count[';'] >= 5 || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1335:29: warning: '&&' within '||' [-Wlogical-op-parentheses] mp->count['='] >= 20 && mp->count[';'] >= 20) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1335:29: note: place parentheses around the '&&' expression to silence this warning mp->count['='] >= 20 && mp->count[';'] >= 20) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1377:30: warning: '&&' within '||' [-Wlogical-op-parentheses] (mp->fbsz < SF_BUFSIZE && mp->identifier[ID_MAM1] == mp->identifier[ID_MAM2] || ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1377:30: note: place parentheses around the '&&' expression to silence this warning (mp->fbsz < SF_BUFSIZE && mp->identifier[ID_MAM1] == mp->identifier[ID_MAM2] || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1378:31: warning: '&&' within '||' [-Wlogical-op-parentheses] mp->fbsz >= SF_BUFSIZE && mp->identifier[ID_MAM1] >= mp->identifier[ID_MAM2])) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1378:31: note: place parentheses around the '&&' expression to silence this warning mp->fbsz >= SF_BUFSIZE && mp->identifier[ID_MAM1] >= mp->identifier[ID_MAM2])) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1693:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = sfgetr(fp, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1693:11: note: place parentheses around the assignment to silence this warning while (p = sfgetr(fp, '\n', 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1693:11: note: use '==' to turn this assignment into an equality comparison while (p = sfgetr(fp, '\n', 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1737:82: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*(p + 1) == '{' || *(p + 1) == '(' && *p != '+' && *p != '>' && *p != '&' && *p != '|') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1737:82: note: place parentheses around the '&&' expression to silence this warning if (*(p + 1) == '{' || *(p + 1) == '(' && *p != '+' && *p != '>' && *p != '&' && *p != '|') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1930:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strchr(p, '&')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1930:9: note: place parentheses around the assignment to silence this warning if (p = strchr(p, '&')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1930:9: note: use '==' to turn this assignment into an equality comparison if (p = strchr(p, '&')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1947:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p2 = strchr(p, '\t')) ~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1947:10: note: place parentheses around the assignment to silence this warning if (p2 = strchr(p, '\t')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:1947:10: note: use '==' to turn this assignment into an equality comparison if (p2 = strchr(p, '\t')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2063:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2063:23: note: place parentheses around the assignment to silence this warning if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2063:23: note: use '==' to turn this assignment into an equality comparison if (ep->value.sub = vmnewof(mp->vm, 0, regex_t, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2160:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strchr(p2, '\t')) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2160:10: note: place parentheses around the assignment to silence this warning if (p = strchr(p2, '\t')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2160:10: note: use '==' to turn this assignment into an equality comparison if (p = strchr(p2, '\t')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2176:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strchr(p2, '\t')) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2176:14: note: place parentheses around the assignment to silence this warning if (p = strchr(p2, '\t')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2176:14: note: use '==' to turn this assignment into an equality comparison if (p = strchr(p2, '\t')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2242:67: warning: '&&' within '||' [-Wlogical-op-parentheses] if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2242:67: note: place parentheses around the '&&' expression to silence this warning if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2242:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2242:11: note: place parentheses around the assignment to silence this warning if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2242:11: note: use '==' to turn this assignment into an equality comparison if (list = !(s = (char*)file) || !*s || (*s == '-' || *s == '.') && !*(s + 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2251:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (e = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2251:14: note: place parentheses around the assignment to silence this warning else if (e = strchr(s, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2251:14: note: use '==' to turn this assignment into an equality comparison else if (e = strchr(s, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2407:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mp->fp = fp) ~~~~~~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2407:14: note: place parentheses around the assignment to silence this warning if (mp->fp = fp) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/magic.c:2407:14: note: use '==' to turn this assignment into an equality comparison if (mp->fp = fp) ^ == 34 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making magic.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:111:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (att = cap->att.next) ~~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:111:13: note: place parentheses around the assignment to silence this warning while (att = cap->att.next) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:111:13: note: use '==' to turn this assignment into an equality comparison while (att = cap->att.next) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:129:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cap = ent->cap) ~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:129:13: note: place parentheses around the assignment to silence this warning while (cap = ent->cap) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:129:13: note: use '==' to turn this assignment into an equality comparison while (cap = ent->cap) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:159:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isspace(*v) || *v == '/' && *(v + 1) == '*') ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:159:33: note: place parentheses around the '&&' expression to silence this warning if (isspace(*v) || *v == '/' && *(v + 1) == '*') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:249:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test)) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:249:21: note: place parentheses around the '&&' expression to silence this warning if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:249:61: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:249:61: note: place parentheses around the '&&' expression to silence this warning if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test)) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:304:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (e = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:304:14: note: place parentheses around the assignment to silence this warning else if (e = strchr(s, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:304:14: note: use '==' to turn this assignment into an equality comparison else if (e = strchr(s, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:320:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = tokline(s, SF_READ, NiL)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:320:10: note: place parentheses around the assignment to silence this warning if (fp = tokline(s, SF_READ, NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:320:10: note: use '==' to turn this assignment into an equality comparison if (fp = tokline(s, SF_READ, NiL)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:322:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (t = sfgetr(fp, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:322:13: note: place parentheses around the assignment to silence this warning while (t = sfgetr(fp, '\n', 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:322:13: note: use '==' to turn this assignment into an equality comparison while (t = sfgetr(fp, '\n', 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:348:71: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!wp->pattern || !strncasecmp(ent->name, wp->pattern, wp->prefix) && (!ent->name[wp->prefix] || ent->name[wp->prefix] == '/')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:348:71: note: place parentheses around the '&&' expression to silence this warning if (!wp->pattern || !strncasecmp(ent->name, wp->pattern, wp->prefix) && (!ent->name[wp->prefix] || ent->name[wp->prefix] == '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:417:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ent = (Ent_t*)dtmatch(mp->cap, s)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:417:13: note: place parentheses around the assignment to silence this warning if (ent = (Ent_t*)dtmatch(mp->cap, s)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:417:13: note: use '==' to turn this assignment into an equality comparison if (ent = (Ent_t*)dtmatch(mp->cap, s)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:425:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ent = (Ent_t*)dtmatch(mp->cap, s)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:425:14: note: place parentheses around the assignment to silence this warning if (ent = (Ent_t*)dtmatch(mp->cap, s)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:425:14: note: use '==' to turn this assignment into an equality comparison if (ent = (Ent_t*)dtmatch(mp->cap, s)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:450:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ws.pattern = pattern) ~~~~~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:450:17: note: place parentheses around the assignment to silence this warning if (ws.pattern = pattern) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:450:17: note: use '==' to turn this assignment into an equality comparison if (ws.pattern = pattern) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:453:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*pattern || *pattern == '*' && !*(pattern + 1)) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:453:36: note: place parentheses around the '&&' expression to silence this warning if (!*pattern || *pattern == '*' && !*(pattern + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:455:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ent = find(mp, ws.pattern)) ~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:455:16: note: place parentheses around the assignment to silence this warning else if (ent = find(mp, ws.pattern)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:455:16: note: use '==' to turn this assignment into an equality comparison else if (ent = find(mp, ws.pattern)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:568:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = *s++) == '{' && (e = '}') || c == '(' && (e = ')')) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:568:26: note: place parentheses around the '&&' expression to silence this warning if ((c = *s++) == '{' && (e = '}') || c == '(' && (e = ')')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:568:51: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = *s++) == '{' && (e = '}') || c == '(' && (e = ')')) ~~ ~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:568:51: note: place parentheses around the '&&' expression to silence this warning if ((c = *s++) == '{' && (e = '}') || c == '(' && (e = ')')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:580:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *s) ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:580:12: note: place parentheses around the assignment to silence this warning if (c = *s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:580:12: note: use '==' to turn this assignment into an equality comparison if (c = *s) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:642:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ent = find(mp, type)) ~~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:642:10: note: place parentheses around the assignment to silence this warning if (ent = find(mp, type)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:642:10: note: use '==' to turn this assignment into an equality comparison if (ent = find(mp, type)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:646:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = cap->test) ~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:646:13: note: place parentheses around the assignment to silence this warning while (s = cap->test) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:646:13: note: use '==' to turn this assignment into an equality comparison while (s = cap->test) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:648:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = expand(mp, s, name, type, opts)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:648:11: note: place parentheses around the assignment to silence this warning if (s = expand(mp, s, name, type, opts)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:648:11: note: use '==' to turn this assignment into an equality comparison if (s = expand(mp, s, name, type, opts)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:666:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (a1.name.size == 6 && strneq(a1.name.data, "strcmp", 6) || a1.name.size == 10 && strneq(a1.name.data, "strcasecmp", 10)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:666:29: note: place parentheses around the '&&' expression to silence this warning if (a1.name.size == 6 && strneq(a1.name.data, "strcmp", 6) || a1.name.size == 10 && strneq(a1.name.data, "strcasecmp", 10)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:666:88: warning: '&&' within '||' [-Wlogical-op-parentheses] if (a1.name.size == 6 && strneq(a1.name.data, "strcmp", 6) || a1.name.size == 10 && strneq(a1.name.data, "strcasecmp", 10)) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:666:88: note: place parentheses around the '&&' expression to silence this warning if (a1.name.size == 6 && strneq(a1.name.data, "strcmp", 6) || a1.name.size == 10 && strneq(a1.name.data, "strcasecmp", 10)) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:686:67: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!arg(&a2, -1) || a2.name.size > 2 || a2.name.size == 1 && *a2.name.data != '=' || a2.name.size == 2 && (!strneq(a1.name.data, "!=", 2) || !strneq(a2.name.data, "==", 2))) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:686:67: note: place parentheses around the '&&' expression to silence this warning if (!arg(&a2, -1) || a2.name.size > 2 || a2.name.size == 1 && *a2.name.data != '=' || a2.name.size == 2 && (!strneq(a1.name.data, "!=", 2) || !strneq(a2.name.data, "==", 2))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:686:112: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!arg(&a2, -1) || a2.name.size > 2 || a2.name.size == 1 && *a2.name.data != '=' || a2.name.size == 2 && (!strneq(a1.name.data, "!=", 2) || !strneq(a2.name.data, "==", 2))) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:686:112: note: place parentheses around the '&&' expression to silence this warning if (!arg(&a2, -1) || a2.name.size > 2 || a2.name.size == 1 && *a2.name.data != '=' || a2.name.size == 2 && (!strneq(a1.name.data, "!=", 2) || !strneq(a2.name.data, "==", 2))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:745:33: warning: '&&' within '||' [-Wlogical-op-parentheses] while (isalnum(*v) || *v == *s && (*v == '_' || *v == '-' || *v == '/')) ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:745:33: note: place parentheses around the '&&' expression to silence this warning while (isalnum(*v) || *v == *s && (*v == '_' || *v == '-' || *v == '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:746:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = lower(*s++) - lower(*v++)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:746:9: note: place parentheses around the assignment to silence this warning if (n = lower(*s++) - lower(*v++)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/mime.c:746:9: note: use '==' to turn this assignment into an equality comparison if (n = lower(*s++) - lower(*v++)) ^ == 26 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/mimetype.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/sig.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/sig.sh ... iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/sig.sh ... yes + cmp -s FEATURE/sig sig.h + rm -f sig.h + silent test -d . + /bin/cp FEATURE/sig sig.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/signal.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/sigflag.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/systrace.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -DERROR_CATALOG="libast" -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/error.c In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:45: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:45: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:45: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:45: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:45: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:277:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *name++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:277:12: note: place parentheses around the assignment to silence this warning while (c = *name++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:277:12: note: use '==' to turn this assignment into an equality comparison while (c = *name++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:335:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = sfgetr(error_state.tty, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:335:9: note: place parentheses around the assignment to silence this warning if (s = sfgetr(error_state.tty, '\n', 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:335:9: note: use '==' to turn this assignment into an equality comparison if (s = sfgetr(error_state.tty, '\n', 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:416:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (level < error_info.trace || (flags & ERROR_LIBRARY) && !(((error_info.set | error_info.flags) ^ error_info.clear) & ERROR_LIBRARY) || level < 0 && error_info.mask && !(error_info.mask & (1<<(-level - 1)))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:416:58: note: place parentheses around the '&&' expression to silence this warning if (level < error_info.trace || (flags & ERROR_LIBRARY) && !(((error_info.set | error_info.flags) ^ error_info.clear) & ERROR_LIBRARY) || level < 0 && error_info.mask && !(error_info.mask & (1<<(-level - 1)))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:416:169: warning: '&&' within '||' [-Wlogical-op-parentheses] if (level < error_info.trace || (flags & ERROR_LIBRARY) && !(((error_info.set | error_info.flags) ^ error_info.clear) & ERROR_LIBRARY) || level < 0 && error_info.mask && !(error_info.mask & (1<<(-level - 1)))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:416:169: note: place parentheses around the '&&' expression to silence this warning if (level < error_info.trace || (flags & ERROR_LIBRARY) && !(((error_info.set | error_info.flags) ^ error_info.clear) & ERROR_LIBRARY) || level < 0 && error_info.mask && !(error_info.mask & (1<<(-level - 1)))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:435:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (off = stktell(stkstd)) ~~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:435:11: note: place parentheses around the assignment to silence this warning if (off = stktell(stkstd)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:435:11: note: use '==' to turn this assignment into an equality comparison if (off = stktell(stkstd)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:446:30: warning: '&&' within '||' [-Wlogical-op-parentheses] if (file || opt_info.argv && (file = opt_info.argv[0])) ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:446:30: note: place parentheses around the '&&' expression to silence this warning if (file || opt_info.argv && (file = opt_info.argv[0])) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:563:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = memchr(s, '\f', n)) ~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:563:10: note: place parentheses around the assignment to silence this warning if (t = memchr(s, '\f', n)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:563:10: note: use '==' to turn this assignment into an equality comparison if (t = memchr(s, '\f', n)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:642:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = freecontext) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:642:10: note: place parentheses around the assignment to silence this warning if (p = freecontext) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/error.c:642:10: note: use '==' to turn this assignment into an equality comparison if (p = freecontext) ^ == 11 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making error.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/errorf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/errormsg.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/errorx.c /<>/ksh-93u+20120801/src/lib/libast/misc/errorx.c:46:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = (*error_info.translate)(loc, cmd, cat, msg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/errorx.c:46:9: note: place parentheses around the assignment to silence this warning if (s = (*error_info.translate)(loc, cmd, cat, msg)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/errorx.c:46:9: note: use '==' to turn this assignment into an equality comparison if (s = (*error_info.translate)(loc, cmd, cat, msg)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/localeconv.c + cmp -s FEATURE/standards ast_standards.h + rm -f ast_standards.h + silent test -d . + /bin/cp FEATURE/standards ast_standards.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:35: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:35: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:35: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:35: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:35: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:397:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = t) ~~^~~ /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:397:8: note: place parentheses around the assignment to silence this warning if (e = t) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:397:8: note: use '==' to turn this assignment into an equality comparison if (e = t) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:624:73: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(utf8mask[m] & w) || w >= 0xd800 && (w <= 0xdfff || w >= 0xfffe && w <= 0xffff)) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:624:73: note: place parentheses around the '&&' expression to silence this warning if (!(utf8mask[m] & w) || w >= 0xd800 && (w <= 0xdfff || w >= 0xfffe && w <= 0xffff)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:624:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(utf8mask[m] & w) || w >= 0xd800 && (w <= 0xdfff || w >= 0xfffe && w <= 0xffff)) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:624:42: note: place parentheses around the '&&' expression to silence this warning if (!(utf8mask[m] & w) || w >= 0xd800 && (w <= 0xdfff || w >= 0xfffe && w <= 0xffff)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:2501:150: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((lc->flags & LC_default) || category == AST_LC_MESSAGES && lc->name[0] == 'e' && lc->name[1] == 'n' && (lc->name[2] == 0 || lc->name[2] == '_' && lc->name[3] == 'U')) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:2501:150: note: place parentheses around the '&&' expression to silence this warning if ((lc->flags & LC_default) || category == AST_LC_MESSAGES && lc->name[0] == 'e' && lc->name[1] == 'n' && (lc->name[2] == 0 || lc->name[2] == '_' && lc->name[3] == 'U')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:2501:107: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((lc->flags & LC_default) || category == AST_LC_MESSAGES && lc->name[0] == 'e' && lc->name[1] == 'n' && (lc->name[2] == 0 || lc->name[2] == '_' && lc->name[3] == 'U')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/setlocale.c:2501:107: note: place parentheses around the '&&' expression to silence this warning if ((lc->flags & LC_default) || category == AST_LC_MESSAGES && lc->name[0] == 'e' && lc->name[1] == 'n' && (lc->name[2] == 0 || lc->name[2] == '_' && lc->name[3] == 'U')) ^ ( ) 8 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making setlocale.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:140:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (o = setlocale(LC_MESSAGES, NiL)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:140:14: note: place parentheses around the assignment to silence this warning else if (o = setlocale(LC_MESSAGES, NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:140:14: note: use '==' to turn this assignment into an equality comparison else if (o = setlocale(LC_MESSAGES, NiL)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:201:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp->messages = dtopen(&state.message_disc, Dtset)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:201:20: note: place parentheses around the assignment to silence this warning if (cp->messages = dtopen(&state.message_disc, Dtset)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:201:20: note: use '==' to turn this assignment into an equality comparison if (cp->messages = dtopen(&state.message_disc, Dtset)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:207:65: warning: '&&' within '||' [-Wlogical-op-parentheses] if (((s = catgets(d, set = AST_MESSAGE_SET, n, state.null)) && *s || (s = catgets(d, set = 1, n, state.null)) && *s) && entry(cp->messages, set, n, s)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:207:65: note: place parentheses around the '&&' expression to silence this warning if (((s = catgets(d, set = AST_MESSAGE_SET, n, state.null)) && *s || (s = catgets(d, set = 1, n, state.null)) && *s) && entry(cp->messages, set, n, s)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:207:115: warning: '&&' within '||' [-Wlogical-op-parentheses] if (((s = catgets(d, set = AST_MESSAGE_SET, n, state.null)) && *s || (s = catgets(d, set = 1, n, state.null)) && *s) && entry(cp->messages, set, n, s)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:207:115: note: place parentheses around the '&&' expression to silence this warning if (((s = catgets(d, set = AST_MESSAGE_SET, n, state.null)) && *s || (s = catgets(d, set = 1, n, state.null)) && *s) && entry(cp->messages, set, n, s)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:242:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:242:9: note: place parentheses around the assignment to silence this warning if (t = strchr(s, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:242:9: note: use '==' to turn this assignment into an equality comparison if (t = strchr(s, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:347:70: warning: '&&' within '||' [-Wlogical-op-parentheses] (!error_info.catalog || !(mp = match(error_info.catalog, msg))) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:347:70: note: place parentheses around the '&&' expression to silence this warning (!error_info.catalog || !(mp = match(error_info.catalog, msg))) && ^ /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:426:30: warning: '&&' within '||' [-Wlogical-op-parentheses] if (r == (char*)msg && (!cp && streq(loc, "debug") || cp && cp->debug)) ~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:426:30: note: place parentheses around the '&&' expression to silence this warning if (r == (char*)msg && (!cp && streq(loc, "debug") || cp && cp->debug)) ~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:426:59: warning: '&&' within '||' [-Wlogical-op-parentheses] if (r == (char*)msg && (!cp && streq(loc, "debug") || cp && cp->debug)) ~~ ~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/translate.c:426:59: note: place parentheses around the '&&' expression to silence this warning if (r == (char*)msg && (!cp && streq(loc, "debug") || cp && cp->debug)) ^ ( ) 8 warnings generated. + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/iconv iffe: test: is sys/types.h a header ... yes iffe: test: is iconv.h a header ... yes iffe: test: is -liconv a library ... no iffe: test: is iconv_open a library function ... yes iffe: test: is iconv_close a library function ... yes iffe: test: is iconv a library function ... yes iffe: test: is iconv an include path for the native header ... yes iffe: test: output{ ... }end ... yes + cmp -s FEATURE/iconv ast_iconv.h + rm -f ast_iconv.h + silent test -d . + /bin/cp FEATURE/iconv ast_iconv.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/catopen.c /<>/ksh-93u+20120801/src/lib/libast/comp/catopen.c:106:9: warning: '&&' within '||' [-Wlogical-op-parentheses] if (s && (d = catopen(s, flag)) != (nl_catd)(-1) || !(s = 0) && (d = catopen(name, flag)) != (nl_catd)(-1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/comp/catopen.c:106:9: note: place parentheses around the '&&' expression to silence this warning if (s && (d = catopen(s, flag)) != (nl_catd)(-1) || !(s = 0) && (d = catopen(name, flag)) != (nl_catd)(-1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/catopen.c:106:64: warning: '&&' within '||' [-Wlogical-op-parentheses] if (s && (d = catopen(s, flag)) != (nl_catd)(-1) || !(s = 0) && (d = catopen(name, flag)) != (nl_catd)(-1)) ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/catopen.c:106:64: note: place parentheses around the '&&' expression to silence this warning if (s && (d = catopen(s, flag)) != (nl_catd)(-1) || !(s = 0) && (d = catopen(name, flag)) != (nl_catd)(-1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/catopen.c:157:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = sfstruse(((Cc_t*)cat)->tmp)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/catopen.c:157:10: note: place parentheses around the assignment to silence this warning if (s = sfstruse(((Cc_t*)cat)->tmp)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/catopen.c:157:10: note: use '==' to turn this assignment into an equality comparison if (s = sfstruse(((Cc_t*)cat)->tmp)) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:473:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = bp) ~~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:473:9: note: place parentheses around the assignment to silence this warning if (cp = bp) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:473:9: note: use '==' to turn this assignment into an equality comparison if (cp = bp) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:701:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:701:12: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:701:12: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:704:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; c = ume_M[i]; i++) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:704:17: note: place parentheses around the assignment to silence this warning for (i = 0; c = ume_M[i]; i++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:704:17: note: use '==' to turn this assignment into an equality comparison for (i = 0; c = ume_M[i]; i++) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1060:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!t || !*t || *t == '-' && !*(t + 1) || !strcasecmp(t, name_local) || !strcasecmp(t, name_native)) ~~ ~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1060:29: note: place parentheses around the '&&' expression to silence this warning if (!t || !*t || *t == '-' && !*(t + 1) || !strcasecmp(t, name_local) || !strcasecmp(t, name_native)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1062:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!f || !*f || *f == '-' && !*(f + 1) || !strcasecmp(t, name_local) || !strcasecmp(f, name_native)) ~~ ~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1062:29: note: place parentheses around the '&&' expression to silence this warning if (!f || !*f || *f == '-' && !*(f + 1) || !strcasecmp(t, name_local) || !strcasecmp(f, name_native)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1076:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (fc != CC_ICONV && fc == tc || streq(fr, to)) ~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1076:21: note: place parentheses around the '&&' expression to silence this warning if (fc != CC_ICONV && fc == tc || streq(fr, to)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1212:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (oc = freelist[i]) ~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1212:11: note: place parentheses around the assignment to silence this warning if (oc = freelist[i]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1212:11: note: use '==' to turn this assignment into an equality comparison if (oc = freelist[i]) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1285:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = cc->to.map) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1285:10: note: place parentheses around the assignment to silence this warning if (m = cc->to.map) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/iconv.c:1285:10: note: use '==' to turn this assignment into an equality comparison if (m = cc->to.map) ^ == 8 warnings generated. + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/locale iffe: test: is sys/types.h a header ... yes iffe: test: canonical UTF-8 name ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/lc.c /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:258:78: warning: '&&' within '||' [-Wlogical-op-parentheses] return match(s, cp->code, 0, 1) || match(s, cp->alternates, 3, 1) || cp->ms && match(s, cp->ms, 0, 1); ~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:258:78: note: place parentheses around the '&&' expression to silence this warning return match(s, cp->code, 0, 1) || match(s, cp->alternates, 3, 1) || cp->ms && match(s, cp->ms, 0, 1); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:462:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (al = newof(0, Lc_attribute_list_t, 1, 0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:462:16: note: place parentheses around the assignment to silence this warning else if (al = newof(0, Lc_attribute_list_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:462:16: note: use '==' to turn this assignment into an equality comparison else if (al = newof(0, Lc_attribute_list_t, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:474:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isspace(c) || (c == '(' || c == '-' && *t == '-') && ++n) ~~ ~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:474:43: note: place parentheses around the '&&' expression to silence this warning if (isspace(c) || (c == '(' || c == '-' && *t == '-') && ++n) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:474:57: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isspace(c) || (c == '(' || c == '-' && *t == '-') && ++n) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:474:57: note: place parentheses around the '&&' expression to silence this warning if (isspace(c) || (c == '(' || c == '-' && *t == '-') && ++n) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:476:75: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *t++) && (isspace(c) || (c == '-' || c == '(' || c == ')') && ++n)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:476:75: note: place parentheses around the '&&' expression to silence this warning while ((c = *t++) && (isspace(c) || (c == '-' || c == '(' || c == ')') && ++n)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:527:56: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isspace(c) || (c == '(' || c == ')' || c == '-' && *t == '-') && ++n) ~~ ~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:527:56: note: place parentheses around the '&&' expression to silence this warning if (isspace(c) || (c == '(' || c == ')' || c == '-' && *t == '-') && ++n) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:527:70: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isspace(c) || (c == '(' || c == ')' || c == '-' && *t == '-') && ++n) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:527:70: note: place parentheses around the '&&' expression to silence this warning if (isspace(c) || (c == '(' || c == ')' || c == '-' && *t == '-') && ++n) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:529:76: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *t++) && (isspace(c) || (c == '-' || c == '(' || c == ')') && ++n)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:529:76: note: place parentheses around the '&&' expression to silence this warning while ((c = *t++) && (isspace(c) || (c == '-' || c == '(' || c == ')') && ++n)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:695:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = attributes_name) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:695:8: note: place parentheses around the assignment to silence this warning if (s = attributes_name) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:695:8: note: use '==' to turn this assignment into an equality comparison if (s = attributes_name) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:714:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ai = newof(0, Lc_attribute_list_t, 1, 0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:714:14: note: place parentheses around the assignment to silence this warning if (ai = newof(0, Lc_attribute_list_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:714:14: note: use '==' to turn this assignment into an equality comparison if (ai = newof(0, Lc_attribute_list_t, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:739:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = charset_name) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:739:8: note: place parentheses around the assignment to silence this warning if (s = charset_name) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/lc.c:739:8: note: use '==' to turn this assignment into an equality comparison if (s = charset_name) ^ == 11 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c lctab.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/float iffe: test: is sys/types.h a header ... yes iffe: test: is float.h a header ... yes iffe: test: is limits.h a header ... yes iffe: test: is math.h a header ... yes iffe: test: is values.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is frexp a library function ... yes iffe: test: is frexpl a library function ... yes iffe: test: is ldexp a library function ... yes iffe: test: is ldexpl a library function ... yes iffe: test: is finite a library function ... yes iffe: test: is finitel a library function ... yes iffe: test: is isinfl a library function ... yes iffe: test: is isnanl a library function ... yes iffe: test: is copysign a library function ... yes iffe: test: is copysignl a library function ... yes iffe: test: is frexp a symbol that needs a prototype ... no iffe: test: is frexpl a symbol that needs a prototype ... no iffe: test: is ldexp a symbol that needs a prototype ... no iffe: test: is ldexpl a symbol that needs a prototype ... no iffe: test: is finite a symbol that needs a prototype ... no iffe: test: is finitel a symbol that needs a prototype ... no iffe: test: is isinfl a symbol that needs a prototype ... no iffe: test: is isnanl a symbol that needs a prototype ... no iffe: test: is copysign a symbol that needs a prototype ... no iffe: test: is copysignl a symbol that needs a prototype ... no iffe: test: fpclassify present and works ... yes iffe: test: isinf present and works ... yes iffe: test: isnan present and works ... yes iffe: test: signbit present and works ... yes iffe: test: no unsigned intmax => floatmax cast ... no iffe: test: fpe on mpy overflow ... no iffe: test: fpe on div underflow ... no iffe: test: macro{ ... }end ... yes iffe: test: missing floating point limits ... yes iffe: test: double exponent bitfoolery ... yes iffe: test: long double exponent bitfoolery ... yes iffe: test: _ast_fltmax_t maximum integral type ... yes iffe: test: INF and NAN memory representations ... yes + cmp -s FEATURE/tty ast_tty.h + rm -f ast_tty.h + silent test -d . + /bin/cp FEATURE/tty ast_tty.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/sfio iffe: test: is sys/types.h a header ... yes iffe: test: is float.h a header ... yes iffe: test: is floatingpoint.h a header ... no iffe: test: is math.h a header ... yes iffe: test: is values.h a header ... yes iffe: test: is sys/filio.h a header ... no iffe: test: is sys/ioctl.h a header ... yes iffe: test: is qfrexp a library function ... no iffe: test: is qldexp a library function ... no iffe: test: is signed a reserved keyword ... yes iffe: test: number of bits in pointer ... yes iffe: test: open files cannot be removed ... no iffe: test: voidptr is larger than int ... yes iffe: test: long is larger than int ... yes iffe: test: register layout ok for vax string operations ... no iffe: test: native floating point conversions ok ... yes iffe: test: Stdio fseek/fflush are X/Open-compliant ... no + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/mc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:97:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; p = paths[i]; i += next) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:97:16: note: place parentheses around the assignment to silence this warning for (i = 0; p = paths[i]; i += next) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:97:16: note: use '==' to turn this assignment into an equality comparison for (i = 0; p = paths[i]; i += next) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:190:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE), path, size)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:190:10: note: place parentheses around the assignment to silence this warning if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE), path, size)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:190:10: note: use '==' to turn this assignment into an equality comparison if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE), path, size)) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:299:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = sfgetu(ip)) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:299:11: note: place parentheses around the assignment to silence this warning while (i = sfgetu(ip)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:299:11: note: use '==' to turn this assignment into an equality comparison while (i = sfgetu(ip)) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:315:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = sfgetu(ip)) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:315:10: note: place parentheses around the assignment to silence this warning if (n = sfgetu(ip)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:315:10: note: use '==' to turn this assignment into an equality comparison if (n = sfgetu(ip)) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:485:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = sp->msg[num]) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:485:8: note: place parentheses around the assignment to silence this warning if (s = sp->msg[num]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:485:8: note: use '==' to turn this assignment into an equality comparison if (s = sp->msg[num]) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:586:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = sp->msg[j]) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:586:11: note: place parentheses around the assignment to silence this warning if (s = sp->msg[j]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/mc.c:586:11: note: use '==' to turn this assignment into an equality comparison if (s = sp->msg[j]) ^ == 6 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making mc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/base64.c /<>/ksh-93u+20120801/src/lib/libast/string/base64.c:71:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = (unsigned char*)tb) ~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/base64.c:71:9: note: place parentheses around the assignment to silence this warning if (tp = (unsigned char*)tb) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/base64.c:71:9: note: use '==' to turn this assignment into an equality comparison if (tp = (unsigned char*)tb) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/base64.c:179:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (tp = (unsigned char*)alp; c = *tp; tp++) ~~^~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/base64.c:179:36: note: place parentheses around the assignment to silence this warning for (tp = (unsigned char*)alp; c = *tp; tp++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/base64.c:179:36: note: use '==' to turn this assignment into an equality comparison for (tp = (unsigned char*)alp; c = *tp; tp++) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/base64.c:186:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = (unsigned char*)tb) ~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/base64.c:186:9: note: place parentheses around the assignment to silence this warning if (tp = (unsigned char*)tb) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/base64.c:186:9: note: use '==' to turn this assignment into an equality comparison if (tp = (unsigned char*)tb) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/recfmt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/recstr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/reclen.c /<>/ksh-93u+20120801/src/lib/libast/misc/reclen.c:44:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/reclen.c:44:9: note: place parentheses around the assignment to silence this warning if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/reclen.c:44:9: note: use '==' to turn this assignment into an equality comparison if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/fmtrec.c /<>/ksh-93u+20120801/src/lib/libast/misc/fmtrec.c:64:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = REC_V_SIZE(f)) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/fmtrec.c:64:9: note: place parentheses around the assignment to silence this warning if (n = REC_V_SIZE(f)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/fmtrec.c:64:9: note: use '==' to turn this assignment into an equality comparison if (n = REC_V_SIZE(f)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtbase.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtbuf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtclock.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtdev.c /<>/ksh-93u+20120801/src/lib/libast/string/fmtdev.c:44:7: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . [-W#pragma-messages] ma = major(mm); ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 'major' # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :120:6: note: expanded from here GCC warning "In the GNU C Library, \"major\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"major\", include \n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including ." ^ /<>/ksh-93u+20120801/src/lib/libast/string/fmtdev.c:45:7: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . [-W#pragma-messages] mi = minor(mm); ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 'minor' # define minor(dev) __SYSMACROS_DM (minor) gnu_dev_minor (dev) ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro '__SYSMACROS_DM' #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \ ^ /usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro '__SYSMACROS_DM1' #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro '__glibc_macro_warning' __glibc_macro_warning1 (GCC warning message) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro '__glibc_macro_warning1' # define __glibc_macro_warning1(message) _Pragma (#message) ^ :125:6: note: expanded from here GCC warning "In the GNU C Library, \"minor\" is defined\n by . For historical compatibility, it is\n currently defined by as well, but we plan to\n remove this soon. To use \"minor\", include \n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including ." ^ 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtelapsed.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmterror.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:83:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*b = *qb++) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:83:13: note: place parentheses around the assignment to silence this warning while (*b = *qb++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:83:13: note: use '==' to turn this assignment into an equality comparison while (*b = *qb++) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:92:19: warning: expression result unused [-Wunused-value] if ((m = mbsize(s)) > 1 && (s + m) <= e) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:202:126: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()<>[]*?", c) || c == '#' && (b == f || isspace(*(b - 1)))))) ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:202:126: note: place parentheses around the '&&' expression to silence this warning else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()<>[]*?", c) || c == '#' && (b == f || isspace(*(b - 1)))))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:202:82: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()<>[]*?", c) || c == '#' && (b == f || isspace(*(b - 1)))))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:202:82: note: place parentheses around the '&&' expression to silence this warning else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()<>[]*?", c) || c == '#' && (b == f || isspace(*(b - 1)))))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:212:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*b = *qe++) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:212:14: note: place parentheses around the assignment to silence this warning while (*b = *qe++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtesc.c:212:14: note: use '==' to turn this assignment into an equality comparison while (*b = *qe++) ^ == 8 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fmtesc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtfmt.c /<>/ksh-93u+20120801/src/lib/libast/string/fmtfmt.c:185:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (extra[i] = x) ~~~~~~~~~^~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtfmt.c:185:18: note: place parentheses around the assignment to silence this warning if (extra[i] = x) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtfmt.c:185:18: note: use '==' to turn this assignment into an equality comparison if (extra[i] = x) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtfs.c /<>/ksh-93u+20120801/src/lib/libast/string/fmtfs.c:75:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtfs.c:75:14: note: place parentheses around the assignment to silence this warning else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtfs.c:75:14: note: use '==' to turn this assignment into an equality comparison else if (ip = (Id_t*)dtmatch(dict, &st->st_dev)) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtfs.c:78:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mp = mntopen(NiL, "r")) ~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtfs.c:78:9: note: place parentheses around the assignment to silence this warning if (mp = mntopen(NiL, "r")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtfs.c:78:9: note: use '==' to turn this assignment into an equality comparison if (mp = mntopen(NiL, "r")) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtident.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtint.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtip4.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtip6.c /<>/ksh-93u+20120801/src/lib/libast/string/fmtip6.c:62:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s = *p++) ~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtip6.c:62:12: note: place parentheses around the assignment to silence this warning while (*s = *p++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtip6.c:62:12: note: use '==' to turn this assignment into an equality comparison while (*s = *p++) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtip6.c:106:45: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((r[k] = i - k) > r[m] || r[k] == r[m] && i >= (n - 1)) ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtip6.c:106:45: note: place parentheses around the '&&' expression to silence this warning if ((r[k] = i - k) > r[m] || r[k] == r[m] && i >= (n - 1)) ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtls.c /<>/ksh-93u+20120801/src/lib/libast/string/fmtls.c:93:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s = *info++) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtls.c:93:13: note: place parentheses around the assignment to silence this warning while (*s = *info++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtls.c:93:13: note: use '==' to turn this assignment into an equality comparison while (*s = *info++) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtls.c:97:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s = *name++) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtls.c:97:12: note: place parentheses around the assignment to silence this warning while (*s = *name++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtls.c:97:12: note: use '==' to turn this assignment into an equality comparison while (*s = *name++) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:54:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (a = *s == '^') ~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:54:8: note: place parentheses around the assignment to silence this warning if (a = *s == '^') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:54:8: note: use '==' to turn this assignment into an equality comparison if (a = *s == '^') ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:146:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t = *s) ~~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:146:16: note: place parentheses around the assignment to silence this warning while (*t = *s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:146:16: note: use '==' to turn this assignment into an equality comparison while (*t = *s) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:267:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = !*s) ~~^~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:267:10: note: place parentheses around the assignment to silence this warning if (e = !*s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:267:10: note: use '==' to turn this assignment into an equality comparison if (e = !*s) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:280:82: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!a && (*b != '*' || *(b + 1) == '(' || (*(b + 1) == '-' || *(b + 1) == '~') && *(b + 2) == '(')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtmatch.c:280:82: note: place parentheses around the '&&' expression to silence this warning if (!a && (*b != '*' || *(b + 1) == '(' || (*(b + 1) == '-' || *(b + 1) == '~') && *(b + 2) == '(')) ^ ( ) 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtmode.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtnum.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtperm.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:58:54: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s != '*' || *(s + 1) == '(' || *(s + 1) == '-' && *(s + 2) == '(') ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:58:54: note: place parentheses around the '&&' expression to silence this warning if (*s != '*' || *(s + 1) == '(' || *(s + 1) == '-' && *(s + 2) == '(') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:111:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*x++ && (*x == '(' || *x == '-' && *(x + 1) == '(')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:111:40: note: place parentheses around the '&&' expression to silence this warning if (*x++ && (*x == '(' || *x == '-' && *(x + 1) == '(')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:118:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p->min = *s == '-') ~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:118:16: note: place parentheses around the assignment to silence this warning if (p->min = *s == '-') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:118:16: note: use '==' to turn this assignment into an equality comparison if (p->min = *s == '-') ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:138:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == '(' || c != '~' && *s == '-' && *(s + 1) == '(') ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:138:43: note: place parentheses around the '&&' expression to silence this warning if (*s == '(' || c != '~' && *s == '-' && *(s + 1) == '(') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:147:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s += 3; *t = *s; t++, s++); ~~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:147:23: note: place parentheses around the assignment to silence this warning for (s += 3; *t = *s; t++, s++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:147:23: note: use '==' to turn this assignment into an equality comparison for (s += 3; *t = *s; t++, s++); ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:158:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p->min = *s == '-') ~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:158:17: note: place parentheses around the assignment to silence this warning if (p->min = *s == '-') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtre.c:158:17: note: use '==' to turn this assignment into an equality comparison if (p->min = *s == '-') ^ == 6 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmttime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtuid.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/fmtuid.c:38: In file included from /usr/include/pwd.h:62: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: cannot combine with previous 'struct' declaration specifier typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:57:15: note: expanded from macro 'FILE' #define FILE struct _sfio_s ^ /<>/ksh-93u+20120801/src/lib/libast/string/fmtuid.c:76:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ip = (Id_t*)dtmatch(dict, &uid)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtuid.c:76:14: note: place parentheses around the assignment to silence this warning else if (ip = (Id_t*)dtmatch(dict, &uid)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtuid.c:76:14: note: use '==' to turn this assignment into an equality comparison else if (ip = (Id_t*)dtmatch(dict, &uid)) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtuid.c:78:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pw = getpwuid(uid)) ~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtuid.c:78:9: note: place parentheses around the assignment to silence this warning if (pw = getpwuid(uid)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtuid.c:78:9: note: use '==' to turn this assignment into an equality comparison if (pw = getpwuid(uid)) ^ == 2 warnings and 1 error generated. mamake [lib/libast]: *** exit code 1 making fmtuid.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtgid.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/fmtgid.c:38: In file included from /usr/include/grp.h:52: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: cannot combine with previous 'struct' declaration specifier typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:57:15: note: expanded from macro 'FILE' #define FILE struct _sfio_s ^ /<>/ksh-93u+20120801/src/lib/libast/string/fmtgid.c:76:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ip = (Id_t*)dtmatch(dict, &gid)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtgid.c:76:14: note: place parentheses around the assignment to silence this warning else if (ip = (Id_t*)dtmatch(dict, &gid)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtgid.c:76:14: note: use '==' to turn this assignment into an equality comparison else if (ip = (Id_t*)dtmatch(dict, &gid)) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtgid.c:78:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gr = getgrgid(gid)) ~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtgid.c:78:9: note: place parentheses around the assignment to silence this warning if (gr = getgrgid(gid)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtgid.c:78:9: note: use '==' to turn this assignment into an equality comparison if (gr = getgrgid(gid)) ^ == 2 warnings and 1 error generated. mamake [lib/libast]: *** exit code 1 making fmtgid.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtsignal.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtscale.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/tmx iffe: test: is sys/types.h a header ... yes iffe: test: cat{ ... }end ... yes iffe: test: is ( _ast_int8_t ) true ... yes iffe: test: cat{ ... }end ... yes + cmp -s FEATURE/tmx tmx.h + rm -f tmx.h + silent test -d . + /bin/cp FEATURE/tmx tmx.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmttmx.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmttv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/fmtversion.c /<>/ksh-93u+20120801/src/lib/libast/string/fmtversion.c:46:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = (v >> 24) & 0xff) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtversion.c:46:9: note: place parentheses around the assignment to silence this warning if (n = (v >> 24) & 0xff) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtversion.c:46:9: note: use '==' to turn this assignment into an equality comparison if (n = (v >> 24) & 0xff) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/fmtversion.c:48:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = (v >> 16) & 0xff) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/fmtversion.c:48:9: note: place parentheses around the assignment to silence this warning if (n = (v >> 16) & 0xff) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/fmtversion.c:48:9: note: use '==' to turn this assignment into an equality comparison if (n = (v >> 16) & 0xff) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strelapsed.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strperm.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/struid.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/struid.c:39: In file included from /usr/include/pwd.h:62: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: cannot combine with previous 'struct' declaration specifier typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:57:15: note: expanded from macro 'FILE' #define FILE struct _sfio_s ^ /<>/ksh-93u+20120801/src/lib/libast/string/struid.c:80:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ip = (Id_t*)dtmatch(dict, name)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/struid.c:80:14: note: place parentheses around the assignment to silence this warning else if (ip = (Id_t*)dtmatch(dict, name)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/struid.c:80:14: note: use '==' to turn this assignment into an equality comparison else if (ip = (Id_t*)dtmatch(dict, name)) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/struid.c:82:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pw = getpwnam(name)) ~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/struid.c:82:9: note: place parentheses around the assignment to silence this warning if (pw = getpwnam(name)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/struid.c:82:9: note: use '==' to turn this assignment into an equality comparison if (pw = getpwnam(name)) ^ == 2 warnings and 1 error generated. mamake [lib/libast]: *** exit code 1 making struid.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c:40: In file included from /usr/include/pwd.h:62: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: cannot combine with previous 'struct' declaration specifier typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:57:15: note: expanded from macro 'FILE' #define FILE struct _sfio_s ^ /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c:86:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (ip = (Id_t*)dtmatch(dict, name)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c:86:14: note: place parentheses around the assignment to silence this warning else if (ip = (Id_t*)dtmatch(dict, name)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c:86:14: note: use '==' to turn this assignment into an equality comparison else if (ip = (Id_t*)dtmatch(dict, name)) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c:88:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gr = getgrnam(name)) ~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c:88:9: note: place parentheses around the assignment to silence this warning if (gr = getgrnam(name)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c:88:9: note: use '==' to turn this assignment into an equality comparison if (gr = getgrnam(name)) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c:90:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (pw = getpwnam(name)) ~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c:90:14: note: place parentheses around the assignment to silence this warning else if (pw = getpwnam(name)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strgid.c:90:14: note: use '==' to turn this assignment into an equality comparison else if (pw = getpwnam(name)) ^ == 3 warnings and 1 error generated. mamake [lib/libast]: *** exit code 1 making strgid.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strtoip4.c /<>/ksh-93u+20120801/src/lib/libast/string/strtoip4.c:93:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((s - b) == 1 && c != '/' || part > 4) ~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoip4.c:93:19: note: place parentheses around the '&&' expression to silence this warning if ((s - b) == 1 && c != '/' || part > 4) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strtoip4.c:95:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (old = part < 4) ~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoip4.c:95:10: note: place parentheses around the assignment to silence this warning if (old = part < 4) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strtoip4.c:95:10: note: use '==' to turn this assignment into an equality comparison if (old = part < 4) ^ == /<>/ksh-93u+20120801/src/lib/libast/string/strtoip4.c:138:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*pbits = bits) ~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoip4.c:138:14: note: place parentheses around the assignment to silence this warning if (*pbits = bits) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/string/strtoip4.c:138:14: note: use '==' to turn this assignment into an equality comparison if (*pbits = bits) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strtoip6.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/stack.c /<>/ksh-93u+20120801/src/lib/libast/misc/stack.c:76:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = b) ~~^~~ /<>/ksh-93u+20120801/src/lib/libast/misc/stack.c:76:11: note: place parentheses around the assignment to silence this warning while (p = b) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/stack.c:76:11: note: use '==' to turn this assignment into an equality comparison while (p = b) ^ == 1 warning generated. + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/align.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/align.c ... iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/align.c ... yes + cmp -s FEATURE/align align.h + rm -f align.h + silent test -d . + /bin/cp FEATURE/align align.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/stk.c /<>/ksh-93u+20120801/src/lib/libast/misc/stk.c:126:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(2,Omsg, sizeof(Omsg)-1); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/stk.c:545:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp->nalias=nn) ~~~~~~~~~~^~~ /<>/ksh-93u+20120801/src/lib/libast/misc/stk.c:545:15: note: place parentheses around the assignment to silence this warning if(fp->nalias=nn) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/stk.c:545:15: note: use '==' to turn this assignment into an equality comparison if(fp->nalias=nn) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/swapget.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/swapmem.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/swapop.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/swapput.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/siglist iffe: test: is sys/types.h a header ... yes iffe: test: is string.h a header ... yes iffe: test: is signal.h a header ... yes iffe: test: is strsignal a library function ... yes iffe: test: run{ ... }end ... yes + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/signal.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/signal.c ... ./31085.c:389:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (s = strsignal(i)) ~~^~~~~~~~~~~~~~ ./31085.c:389:14: note: place parentheses around the assignment to silence this warning else if (s = strsignal(i)) ^ ( ) ./31085.c:389:14: note: use '==' to turn this assignment into an equality comparison else if (s = strsignal(i)) ^ == 1 warning generated. iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/signal.c ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/sigdata.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/sigcrit.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/sigunblock.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/wait iffe: test: is sys/types.h a header ... yes iffe: test: is wait a library function ... yes iffe: test: is wait2 a library function ... no iffe: test: is wait3 a library function ... yes iffe: test: is wait4 a library function ... yes iffe: test: is waitpid a library function ... yes iffe: test: is sys/wait.h a header ... yes iffe: test: posix wait macros ok ... yes + cmp -s FEATURE/wait ast_wait.h + rm -f ast_wait.h + silent test -d . + /bin/cp FEATURE/wait ast_wait.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:472:85: warning: '&&' within '||' [-Wlogical-op-parentheses] if (environ && envv != (char**)environ && (envv || (flags & PROC_PARANOID) || argv && (environ[0][0] != '_' || environ[0][1] != '='))) ~~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:472:85: note: place parentheses around the '&&' expression to silence this warning if (environ && envv != (char**)environ && (envv || (flags & PROC_PARANOID) || argv && (environ[0][0] != '_' || environ[0][1] != '='))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:589:6: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(pop[1], &proc->pid, sizeof(proc->pid)); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:638:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setuid(geteuid()); ^~~~~~ ~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:639:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setgid(getegid()); ^~~~~~ ~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:642:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setgid(getgid()); ^~~~~~ ~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:644:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setuid(getuid()); ^~~~~~ ~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:670:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; n = modv[i]; i++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:670:18: note: place parentheses around the assignment to silence this warning for (i = 0; n = modv[i]; i++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:670:18: note: use '==' to turn this assignment into an equality comparison for (i = 0; n = modv[i]; i++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:765:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p++ = *argv++); ~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:765:17: note: place parentheses around the assignment to silence this warning while (*p++ = *argv++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:765:17: note: use '==' to turn this assignment into an equality comparison while (*p++ = *argv++); ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:829:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; n = modv[i]; i++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:829:18: note: place parentheses around the assignment to silence this warning for (i = 0; n = modv[i]; i++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:829:18: note: use '==' to turn this assignment into an equality comparison for (i = 0; n = modv[i]; i++) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:915:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; n = modv[i]; i++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:915:17: note: place parentheses around the assignment to silence this warning for (i = 0; n = modv[i]; i++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/procopen.c:915:17: note: use '==' to turn this assignment into an equality comparison for (i = 0; n = modv[i]; i++) ^ == 10 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/procclose.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/procrun.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/procfree.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmdate.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmequiv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmfix.c /<>/ksh-93u+20120801/src/lib/libast/tm/tmfix.c:58:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmfix.c:58:8: note: place parentheses around the assignment to silence this warning if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmfix.c:58:8: note: use '==' to turn this assignment into an equality comparison if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmfix.c:155:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = (w - p->tm_wday)) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmfix.c:155:9: note: place parentheses around the assignment to silence this warning if (w = (w - p->tm_wday)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmfix.c:155:9: note: use '==' to turn this assignment into an equality comparison if (w = (w - p->tm_wday)) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmfmt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmform.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmgoff.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/tmlib iffe: test: is sys/types.h a header ... yes iffe: test: probe CC.EXPORT.DYNAMIC supported ... no iffe: test: tzset() bypasses user getenv() ... yes iffe: test: is ( _tzset_environ ) true ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tminit.c /<>/ksh-93u+20120801/src/lib/libast/tm/tminit.c:161:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = tp->tm_yday - n) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tminit.c:161:8: note: place parentheses around the assignment to silence this warning if (n = tp->tm_yday - n) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tminit.c:161:8: note: use '==' to turn this assignment into an equality comparison if (n = tp->tm_yday - n) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tminit.c:226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = getenv("TZ")) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tminit.c:226:9: note: place parentheses around the assignment to silence this warning if (s = getenv("TZ")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tminit.c:226:9: note: use '==' to turn this assignment into an equality comparison if (s = getenv("TZ")) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tminit.c:313:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strchr(s, ',')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tminit.c:313:9: note: place parentheses around the assignment to silence this warning if (s = strchr(s, ',')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tminit.c:313:9: note: use '==' to turn this assignment into an equality comparison if (s = strchr(s, ',')) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmleap.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmlex.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:536:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s++ = *t++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:536:15: note: place parentheses around the assignment to silence this warning while (*s++ = *t++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:536:15: note: use '==' to turn this assignment into an equality comparison while (*s++ = *t++); ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:567:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = (char**)li->data) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:567:8: note: place parentheses around the assignment to silence this warning if (b = (char**)li->data) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:567:8: note: use '==' to turn this assignment into an equality comparison if (b = (char**)li->data) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:581:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (u = (unsigned char*)sfreserve(sp, 3, 1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:581:9: note: place parentheses around the assignment to silence this warning if (u = (unsigned char*)sfreserve(sp, 3, 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:581:9: note: use '==' to turn this assignment into an equality comparison if (u = (unsigned char*)sfreserve(sp, 3, 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:585:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = sfstropen()) ~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:585:12: note: place parentheses around the assignment to silence this warning if (tp = sfstropen()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:585:12: note: use '==' to turn this assignment into an equality comparison if (tp = sfstropen()) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:595:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = newof(0, char*, TM_NFORM, n + 2)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:595:9: note: place parentheses around the assignment to silence this warning if (b = newof(0, char*, TM_NFORM, n + 2)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:595:9: note: use '==' to turn this assignment into an equality comparison if (b = newof(0, char*, TM_NFORM, n + 2)) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:600:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if (tp && memcpy(s, sfstrbase(tp), n) || !tp && sfread(sp, s, n) == n) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:600:11: note: place parentheses around the '&&' expression to silence this warning if (tp && memcpy(s, sfstrbase(tp), n) || !tp && sfread(sp, s, n) == n) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:600:49: warning: '&&' within '||' [-Wlogical-op-parentheses] if (tp && memcpy(s, sfstrbase(tp), n) || !tp && sfread(sp, s, n) == n) ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmlocale.c:600:49: note: place parentheses around the '&&' expression to silence this warning if (tp && memcpy(s, sfstrbase(tp), n) || !tp && sfread(sp, s, n) == n) ^ ( ) 7 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmmake.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmpoff.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmscan.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmsleep.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmtime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmtype.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmweek.c /<>/ksh-93u+20120801/src/lib/libast/tm/tmweek.c:67:21: warning: '&&' within '||' [-Wlogical-op-parentheses] week = (day > 0 && day < 6 || tmisleapyear(tm->tm_year - 1)) ? 53 : 52; ~~~~~~~~^~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmweek.c:67:21: note: place parentheses around the '&&' expression to silence this warning week = (day > 0 && day < 6 || tmisleapyear(tm->tm_year - 1)) ? 53 : 52; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmweek.c:81:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (d = tm->tm_wday - day) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmweek.c:81:8: note: place parentheses around the assignment to silence this warning if (d = tm->tm_wday - day) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmweek.c:81:8: note: use '==' to turn this assignment into an equality comparison if (d = tm->tm_wday - day) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmword.c /<>/ksh-93u+20120801/src/lib/libast/tm/tmword.c:52:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmword.c:52:12: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmword.c:52:12: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmword.c:56:32: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!isalpha(c) || c != *t && (islower(c) ? toupper(c) : tolower(c)) != *t) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmword.c:56:32: note: place parentheses around the '&&' expression to silence this warning if (!isalpha(c) || c != *t && (islower(c) ? toupper(c) : tolower(c)) != *t) ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmzone.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:277:95: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((*s == 'P' || *s == 'p') && (!isalpha(*(s + 1)) || (*(s + 1) == 'T' || *(s + 1) == 't') && !isalpha(*(s + 2)))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:277:95: note: place parentheses around the '&&' expression to silence this warning if ((*s == 'P' || *s == 'p') && (!isalpha(*(s + 1)) || (*(s + 1) == 'T' || *(s + 1) == 't') && !isalpha(*(s + 2)))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:508:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = t - s) ~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:508:10: note: place parentheses around the assignment to silence this warning if (w = t - s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:508:10: note: use '==' to turn this assignment into an equality comparison if (w = t - s) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:729:19: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*++t && dig1(t, k) < 1 || k > 7) ~~~~~^~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:729:19: note: place parentheses around the '&&' expression to silence this warning else if (*++t && dig1(t, k) < 1 || k > 7) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:741:30: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (w == 6 || w == 8 && (n / 1000000) > 12) ~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:741:30: note: place parentheses around the '&&' expression to silence this warning else if (w == 6 || w == 8 && (n / 1000000) > 12) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:745:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (w == 8 || w == 6 && *u != 'T' && *u != 't') ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:745:39: note: place parentheses around the '&&' expression to silence this warning if (w == 8 || w == 6 && *u != 'T' && *u != 't') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:761:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*t != 'T' && *t != 't' || !isdigit(*++t)) ~~~~~~~~~~^~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:761:19: note: place parentheses around the '&&' expression to silence this warning if (*t != 'T' && *t != 't' || !isdigit(*++t)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:821:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = strtol(s, &t, 10)) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:821:12: note: place parentheses around the assignment to silence this warning if (n = strtol(s, &t, 10)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:821:12: note: use '==' to turn this assignment into an equality comparison if (n = strtol(s, &t, 10)) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:841:249: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:841:249: note: place parentheses around the '&&' expression to silence this warning if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:841:115: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:841:115: note: place parentheses around the '&&' expression to silence this warning if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:841:214: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:841:214: note: place parentheses around the '&&' expression to silence this warning if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:841:59: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:841:59: note: place parentheses around the '&&' expression to silence this warning if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:841:305: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ~~ ~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:841:305: note: place parentheses around the '&&' expression to silence this warning if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:899:118: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!dig2(x, m) || m > 12 || !dig2(x, m) || m > 31 || dig2(x, m) > 24 || dig2(x, m) > 60 || dig2(x, m) <= 60 && !(tm_info.flags & TM_DATESTYLE)) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:899:118: note: place parentheses around the '&&' expression to silence this warning if (!dig2(x, m) || m > 12 || !dig2(x, m) || m > 31 || dig2(x, m) > 24 || dig2(x, m) > 60 || dig2(x, m) <= 60 && !(tm_info.flags & TM_DATESTYLE)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:972:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*s == ':' || *s == '.' && ((set|state) & (YEAR|MONTH|DAY|HOUR)) == (YEAR|MONTH|DAY)) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:972:33: note: place parentheses around the '&&' expression to silence this warning if (*s == ':' || *s == '.' && ((set|state) & (YEAR|MONTH|DAY|HOUR)) == (YEAR|MONTH|DAY)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1046:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (i > k || i == k && j > l) ~~ ~~~~~~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1046:29: note: place parentheses around the '&&' expression to silence this warning if (i > k || i == k && j > l) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1049:33: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (i < k || i == k && j < l) ~~ ~~~~~~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1049:33: note: place parentheses around the '&&' expression to silence this warning else if (i < k || i == k && j < l) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:970:32: warning: for loop has empty body [-Wempty-body] for (s = t; skip[*s]; s++); ^ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:970:32: note: put the semicolon on a separate line to silence this warning /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:834:34: warning: for loop has empty body [-Wempty-body] for (u = t; isspace(*u); u++); ^ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:834:34: note: put the semicolon on a separate line to silence this warning /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1080:141: warning: '&&' within '||' [-Wlogical-op-parentheses] if (((set|state) & (MONTH|DAY|HOUR|MINUTE)) == (MONTH|DAY|HOUR|MINUTE) || *s == '+' && (!isdigit(s[1]) || !isdigit(s[2]) || s[3] != ':' && (s[3] != '.' || ((set|state) & (YEAR|MONTH)) != (YEAR|MONTH)))) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1080:141: note: place parentheses around the '&&' expression to silence this warning if (((set|state) & (MONTH|DAY|HOUR|MINUTE)) == (MONTH|DAY|HOUR|MINUTE) || *s == '+' && (!isdigit(s[1]) || !isdigit(s[2]) || s[3] != ':' && (s[3] != '.' || ((set|state) & (YEAR|MONTH)) != (YEAR|MONTH)))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1080:89: warning: '&&' within '||' [-Wlogical-op-parentheses] if (((set|state) & (MONTH|DAY|HOUR|MINUTE)) == (MONTH|DAY|HOUR|MINUTE) || *s == '+' && (!isdigit(s[1]) || !isdigit(s[2]) || s[3] != ':' && (s[3] != '.' || ((set|state) & (YEAR|MONTH)) != (YEAR|MONTH)))) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1080:89: note: place parentheses around the '&&' expression to silence this warning if (((set|state) & (MONTH|DAY|HOUR|MINUTE)) == (MONTH|DAY|HOUR|MINUTE) || *s == '+' && (!isdigit(s[1]) || !isdigit(s[2]) || s[3] != ':' && (s[3] != '.' || ((set|state) & (YEAR|MONTH)) != (YEAR|MONTH)))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1729:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if (tm->tm_wday == 0 && (j = 1) || tm->tm_wday == 6 && (j = 2)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1729:24: note: place parentheses around the '&&' expression to silence this warning if (tm->tm_wday == 0 && (j = 1) || tm->tm_wday == 6 && (j = 2)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1729:55: warning: '&&' within '||' [-Wlogical-op-parentheses] if (tm->tm_wday == 0 && (j = 1) || tm->tm_wday == 6 && (j = 2)) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxdate.c:1729:55: note: place parentheses around the '&&' expression to silence this warning if (tm->tm_wday == 0 && (j = 1) || tm->tm_wday == 6 && (j = 2)) ^ ( ) 22 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxduration.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:371:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *format) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:371:10: note: place parentheses around the assignment to silence this warning if (c = *format) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:371:10: note: use '==' to turn this assignment into an equality comparison if (c = *format) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:476:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = zp->type) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:476:16: note: place parentheses around the assignment to silence this warning if (p = zp->type) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:476:16: note: use '==' to turn this assignment into an equality comparison if (p = zp->type) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:478:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (p = zp->type) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:478:19: note: place parentheses around the assignment to silence this warning else if (p = zp->type) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:478:19: note: use '==' to turn this assignment into an equality comparison else if (p = zp->type) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:478:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (p = zp->type) ^ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:497:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = *format) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:497:15: note: place parentheses around the assignment to silence this warning while (n = *format) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:497:15: note: use '==' to turn this assignment into an equality comparison while (n = *format) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:607:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*arg++ = *format) ~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:607:15: note: place parentheses around the assignment to silence this warning if (*arg++ = *format) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxfmt.c:607:15: note: use '==' to turn this assignment into an equality comparison if (*arg++ = *format) ^ == 6 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxgettime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxleap.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxmake.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:374:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (zp = tmtype(s, &u)) ~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:374:12: note: place parentheses around the assignment to silence this warning if (zp = tmtype(s, &u)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:374:12: note: use '==' to turn this assignment into an equality comparison if (zp = tmtype(s, &u)) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:401:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*format || *format == '%' && *(format + 1) == '|') ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:401:36: note: place parentheses around the '&&' expression to silence this warning if (!*format || *format == '%' && *(format + 1) == '|') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:486:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, char*, n, m)) ~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:486:11: note: place parentheses around the assignment to silence this warning if (p = newof(0, char*, n, m)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:486:11: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, char*, n, m)) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:511:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = datemask) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:511:9: note: place parentheses around the assignment to silence this warning if (p = datemask) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:511:9: note: use '==' to turn this assignment into an equality comparison if (p = datemask) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:512:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (v = *p++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:512:13: note: place parentheses around the assignment to silence this warning while (v = *p++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxscan.c:512:13: note: use '==' to turn this assignment into an equality comparison while (v = *p++) ^ == 5 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxsettime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxsleep.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxtime.c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxtime.c:99:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tm->tm_isdst = tl->tm_isdst) ~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxtime.c:99:22: note: place parentheses around the assignment to silence this warning if (tm->tm_isdst = tl->tm_isdst) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxtime.c:99:22: note: use '==' to turn this assignment into an equality comparison if (tm->tm_isdst = tl->tm_isdst) ^ == /<>/ksh-93u+20120801/src/lib/libast/tm/tmxtime.c:133:37: warning: '&&' within '||' [-Wlogical-op-parentheses] if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59)) ~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxtime.c:133:37: note: place parentheses around the '&&' expression to silence this warning if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tmxtime.c:133:76: warning: '&&' within '||' [-Wlogical-op-parentheses] if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tmxtime.c:133:76: note: place parentheses around the '&&' expression to silence this warning if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59)) ^ ( ) 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmxtouch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tvcmp.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/tvlib iffe: test: is sys/types.h a header ... yes iffe: test: is time.h a header ... yes iffe: test: is clock_settime a library function ... yes iffe: test: is gettimeofday a library function ... yes iffe: test: is settimeofday a library function ... yes iffe: test: is stime a library function ... yes iffe: test: is utimes a library function ... yes iffe: test: is nanosleep a library function ... yes iffe: test: is usleep a library function ... yes iffe: test: is sys/stat.h a header ... yes iffe: test: complete utimensat implementation ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is timeval a type or typedef ... no iffe: test: is tv_sec a member of struct timeval ... yes iffe: test: execute{ ... }end ... yes iffe: test: link{ ... }end ... no iffe: test: output{ ... }end ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tvgettime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tvsettime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tvsleep.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tvtouch.c /<>/ksh-93u+20120801/src/lib/libast/tm/tvtouch.c:260:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/tm/tvtouch.c:260:11: note: place parentheses around the assignment to silence this warning if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/tm/tvtouch.c:260:11: note: use '==' to turn this assignment into an equality comparison if (c = (lseek(fd, 0L, 0) == 0L && write(fd, &c, 1) == 1)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:200:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p = *++argv) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:200:12: note: place parentheses around the assignment to silence this warning while (*p = *++argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:200:12: note: use '==' to turn this assignment into an equality comparison while (*p = *++argv) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:209:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv) ~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:209:12: note: place parentheses around the assignment to silence this warning while (s = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:209:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:250:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = cmd->postarg) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:250:8: note: place parentheses around the assignment to silence this warning if (p = cmd->postarg) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:250:8: note: use '==' to turn this assignment into an equality comparison if (p = cmd->postarg) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:251:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*cmd->nextarg++ = *p++); ~~~~~~~~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:251:26: note: place parentheses around the assignment to silence this warning while (*cmd->nextarg++ = *p++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:251:26: note: use '==' to turn this assignment into an equality comparison while (*cmd->nextarg++ = *p++); ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:254:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = cmd->insert) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:254:8: note: place parentheses around the assignment to silence this warning if (s = cmd->insert) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:254:8: note: use '==' to turn this assignment into an equality comparison if (s = cmd->insert) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:270:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = cmd->insertarg[n]) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:270:10: note: place parentheses around the assignment to silence this warning if (t = cmd->insertarg[n]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:270:10: note: use '==' to turn this assignment into an equality comparison if (t = cmd->insertarg[n]) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:310:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *++p) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:310:12: note: place parentheses around the assignment to silence this warning while (s = *++p) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:310:12: note: use '==' to turn this assignment into an equality comparison while (s = *++p) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:322:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = cmd->argv + 1; s = *p++;) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:322:29: note: place parentheses around the assignment to silence this warning for (p = cmd->argv + 1; s = *p++;) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:322:29: note: use '==' to turn this assignment into an equality comparison for (p = cmd->argv + 1; s = *p++;) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:370:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = cmdflush(cmd)) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:370:10: note: place parentheses around the assignment to silence this warning if (i = cmdflush(cmd)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/cmdarg.c:370:10: note: use '==' to turn this assignment into an equality comparison if (i = cmdflush(cmd)) ^ == 9 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vec/vecargs.c /<>/ksh-93u+20120801/src/lib/libast/vec/vecargs.c:65:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv = *vec++) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vec/vecargs.c:65:12: note: place parentheses around the assignment to silence this warning while (s = *argv = *vec++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/vec/vecargs.c:65:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv = *vec++) ^ == /<>/ksh-93u+20120801/src/lib/libast/vec/vecargs.c:71:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*argv = *oargv++) argv++; ~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vec/vecargs.c:71:16: note: place parentheses around the assignment to silence this warning while (*argv = *oargv++) argv++; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/vec/vecargs.c:71:16: note: use '==' to turn this assignment into an equality comparison while (*argv = *oargv++) argv++; ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vec/vecfile.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vec/vecfree.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vec/vecload.c /<>/ksh-93u+20120801/src/lib/libast/vec/vecload.c:78:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, char*, n + 3, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vec/vecload.c:78:8: note: place parentheses around the assignment to silence this warning if (p = newof(0, char*, n + 3, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/vec/vecload.c:78:8: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, char*, n + 3, 0)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vec/vecstring.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/univdata.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/touch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c:73:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = (const char*)strchr(fs, ':')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c:73:8: note: place parentheses around the assignment to silence this warning if (x = (const char*)strchr(fs, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c:73:8: note: use '==' to turn this assignment into an equality comparison if (x = (const char*)strchr(fs, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c:85:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (x = (const char*)strchr(fs, '@')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c:85:13: note: place parentheses around the assignment to silence this warning else if (x = (const char*)strchr(fs, '@')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c:85:13: note: use '==' to turn this assignment into an equality comparison else if (x = (const char*)strchr(fs, '@')) ^ == In file included from /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c:477: In file included from /usr/include/mntent.h:24: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c:560:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mnt = getmntent(mp->fp)) ~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c:560:10: note: place parentheses around the assignment to silence this warning if (mnt = getmntent(mp->fp)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/mnt.c:560:10: note: use '==' to turn this assignment into an equality comparison if (mnt = getmntent(mp->fp)) ^ == 3 warnings and 1 error generated. mamake [lib/libast]: *** exit code 1 making mnt.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/debug.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/memccpy.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/memchr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/memcmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/memcpy.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/memdup.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/memmove.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/memset.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/mkdir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/mkfifo.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/mknod.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/rmdir.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/remove.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/rename.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/link.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/unlink.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strdup.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strchr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strrchr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strstr.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strtod.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtod.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtod.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtod.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtod.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtod.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtod.c:31: /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:345:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'n' && c != 'N' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:345:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'n' && c != 'N' || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:346:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'f' && c != 'F') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:346:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'f' && c != 'F') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:369:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'a' && c != 'A' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:369:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'a' && c != 'A' || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:370:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'n' && c != 'N') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:370:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'n' && c != 'N') ^ ( ) 7 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strtod.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strtold.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtold.c:52: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtold.c:52: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtold.c:52: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtold.c:52: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtold.c:52: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtold.c:52: /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:345:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'n' && c != 'N' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:345:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'n' && c != 'N' || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:346:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'f' && c != 'F') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:346:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'f' && c != 'F') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:369:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'a' && c != 'A' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:369:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'a' && c != 'A' || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:370:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'n' && c != 'N') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:370:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'n' && c != 'N') ^ ( ) 7 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strtold.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strtol.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtol.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtol.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtol.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtol.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtol.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtol.c:32: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strtol.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strtoll.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoll.c:44: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoll.c:44: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoll.c:44: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoll.c:44: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoll.c:44: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoll.c:44: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strtoll.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strtoul.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoul.c:33: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoul.c:33: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoul.c:33: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoul.c:33: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoul.c:33: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoul.c:33: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strtoul.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strtoull.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoull.c:45: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoull.c:45: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoull.c:45: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoull.c:45: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoull.c:45: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/strtoull.c:45: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strtoull.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strton.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strton.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strton.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strton.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strton.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strton.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strton.c:31: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strton.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strtonll.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtonll.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtonll.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtonll.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtonll.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtonll.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtonll.c:31: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strtonll.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strntod.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntod.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntod.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntod.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntod.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntod.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntod.c:32: /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:345:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'n' && c != 'N' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:345:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'n' && c != 'N' || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:346:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'f' && c != 'F') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:346:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'f' && c != 'F') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:369:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'a' && c != 'A' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:369:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'a' && c != 'A' || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:370:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'n' && c != 'N') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:370:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'n' && c != 'N') ^ ( ) 7 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strntod.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strntold.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntold.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntold.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntold.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntold.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntold.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:48: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntold.c:32: /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:345:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'n' && c != 'N' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:345:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'n' && c != 'N' || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:346:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'f' && c != 'F') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:346:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'f' && c != 'F') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:369:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'a' && c != 'A' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:369:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'a' && c != 'A' || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:370:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'n' && c != 'N') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:370:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'n' && c != 'N') ^ ( ) 7 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strntold.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strnton.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strnton.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strnton.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strnton.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strnton.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strnton.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strnton.c:32: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strnton.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strntonll.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntonll.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntonll.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntonll.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntonll.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntonll.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntonll.c:32: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strntonll.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strntol.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntol.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntol.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntol.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntol.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntol.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntol.c:31: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strntol.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strntoll.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoll.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoll.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoll.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoll.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoll.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoll.c:31: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strntoll.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strntoul.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoul.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoul.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoul.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoul.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoul.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoul.c:32: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strntoul.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strntoull.c In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoull.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoull.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoull.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoull.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoull.c:32: In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:89: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/string/strntoull.c:32: /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/string/strtoi.h:271:63: note: place parentheses around the '&&' expression to silence this warning if ((negative = S2I_valid(s) && (*s == '-')) || S2I_valid(s) && *s == '+') ~~~~~~~~~~~~~^~~~~~~~~~~~ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making strntoull.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strcasecmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strncasecmp.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/errno iffe: test: is sys/types.h a header ... yes iffe: test: sys_nerr in default libs ... yes iffe: test: sys_nerr declared in errno.h ... yes iffe: test: sys_errlist in default libs ... no iffe: test: sys_errlist declared in errno.h ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/strerror.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/mktemp.c /<>/ksh-93u+20120801/src/lib/libast/comp/mktemp.c:52:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(buf, '/')) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/mktemp.c:52:8: note: place parentheses around the assignment to silence this warning if (s = strrchr(buf, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/mktemp.c:52:8: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(buf, '/')) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/tmpnam.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/fsync.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/execlp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/execve.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/execvp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/execvpe.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/vfork iffe: test: is sys/types.h a header ... yes iffe: test: is vfork.h a header ... no iffe: test: is sys/vfork.h a header ... no iffe: test: run{ ... }end ... yes + cmp -s FEATURE/vfork ast_vfork.h + rm -f ast_vfork.h + silent test -d . + /bin/cp FEATURE/vfork ast_vfork.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:54:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = posix_spawnattr_init(&attr)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:54:10: note: place parentheses around the assignment to silence this warning if (err = posix_spawnattr_init(&attr)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:54:10: note: use '==' to turn this assignment into an equality comparison if (err = posix_spawnattr_init(&attr)) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:60:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = posix_spawnattr_setpgroup(&attr, pgid)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:60:11: note: place parentheses around the assignment to silence this warning if (err = posix_spawnattr_setpgroup(&attr, pgid)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:60:11: note: use '==' to turn this assignment into an equality comparison if (err = posix_spawnattr_setpgroup(&attr, pgid)) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:62:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:62:11: note: place parentheses around the assignment to silence this warning if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:62:11: note: use '==' to turn this assignment into an equality comparison if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP)) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:65:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:65:10: note: place parentheses around the assignment to silence this warning if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/spawnveg.c:65:10: note: use '==' to turn this assignment into an equality comparison if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/vfork.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/killpg.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/hsearch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/tsearch.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/getlogin.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/putenv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/setenv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/unsetenv.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/lstat.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/statvfs.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/eaccess.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/hack iffe: test: is sys/types.h a header ... yes iffe: test: is locale_attr.h a header ... no + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/gross.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/omitted iffe: test: is sys/types.h a header ... yes iffe: test: check for win32 .exe botches ... no iffe: test: win32 alarm(2) return botched ... no + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/omitted.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/readlink.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/symlink.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/comp/getpgrp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/setpgid.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/setsid.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/waitpid.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/creat64.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/fcntl.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/open.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/atexit.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idir -I/<>/ksh-93u+20120801/src/lib/libast/dir -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/dir/getdents.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/getwd.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/dup2.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/errno.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idir -I/<>/ksh-93u+20120801/src/lib/libast/dir -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/preroot/getpreroot.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/preroot/ispreroot.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/preroot/realopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/preroot/setpreroot.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/getgroups.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/mount.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/system.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/iblocks.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Istring -I/<>/ksh-93u+20120801/src/lib/libast/string -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/modedata.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/tm/tmdata.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/memfatal.c /<>/ksh-93u+20120801/src/lib/libast/disc/memfatal.c:78:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (disc = vmdisc(Vmregion, NiL)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/memfatal.c:78:11: note: place parentheses around the assignment to silence this warning if (disc = vmdisc(Vmregion, NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/disc/memfatal.c:78:11: note: use '==' to turn this assignment into an equality comparison if (disc = vmdisc(Vmregion, NiL)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:35: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:35: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:35: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:35: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:35: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:185:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = *--v) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:185:10: note: place parentheses around the assignment to silence this warning if (i = *--v) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:185:10: note: use '==' to turn this assignment into an equality comparison if (i = *--v) ^ == /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:251:32: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!s && (!h || !fp->tmp[1] && !(fp->tmp[1] = sfstropen()) || sfprintf(fp->tmp[1], "%I*d", sizeof(n), n) <= 0 || !(s = sfstruse(fp->tmp[1])))) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:251:32: note: place parentheses around the '&&' expression to silence this warning if (!s && (!h || !fp->tmp[1] && !(fp->tmp[1] = sfstropen()) || sfprintf(fp->tmp[1], "%I*d", sizeof(n), n) <= 0 || !(s = sfstruse(fp->tmp[1])))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:270:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!fp->tmp[0] && !(fp->tmp[0] = sfstropen()) || sfprintf(fp->tmp[0], "%!", &fmt) <= 0 || !(s = sfstruse(fp->tmp[0]))) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:270:23: note: place parentheses around the '&&' expression to silence this warning if (!fp->tmp[0] && !(fp->tmp[0] = sfstropen()) || sfprintf(fp->tmp[0], "%!", &fmt) <= 0 || !(s = sfstruse(fp->tmp[0]))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:326:101: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!fp->convert || !(value->s = (*fp->convert)(fp->handle, &fp->fmt, a, s, n))) && (!fp->tmp[0] && !(fp->tmp[0] = sfstropen()) || sfprintf(fp->tmp[0], "%%%c", fp->fmt.fmt) <= 0 || !(value->s = sfstruse(fp->tmp[0])))) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfkeyprintf.c:326:101: note: place parentheses around the '&&' expression to silence this warning if ((!fp->convert || !(value->s = (*fp->convert)(fp->handle, &fp->fmt, a, s, n))) && (!fp->tmp[0] && !(fp->tmp[0] = sfstropen()) || sfprintf(fp->tmp[0], "%%%c", fp->fmt.fmt) <= 0 || !(value->s = sfstruse(fp->tmp[0])))) ^ ( ) 7 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfkeyprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idisc -I/<>/ksh-93u+20120801/src/lib/libast/disc -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdio.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdio.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdio.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdio.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdio.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdio.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdcdio.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idisc -I/<>/ksh-93u+20120801/src/lib/libast/disc -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdos.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdos.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdos.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdos.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdos.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdos.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdos.c:173:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp->maptable=(struct map*)malloc((MINMAP+1)*sizeof(struct map))) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdos.c:173:18: note: place parentheses around the assignment to silence this warning if(dp->maptable=(struct map*)malloc((MINMAP+1)*sizeof(struct map))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcdos.c:173:18: note: use '==' to turn this assignment into an equality comparison if(dp->maptable=(struct map*)malloc((MINMAP+1)*sizeof(struct map))) ^ == 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdcdos.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idisc -I/<>/ksh-93u+20120801/src/lib/libast/disc -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcfilter.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcfilter.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcfilter.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcfilter.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcfilter.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcfilter.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdcfilter.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idisc -I/<>/ksh-93u+20120801/src/lib/libast/disc -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcseekable.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcseekable.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcseekable.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcseekable.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcseekable.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcseekable.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdcseekable.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idisc -I/<>/ksh-93u+20120801/src/lib/libast/disc -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcslow.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcslow.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcslow.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcslow.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcslow.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcslow.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdcslow.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idisc -I/<>/ksh-93u+20120801/src/lib/libast/disc -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcsubstr.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcsubstr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdcsubstr.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idisc -I/<>/ksh-93u+20120801/src/lib/libast/disc -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfdctee.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdctee.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdctee.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdctee.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdctee.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdctee.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdctee.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idisc -I/<>/ksh-93u+20120801/src/lib/libast/disc -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcunion.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcunion.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcunion.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcunion.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcunion.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcunion.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdcunion.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idisc -I/<>/ksh-93u+20120801/src/lib/libast/disc -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:103:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (n = strlen(label)) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:103:13: note: place parentheses around the assignment to silence this warning else if (n = strlen(label)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:103:13: note: use '==' to turn this assignment into an equality comparison else if (n = strlen(label)) ^ == /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:104:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(wfd, label, n); ^~~~~ ~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:129:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(wfd, " ", 1); ^~~~~ ~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:127:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(wfd, "\r", 1); ^~~~~ ~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:130:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(wfd, "\r", 1); ^~~~~ ~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:195:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if (++more->col <= more->cols || s < e && *s == '\n') ~~ ~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:195:43: note: place parentheses around the '&&' expression to silence this warning if (++more->col <= more->cols || s < e && *s == '\n') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:227:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (more->match = strlen(more->pattern)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:227:20: note: place parentheses around the assignment to silence this warning if (more->match = strlen(more->pattern)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:227:20: note: use '==' to turn this assignment into an equality comparison if (more->match = strlen(more->pattern)) ^ == /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:273:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = more->input) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:273:9: note: place parentheses around the assignment to silence this warning if (f = more->input) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:273:9: note: use '==' to turn this assignment into an equality comparison if (f = more->input) ^ == /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:278:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (f = more->error) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:278:14: note: place parentheses around the assignment to silence this warning else if (f = more->error) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcmore.c:278:14: note: use '==' to turn this assignment into an equality comparison else if (f = more->error) ^ == 12 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdcmore.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idisc -I/<>/ksh-93u+20120801/src/lib/libast/disc -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcprefix.c In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcprefix.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcprefix.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcprefix.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcprefix.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdcprefix.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/disc/sfdchdr.h:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdcprefix.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/wc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/wc.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/wc.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/wc.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/wc.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/wc.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making wc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/string/wc2utf8.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/comp/basename.c + cmp -s /<>/ksh-93u+20120801/src/lib/libast/include/namval.h ast_namval.h + rm -f ast_namval.h + silent test -d . + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/include/namval.h ast_namval.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/closelog.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/comp/dirname.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/fmtmsglib.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/fnmatch.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/fnmatch.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/fnmatch.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/fnmatch.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/fnmatch.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/fnmatch.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fnmatch.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/ftw.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/getdate.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/getsubopt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Idir -I/<>/ksh-93u+20120801/src/lib/libast/dir -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:38: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:38: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:38: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:38: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:38: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:93:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:93:12: note: place parentheses around the assignment to silence this warning while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:93:12: note: use '==' to turn this assignment into an equality comparison while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:224:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*dp++ = c); ~~~~~~^~~ /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:224:17: note: place parentheses around the assignment to silence this warning } while (*dp++ = c); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:224:17: note: use '==' to turn this assignment into an equality comparison } while (*dp++ = c); ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:458:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (starstar = (p[2]==0)) ~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:458:17: note: place parentheses around the assignment to silence this warning if (starstar = (p[2]==0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:458:17: note: use '==' to turn this assignment into an equality comparison if (starstar = (p[2]==0)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:482:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!starstar && !gp->gl_starstar || (*gp->gl_type)(gp, dirname, GLOB_STARSTAR) == GLOB_DIR) && (dirf = (*gp->gl_diropen)(gp, dirname))) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:482:18: note: place parentheses around the '&&' expression to silence this warning if ((!starstar && !gp->gl_starstar || (*gp->gl_type)(gp, dirname, GLOB_STARSTAR) == GLOB_DIR) && (dirf = (*gp->gl_diropen)(gp, dirname))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:488:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:488:14: note: place parentheses around the assignment to silence this warning if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:488:14: note: use '==' to turn this assignment into an equality comparison if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:503:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = regcomp(&rec, pat, gp->re_flags)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:503:14: note: place parentheses around the assignment to silence this warning if (err = regcomp(&rec, pat, gp->re_flags)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:503:14: note: use '==' to turn this assignment into an equality comparison if (err = regcomp(&rec, pat, gp->re_flags)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:531:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (notdir = (gp->gl_status & GLOB_NOTDIR)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:531:16: note: place parentheses around the assignment to silence this warning if (notdir = (gp->gl_status & GLOB_NOTDIR)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:531:16: note: use '==' to turn this assignment into an equality comparison if (notdir = (gp->gl_status & GLOB_NOTDIR)) ^ == /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:535:48: warning: '&&' within '||' [-Wlogical-op-parentheses] if (matchdir && (name[0] != '.' || name[1] && (name[1] != '.' || name[2])) && !notdir) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:535:48: note: place parentheses around the '&&' expression to silence this warning if (matchdir && (name[0] != '.' || name[1] && (name[1] != '.' || name[2])) && !notdir) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:547:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (err || errno && !errorcheck(gp, dirname)) ~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/misc/glob.c:547:21: note: place parentheses around the '&&' expression to silence this warning if (err || errno && !errorcheck(gp, dirname)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making glob.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/nftw.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/openlog.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/re_comp.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/re_comp.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/re_comp.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/re_comp.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/re_comp.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/re_comp.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making re_comp.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/resolvepath.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/realpath.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:92:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:92:13: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:92:13: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:151:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (s = va_arg(ap, char*)); ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:151:14: note: place parentheses around the assignment to silence this warning } while (s = va_arg(ap, char*)); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:151:14: note: use '==' to turn this assignment into an equality comparison } while (s = va_arg(ap, char*)); ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:184:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (re->nsub = nsub) ~~~~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:184:15: note: place parentheses around the assignment to silence this warning if (re->nsub = nsub) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:184:15: note: use '==' to turn this assignment into an equality comparison if (re->nsub = nsub) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:215:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = re->sub[n]) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:215:9: note: place parentheses around the assignment to silence this warning if (i = re->sub[n]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/regcmp.c:215:9: note: use '==' to turn this assignment into an equality comparison if (i = re->sub[n]) ^ == 7 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regcmp.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/regexp.c In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/regexp.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/regexp.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/regexp.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/regexp.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/comp/regexp.c:31: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/comp/regexp.c:100:72: warning: '&&' within '||' [-Wlogical-op-parentheses] if (regexec(&env->re, subject, elementsof(match), match, 0) || anchor && match[0].rm_so) ~~ ~~~~~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/regexp.c:100:72: note: place parentheses around the '&&' expression to silence this warning if (regexec(&env->re, subject, elementsof(match), match, 0) || anchor && match[0].rm_so) ^ ( ) 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regexp.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/setlogmask.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strftime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/strptime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/swab.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/syslog.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/tempnam.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:72:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(offset=staktell()) ~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:72:11: note: place parentheses around the assignment to silence this warning if(offset=staktell()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:72:11: note: use '==' to turn this assignment into an equality comparison if(offset=staktell()) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:88:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:88:10: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:88:10: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:97:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c= *cp) ~^~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:97:9: note: place parentheses around the assignment to silence this warning if(c= *cp) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:97:9: note: use '==' to turn this assignment into an equality comparison if(c= *cp) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:115:39: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] else if(!quoted && strchr("|&\n;<>"+ac,c)) ~~~~~~~~~^~~ /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:115:39: note: use array indexing to silence this warning else if(!quoted && strchr("|&\n;<>"+ac,c)) ^ & [ ] /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:144:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c=sfclose(iop)) ~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:144:6: note: place parentheses around the assignment to silence this warning if(c=sfclose(iop)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:144:6: note: use '==' to turn this assignment into an equality comparison if(c=sfclose(iop)) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:157:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(av = (char**)malloc(c*sizeof(char*))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:157:13: note: place parentheses around the assignment to silence this warning else if(av = (char**)malloc(c*sizeof(char*))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:157:13: note: use '==' to turn this assignment into an equality comparison else if(av = (char**)malloc(c*sizeof(char*))) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:186:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *cp++); ~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:186:10: note: place parentheses around the assignment to silence this warning while(c= *cp++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:186:10: note: use '==' to turn this assignment into an equality comparison while(c= *cp++); ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:207:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(arg=argnext) ~~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:207:12: note: place parentheses around the assignment to silence this warning while(arg=argnext) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.c:207:12: note: use '==' to turn this assignment into an equality comparison while(arg=argnext) ^ == 8 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/mktime.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regalloc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regalloc.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regalloc.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regalloc.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regalloc.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regalloc.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regalloc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regclass.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regclass.c:27: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regclass.c:27: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regclass.c:27: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regclass.c:27: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regclass.c:27: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regclass.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regcoll.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcoll.c:27: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcoll.c:27: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcoll.c:27: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcoll.c:27: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcoll.c:27: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcoll.c:55:37: warning: '&&' within '||' [-Wlogical-op-parentheses] if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcoll.c:55:37: note: place parentheses around the '&&' expression to silence this warning if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcoll.c:55:75: warning: '&&' within '||' [-Wlogical-op-parentheses] if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcoll.c:55:75: note: place parentheses around the '&&' expression to silence this warning if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') ^ ( ) 5 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regcoll.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:150:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:150:8: note: place parentheses around the assignment to silence this warning if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:150:8: note: use '==' to turn this assignment into an equality comparison if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra)) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:149:120: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0800,(sfprintf(sfstdout, "%s:%d node(%d,%d,%d,%u)\n", file, line, type, lo, hi, sizeof(Rex_t) + extra)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:223:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (e = x); ~~^~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:223:14: note: place parentheses around the assignment to silence this warning } while (e = x); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:223:14: note: use '==' to turn this assignment into an equality comparison } while (e = x); ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:263:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (e = e->next); ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:263:14: note: place parentheses around the assignment to silence this warning } while (e = e->next); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:263:14: note: use '==' to turn this assignment into an equality comparison } while (e = e->next); ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:301:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (e = e->next); ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:301:13: note: place parentheses around the assignment to silence this warning } while (e = e->next); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:301:13: note: use '==' to turn this assignment into an equality comparison } while (e = e->next); ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:478:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if (e->re.group.number && ++env->stats.p <= 0 || !e->re.group.number && ++env->stats.u <= 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:478:27: note: place parentheses around the '&&' expression to silence this warning if (e->re.group.number && ++env->stats.p <= 0 || !e->re.group.number && ++env->stats.u <= 0) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:478:73: warning: '&&' within '||' [-Wlogical-op-parentheses] if (e->re.group.number && ++env->stats.p <= 0 || !e->re.group.number && ++env->stats.u <= 0) ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:478:73: note: place parentheses around the '&&' expression to silence this warning if (e->re.group.number && ++env->stats.p <= 0 || !e->re.group.number && ++env->stats.u <= 0) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:517:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = e->re.group.expr.binary.right) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:517:10: note: place parentheses around the assignment to silence this warning if (q = e->re.group.expr.binary.right) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:517:10: note: use '==' to turn this assignment into an equality comparison if (q = e->re.group.expr.binary.right) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:635:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (e = e->next); ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:635:13: note: place parentheses around the assignment to silence this warning } while (e = e->next); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:635:13: note: use '==' to turn this assignment into an equality comparison } while (e = e->next); ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:652:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mp = state.magic[c]) ~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:652:9: note: place parentheses around the assignment to silence this warning if (mp = state.magic[c]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:652:9: note: use '==' to turn this assignment into an equality comparison if (mp = state.magic[c]) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:781:41: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type == SRE || c == T_BACK && !(env->flags & (REG_LENIENT|REG_REGEXP))) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:781:41: note: place parentheses around the '&&' expression to silence this warning if (env->type == SRE || c == T_BACK && !(env->flags & (REG_LENIENT|REG_REGEXP))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:862:145: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:862:145: note: place parentheses around the '&&' expression to silence this warning if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:862:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:862:24: note: place parentheses around the '&&' expression to silence this warning if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:862:90: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:862:90: note: place parentheses around the '&&' expression to silence this warning if (env->type >= SRE && !(env->flags & REG_SHELL_ESCAPED) || (env->flags & REG_ESCAPE) && (c == '[' || c == '-' || c == ']' || env->delimiter && c == env->delimiter)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:926:36: warning: expression result unused [-Wunused-value] if ((env->token.len = MBSIZE(env->cursor)) > 1) ~~~ ^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:962:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (posixkludge = env->posixkludge) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:962:18: note: place parentheses around the assignment to silence this warning if (posixkludge = env->posixkludge) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:962:18: note: use '==' to turn this assignment into an equality comparison if (posixkludge = env->posixkludge) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:979:43: warning: expression result unused [-Wunused-value] env->token.len += MBSIZE(env->cursor + 1); ~~~~~~~~~~~ ^ ~ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:988:40: warning: expression result unused [-Wunused-value] env->token.len += MBSIZE(env->cursor + 1); ~~~~~~~~~~~ ^ ~ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1006:163: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1006:163: note: place parentheses around the '&&' expression to silence this warning if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1006:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1006:24: note: place parentheses around the '&&' expression to silence this warning if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1006:224: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1006:224: note: place parentheses around the '&&' expression to silence this warning if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1195:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*env->cursor == '^' || env->type >= SRE && *env->cursor == '!') ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1195:46: note: place parentheses around the '&&' expression to silence this warning if (*env->cursor == '^' || env->type >= SRE && *env->cursor == '!') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1203:25: warning: expression result unused [-Wunused-value] start = first + MBSIZE(first); ^~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1204:215: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*env->cursor == 0 || *(env->cursor + 1) == 0 || *env->cursor == env->terminator || *(env->cursor + 1) == env->terminator || (env->flags & REG_ESCAPE) && (*env->cursor == env->delimiter || *env->cursor != '\\' && *(env->cursor + 1) == env->delimiter)) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1204:215: note: place parentheses around the '&&' expression to silence this warning if (*env->cursor == 0 || *(env->cursor + 1) == 0 || *env->cursor == env->terminator || *(env->cursor + 1) == env->terminator || (env->flags & REG_ESCAPE) && (*env->cursor == env->delimiter || *env->cursor != '\\' && *(env->cursor + 1) == env->delimiter)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1204:156: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*env->cursor == 0 || *(env->cursor + 1) == 0 || *env->cursor == env->terminator || *(env->cursor + 1) == env->terminator || (env->flags & REG_ESCAPE) && (*env->cursor == env->delimiter || *env->cursor != '\\' && *(env->cursor + 1) == env->delimiter)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1204:156: note: place parentheses around the '&&' expression to silence this warning if (*env->cursor == 0 || *(env->cursor + 1) == 0 || *env->cursor == env->terminator || *(env->cursor + 1) == env->terminator || (env->flags & REG_ESCAPE) && (*env->cursor == env->delimiter || *env->cursor != '\\' && *(env->cursor + 1) == env->delimiter)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1206:36: warning: expression result unused [-Wunused-value] begin = env->cursor + MBSIZE(env->cursor); ~~~ ^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1215:74: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(c = *env->cursor) || c == env->terminator || c == env->delimiter && (env->flags & REG_ESCAPE)) ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1215:74: note: place parentheses around the '&&' expression to silence this warning if (!(c = *env->cursor) || c == env->terminator || c == env->delimiter && (env->flags & REG_ESCAPE)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1217:35: warning: expression result unused [-Wunused-value] env->cursor += (w = MBSIZE(env->cursor)); ~~~ ^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1218:87: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '\\' && ((env->flags & REG_CLASS_ESCAPE) || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1218:87: note: place parentheses around the '&&' expression to silence this warning if (c == '\\' && ((env->flags & REG_CLASS_ESCAPE) || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1249:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->token.len > 1 || w >= 0 && w < T_META) ~~ ~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1249:40: note: place parentheses around the '&&' expression to silence this warning if (env->token.len > 1 || w >= 0 && w < T_META) ~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1387:75: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*env->cursor == env->terminator || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1387:75: note: place parentheses around the '&&' expression to silence this warning if (*env->cursor == env->terminator || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1471:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ic = env->flags & REG_ICASE) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1471:11: note: place parentheses around the assignment to silence this warning if (ic = env->flags & REG_ICASE) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1471:11: note: use '==' to turn this assignment into an equality comparison if (ic = env->flags & REG_ICASE) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1482:86: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = *env->cursor) == 0 || c == env->terminator || (env->flags & REG_ESCAPE) && c == env->delimiter) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1482:86: note: place parentheses around the '&&' expression to silence this warning if ((c = *env->cursor) == 0 || c == env->terminator || (env->flags & REG_ESCAPE) && c == env->delimiter) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1485:37: warning: expression result unused [-Wunused-value] env->cursor += (w = MBSIZE(env->cursor)); ~~~ ^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1486:89: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == '\\' && ((env->flags & REG_CLASS_ESCAPE) || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1486:89: note: place parentheses around the '&&' expression to silence this warning if (c == '\\' && ((env->flags & REG_CLASS_ESCAPE) || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1515:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->token.len > 1 || w >= 0 && w < T_META) ~~ ~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1515:42: note: place parentheses around the '&&' expression to silence this warning if (env->token.len > 1 || w >= 0 && w < T_META) ~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1636:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c == 'l' || c == 'L' && !(c = 0)) ~~ ~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1636:33: note: place parentheses around the '&&' expression to silence this warning if (c == 'l' || c == 'L' && !(c = 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1638:38: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (c == 'u' || c == 'U' && !(c = 0)) ~~ ~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1638:38: note: place parentheses around the '&&' expression to silence this warning else if (c == 'u' || c == 'U' && !(c = 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1685:77: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*env->cursor == env->terminator || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1685:77: note: place parentheses around the '&&' expression to silence this warning if (*env->cursor == env->terminator || *env->cursor == env->delimiter && (env->flags & REG_ESCAPE)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1912:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = (Trie_node_t*)alloc(env->disc, 0, sizeof(Trie_node_t))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1912:8: note: place parentheses around the assignment to silence this warning if (t = (Trie_node_t*)alloc(env->disc, 0, sizeof(Trie_node_t))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:1912:8: note: use '==' to turn this assignment into an equality comparison if (t = (Trie_node_t*)alloc(env->disc, 0, sizeof(Trie_node_t))) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2178:38: warning: '&&' within '||' [-Wlogical-op-parentheses] if (typ >= 0 || env->type == ERE && (env->flags & REG_CLASS_ESCAPE)) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2178:38: note: place parentheses around the '&&' expression to silence this warning if (typ >= 0 || env->type == ERE && (env->flags & REG_CLASS_ESCAPE)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2227:38: warning: '&&' within '||' [-Wlogical-op-parentheses] if (typ >= 0 || env->type == ERE && (env->flags & REG_CLASS_ESCAPE)) ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2227:38: note: place parentheses around the '&&' expression to silence this warning if (typ >= 0 || env->type == ERE && (env->flags & REG_CLASS_ESCAPE)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2450:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *env->cursor) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2450:12: note: place parentheses around the assignment to silence this warning while (c = *env->cursor) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2450:12: note: use '==' to turn this assignment into an equality comparison while (c = *env->cursor) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2796:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = bra(env)) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2796:11: note: place parentheses around the assignment to silence this warning if (e = bra(env)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2796:11: note: use '==' to turn this assignment into an equality comparison if (e = bra(env)) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2806:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = ccl(env, c)) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2806:11: note: place parentheses around the assignment to silence this warning if (e = ccl(env, c)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2806:11: note: use '==' to turn this assignment into an equality comparison if (e = ccl(env, c)) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2831:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = node(env, REX_ONECHAR, 1, 1, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2831:11: note: place parentheses around the assignment to silence this warning if (e = node(env, REX_ONECHAR, 1, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2831:11: note: use '==' to turn this assignment into an equality comparison if (e = node(env, REX_ONECHAR, 1, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2958:61: warning: '&&' within '||' [-Wlogical-op-parentheses] if (z == HIT || !a->re.bm.skip[c] || a->re.bm.skip[c] > z && a->re.bm.skip[c] < HIT) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2958:61: note: place parentheses around the '&&' expression to silence this warning if (z == HIT || !a->re.bm.skip[c] || a->re.bm.skip[c] > z && a->re.bm.skip[c] < HIT) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2969:62: warning: '&&' within '||' [-Wlogical-op-parentheses] if (z == HIT || !a->re.bm.skip[c] || a->re.bm.skip[c] > z && a->re.bm.skip[c] < HIT) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2969:62: note: place parentheses around the '&&' expression to silence this warning if (z == HIT || !a->re.bm.skip[c] || a->re.bm.skip[c] > z && a->re.bm.skip[c] < HIT) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2998:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (x = x->sib); ~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2998:13: note: place parentheses around the assignment to silence this warning } while (x = x->sib); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:2998:13: note: use '==' to turn this assignment into an equality comparison } while (x = x->sib); ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3025:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = p->env->rex) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3025:8: note: place parentheses around the assignment to silence this warning if (e = p->env->rex) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3025:8: note: use '==' to turn this assignment into an equality comparison if (e = p->env->rex) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3074:48: warning: '&&' within '||' [-Wlogical-op-parentheses] a->re.bm.complete = (env->stats.e || y != e && (e->type != REX_GROUP || y != e->re.group.expr.rex) || e->next || ((a->re.bm.left + a->re.bm.right) >= 0)) ? 0 : n; ~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3074:48: note: place parentheses around the '&&' expression to silence this warning a->re.bm.complete = (env->stats.e || y != e && (e->type != REX_GROUP || y != e->re.group.expr.rex) || e->next || ((a->re.bm.left + a->re.bm.right) >= 0)) ? 0 : n; ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3110:96: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,sfprintf(sfstderr, "CUT1: mask[%d][%c]=mask[%d][%c]\n", k, m, j, m), (0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3113:152: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,sfprintf(sfstderr, "BM#2: fail[%d]=%d => %d\n", k, a->re.bm.fail[k], (a->re.bm.fail[k] > n - j) ? (n - j) : a->re.bm.fail[k]), (0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3104:72: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,(sfprintf(sfstderr, "BM#0: k=%d j=%d\n", k, j)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3122:106: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,sfprintf(sfstderr, "BM#4: fail[%d]=%d => %d\n", i, a->re.bm.fail[i], n + k - i), (0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:51:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3375:71: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!(env.flags & REG_FIRST) && (env.stats.a || env.stats.c > 1 && env.stats.c != env.stats.s || env.stats.t && (env.stats.t > 1 || env.stats.a || env.stats.c))) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3375:71: note: place parentheses around the '&&' expression to silence this warning else if (!(env.flags & REG_FIRST) && (env.stats.a || env.stats.c > 1 && env.stats.c != env.stats.s || env.stats.t && (env.stats.t > 1 || env.stats.a || env.stats.c))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3375:116: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!(env.flags & REG_FIRST) && (env.stats.a || env.stats.c > 1 && env.stats.c != env.stats.s || env.stats.t && (env.stats.t > 1 || env.stats.a || env.stats.c))) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcomp.c:3375:116: note: place parentheses around the '&&' expression to silence this warning else if (!(env.flags & REG_FIRST) && (env.stats.a || env.stats.c > 1 && env.stats.c != env.stats.s || env.stats.t && (env.stats.t > 1 || env.stats.a || env.stats.c))) ^ ( ) 57 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regcomp.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:99:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:99:25: note: place parentheses around the assignment to silence this warning if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:99:25: note: use '==' to turn this assignment into an equality comparison if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:183:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = regcomp(&cp->re, pattern, reflags)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:183:9: note: place parentheses around the assignment to silence this warning if (i = regcomp(&cp->re, pattern, reflags)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regcache.c:183:9: note: use '==' to turn this assignment into an equality comparison if (i = regcomp(&cp->re, pattern, reflags)) ^ == 5 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regcache.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:68:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (x = x->son); ~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:68:13: note: place parentheses around the assignment to silence this warning } while (x = x->son); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:68:13: note: use '==' to turn this assignment into an equality comparison } while (x = x->son); ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:286:39: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (e->hi != 1 || e->lo == 0 && !ismeta('?', type, 0, delimiter)) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:286:39: note: place parentheses around the '&&' expression to silence this warning else if (e->hi != 1 || e->lo == 0 && !ismeta('?', type, 0, delimiter)) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:361:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = e->re.group.expr.binary.right) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:361:10: note: place parentheses around the assignment to silence this warning if (q = e->re.group.expr.binary.right) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:361:10: note: use '==' to turn this assignment into an equality comparison if (q = e->re.group.expr.binary.right) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:385:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (e = e->next); ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:385:13: note: place parentheses around the assignment to silence this warning } while (e = e->next); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regdecomp.c:385:13: note: use '==' to turn this assignment into an equality comparison } while (e = e->next); ^ == 7 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regdecomp.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regerror.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regerror.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regerror.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regerror.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regerror.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regerror.c:30: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regerror.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regexec.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regexec.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regfatal.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regfatal.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regfatal.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regfatal.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regfatal.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regfatal.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regfatal.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/reginit.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reginit.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reginit.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reginit.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reginit.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reginit.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making reginit.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:316:402: warning: expression result unused [-Wunused-value] DEBUG_CODE(0x0080,{sfprintf(sfstdout, " %-*.*sold ", (level + 3) * 4, (level + 3) * 4, "");for (oe = os; oe < oend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n %-*.*snew ", (level + 3) * 4, (level + 3) * 4, "");for (oe = ns; oe < nend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n");},{0;}); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:102:31: note: expanded from macro 'DEBUG_CODE' #define DEBUG_CODE(f,y,n) do {n} while(0) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:357:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = better(env, os + 1, ns + 1, oe, ne, level + 1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:357:9: note: place parentheses around the assignment to silence this warning if (k = better(env, os + 1, ns + 1, oe, ne, level + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:357:9: note: use '==' to turn this assignment into an equality comparison if (k = better(env, os + 1, ns + 1, oe, ne, level + 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:444:405: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x PUSH %d (%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)(%z,%z)\n", __LINE__, debug_flag, rex->re.group.number, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo, env->match[2].rm_so, env->match[2].rm_eo)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:452:409: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x POP %d %d (%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)(%z,%z)\n", __LINE__, debug_flag, rex->re.group.number, r, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo, env->match[2].rm_so, env->match[2].rm_eo)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:447:157: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,(sfprintf(sfstdout, "AHA#%04d 0x%04x parserep parse %d %d `%-.*s'\n", __LINE__, debug_flag, rex->re.group.number, r, env->end - s, s)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:408:210: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0010,(sfprintf(sfstdout, "AHA#%04d 0x%04x parserep %s %d %d %d %d `%-.*s'\n", __LINE__, debug_flag, rexname(rex->re.group.expr.rex), rex->re.group.number, rex->lo, n, rex->hi, env->end - s, s)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:504:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = rex->map) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:504:8: note: place parentheses around the assignment to silence this warning if (p = rex->map) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:504:8: note: use '==' to turn this assignment into an equality comparison if (p = rex->map) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:662:18: warning: expression result unused [-Wunused-value] if ((w = MBSIZE(s)) > 1) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1117:26: warning: expression result unused [-Wunused-value] s += b[i] = MBSIZE(s); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1158:19: warning: expression result unused [-Wunused-value] s += MBSIZE(s); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1160:44: warning: expression result unused [-Wunused-value] for (; s <= e && i <= n; s += MBSIZE(s), i++) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1179:131: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0200,(sfprintf(sfstdout,"AHA#%04d 0x%04x parse %s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), env->end - s, s)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1201:170: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0200,(sfprintf(sfstdout,"AHA#%04d 0x%04x parse %s=>%s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), rexname(rex->re.group_catch.cont), env->end - s, s)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1284:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = rex->re.group.expr.binary.right) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1284:10: note: place parentheses around the assignment to silence this warning if (q = rex->re.group.expr.binary.right) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1284:10: note: use '==' to turn this assignment into an equality comparison if (q = rex->re.group.expr.binary.right) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1291:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = rex->re.group.expr.binary.left) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1291:10: note: place parentheses around the assignment to silence this warning if (q = rex->re.group.expr.binary.left) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1291:10: note: use '==' to turn this assignment into an equality comparison if (q = rex->re.group.expr.binary.left) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1304:59: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!rex->re.group.size || rex->re.group.size > 0 && env->match[rex->re.group.size].rm_so >= 0) ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1304:59: note: place parentheses around the '&&' expression to silence this warning else if (!rex->re.group.size || rex->re.group.size > 0 && env->match[rex->re.group.size].rm_so >= 0) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1308:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = catcher.re.cond_catch.next[r != NONE]) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1308:10: note: place parentheses around the assignment to silence this warning if (q = catcher.re.cond_catch.next[r != NONE]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1308:10: note: use '==' to turn this assignment into an equality comparison if (q = catcher.re.cond_catch.next[r != NONE]) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1352:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = rex->map) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1352:10: note: place parentheses around the assignment to silence this warning if (p = rex->map) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1352:10: note: use '==' to turn this assignment into an equality comparison if (p = rex->map) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1493:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = rex->map) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1493:12: note: place parentheses around the assignment to silence this warning if (p = rex->map) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1493:12: note: use '==' to turn this assignment into an equality comparison if (p = rex->map) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1571:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = rex->map) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1571:12: note: place parentheses around the assignment to silence this warning if (p = rex->map) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1571:12: note: use '==' to turn this assignment into an equality comparison if (p = rex->map) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1678:191: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0020,(sfprintf(sfstdout, "AHA#%04d 0x%04x %s n %d len %d s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), rex->re.rep_catch.n, s - rex->re.rep_catch.beg, env->end - s, s)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1688:69: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!env->stack || s != rex->re.rep_catch.ref->re.rep_catch.beg && !rex->re.rep_catch.ref->re.group.expr.rex->re.group.back) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1688:69: note: place parentheses around the '&&' expression to silence this warning if (!env->stack || s != rex->re.rep_catch.ref->re.rep_catch.beg && !rex->re.rep_catch.ref->re.group.expr.rex->re.group.back) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1687:256: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0002,(sfprintf(sfstdout, "AHA#%04d %p re.group.back=%d re.group.expr.rex=%s\n", __LINE__, rex->re.rep_catch.ref->re.group.expr.rex, rex->re.rep_catch.ref->re.group.expr.rex->re.group.back, rexname(rex->re.rep_catch.ref->re.group.expr.rex))),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1704:183: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0200,(sfprintf(sfstdout,"AHA#%04d 0x%04x parse %s \"%-.*s\" `%-.*s'\n", __LINE__, debug_flag, rexname(rex), rex->re.string.size, rex->re.string.base, env->end - s, s)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1754:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!isword(*s) || s > env->beg && isword(*(s - 1))) ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1754:36: note: place parentheses around the '&&' expression to silence this warning if (!isword(*s) || s > env->beg && isword(*(s - 1))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1758:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isword(*s) || s > env->beg && !isword(*(s - 1))) ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1758:35: note: place parentheses around the '&&' expression to silence this warning if (isword(*s) || s > env->beg && !isword(*(s - 1))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1040:391: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0100,(sfprintf(sfstdout,"AHA#%04d 0x%04x %s (%z,%z)(%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)\n", __LINE__, debug_flag, rexname(rex), env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->best[3].rm_so, env->best[3].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1071:391: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0100,(sfprintf(sfstdout,"AHA#%04d 0x%04x %s (%z,%z)(%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)\n", __LINE__, debug_flag, rexname(rex), env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->best[3].rm_so, env->best[3].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:819:132: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0008,(sfprintf(sfstdout, "AHA#%04d 0x%04x parse %s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), env->end - s, s)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1865:100: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REG_NOMATCH %d %d\n", __LINE__, len, env->min)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1875:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1875:58: note: place parentheses around the '&&' expression to silence this warning if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1875:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1875:17: note: place parentheses around the assignment to silence this warning if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1875:17: note: use '==' to turn this assignment into an equality comparison if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1879:17: warning: '&&' within '||' [-Wlogical-op-parentheses] !env->pos && !(env->pos = vecopen(16, sizeof(Pos_t))) || ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1879:17: note: place parentheses around the '&&' expression to silence this warning !env->pos && !(env->pos = vecopen(16, sizeof(Pos_t))) || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1880:21: warning: '&&' within '||' [-Wlogical-op-parentheses] !env->bestpos && !(env->bestpos = vecopen(16, sizeof(Pos_t)))) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1880:21: note: place parentheses around the '&&' expression to silence this warning !env->bestpos && !(env->bestpos = vecopen(16, sizeof(Pos_t)))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1901:107: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REG_NOMATCH %d %d\n", __LINE__, len, e->re.bm.right)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1921:100: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REG_NOMATCH %d %d\n", __LINE__, index, HIT)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1915:176: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REX_BM len=%d right=%d left=%d size=%d %d %d\n", __LINE__, len, e->re.bm.right, e->re.bm.left, e->re.bm.size, index, mid)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1898:74: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REX_BM\n", __LINE__)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1970:102: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((i = parse(env, e, &env->done, (unsigned char*)s)) == NONE || advance && !env->best[0].rm_eo && !(advance = 0)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1970:102: note: place parentheses around the '&&' expression to silence this warning while ((i = parse(env, e, &env->done, (unsigned char*)s)) == NONE || advance && !env->best[0].rm_eo && !(advance = 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1974:14: warning: expression result unused [-Wunused-value] i = MBSIZE(s); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:72:40: note: expanded from macro 'MBSIZE' #define MBSIZE(p) ((ast.tmp_int=mbsize(p))>0?ast.tmp_int:1) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1984:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = env->error) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1984:8: note: place parentheses around the assignment to silence this warning if (k = env->error) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1984:8: note: use '==' to turn this assignment into an equality comparison if (k = env->error) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1858:135: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0001,(sfprintf(sfstdout, "AHA#%04d 0x%04x regnexec %d 0x%08x `%-.*s'\n", __LINE__, debug_flag, nmatch, flags, len, s)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1894:42: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x1000,(list(env,env->rex)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:1969:83: warning: expression result unused [-Wunused-value] DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d parse once=%d\n", __LINE__, j)),(0)); ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regnexec.c:101:28: note: expanded from macro 'DEBUG_TEST' #define DEBUG_TEST(f,y,n) (n) ^ 47 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regnexec.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:185:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = regsubflags(p, s, &e, d, map, &minmatch, &flags)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:185:10: note: place parentheses around the assignment to silence this warning if (n = regsubflags(p, s, &e, d, map, &minmatch, &flags)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:185:10: note: use '==' to turn this assignment into an equality comparison if (n = regsubflags(p, s, &e, d, map, &minmatch, &flags)) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:269:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *s) ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:269:10: note: place parentheses around the assignment to silence this warning if (c = *s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:269:10: note: use '==' to turn this assignment into an equality comparison if (c = *s) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:278:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *s) ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:278:10: note: place parentheses around the assignment to silence this warning if (c = *s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:278:10: note: use '==' to turn this assignment into an equality comparison if (c = *s) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:334:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (op->len = (t - sub->re_rhs) - op->off) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:334:15: note: place parentheses around the assignment to silence this warning if (op->len = (t - sub->re_rhs) - op->off) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regsubcomp.c:334:15: note: use '==' to turn this assignment into an equality comparison if (op->len = (t - sub->re_rhs) - op->off) ^ == 7 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regsubcomp.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c:173:14: warning: '&&' within '||' [-Wlogical-op-parentheses] if (m <= 0 && !(b->re_flags & REG_SUB_ALL) || !*s) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c:173:14: note: place parentheses around the '&&' expression to silence this warning if (m <= 0 && !(b->re_flags & REG_SUB_ALL) || !*s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c:175:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c:175:9: note: place parentheses around the assignment to silence this warning if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regsubexec.c:175:9: note: use '==' to turn this assignment into an equality comparison if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADVANCE : 0))) ^ == 5 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regsubexec.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:123:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *sp) ~~^~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:123:10: note: place parentheses around the assignment to silence this warning if (c = *sp) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:123:10: note: use '==' to turn this assignment into an equality comparison if (c = *sp) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:141:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = *sp) ~~^~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:141:10: note: place parentheses around the assignment to silence this warning if (c = *sp) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:141:10: note: use '==' to turn this assignment into an equality comparison if (c = *sp) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:260:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = subold(dp, op, sp, nmatch, match, flags, sre)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:260:10: note: place parentheses around the assignment to silence this warning if (r = subold(dp, op, sp, nmatch, match, flags, sre)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regsub.c:260:10: note: use '==' to turn this assignment into an equality comparison if (r = subold(dp, op, sp, nmatch, match, flags, sre)) ^ == 6 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regsub.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regrecord.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regrecord.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regrecord.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regrecord.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regrecord.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regrecord.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regrecord.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:29: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:109:62: warning: '&&' within '||' [-Wlogical-op-parentheses] if (complete || (env->rex = ((r - l) > 128) ? e : e->next) && !(n = regnexec(p, (char*)l, r - l, nmatch, match, flags))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:109:62: note: place parentheses around the '&&' expression to silence this warning if (complete || (env->rex = ((r - l) > 128) ? e : e->next) && !(n = regnexec(p, (char*)l, r - l, nmatch, match, flags))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:119:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = (*record)(handle, (char*)beg, x - beg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:119:12: note: place parentheses around the assignment to silence this warning if (n = (*record)(handle, (char*)beg, x - beg)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:119:12: note: use '==' to turn this assignment into an equality comparison if (n = (*record)(handle, (char*)beg, x - beg)) ^ == /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:124:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (n = (*record)(handle, (char*)l, r - l)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:124:15: note: place parentheses around the assignment to silence this warning else if (n = (*record)(handle, (char*)l, r - l)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/regex/regrexec.c:124:15: note: use '==' to turn this assignment into an equality comparison else if (n = (*record)(handle, (char*)l, r - l)) ^ == 6 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regrexec.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iregex -I/<>/ksh-93u+20120801/src/lib/libast/regex -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/regex/regstat.c In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regstat.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regstat.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regstat.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regstat.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/regstat.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/regex/reglib.h:63: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/regex/regstat.c:49:31: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!e || e->type == REX_END && !e->next) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/regex/regstat.c:49:31: note: place parentheses around the '&&' expression to silence this warning if (!e || e->type == REX_END && !e->next) ^ ( ) 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making regstat.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtclose.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtdisc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dthash.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtlist.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtmethod.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtstrhash.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dttree.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtview.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icdt -I/<>/ksh-93u+20120801/src/lib/libast/cdt -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtwalk.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtnew.c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtnew.c:70:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dt = _dtopen(&dc.ndisc, meth, version)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/cdt/dtnew.c:70:9: note: place parentheses around the assignment to silence this warning if (dt = _dtopen(&dc.ndisc, meth, version)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/cdt/dtnew.c:70:9: note: use '==' to turn this assignment into an equality comparison if (dt = _dtopen(&dc.ndisc, meth, version)) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/cdt/dtcomp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclose.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclose.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclose.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclose.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclose.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclose.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfclose.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclrlock.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclrlock.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclrlock.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclrlock.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclrlock.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfclrlock.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfclrlock.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdisc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdisc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdisc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdisc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdisc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdisc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdisc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdlen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdlen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdlen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdlen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdlen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfdlen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfdlen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfexcept.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfexcept.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfexcept.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfexcept.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfexcept.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfexcept.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfexcept.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetl.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfgetl.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetu.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfgetu.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:25: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:25: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:25: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:25: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:25: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:141:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = isinf(f)) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:141:9: note: place parentheses around the assignment to silence this warning if (n = isinf(f)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:141:9: note: use '==' to turn this assignment into an equality comparison if (n = isinf(f)) ^ == /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:319:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = isinf(f)) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:319:9: note: place parentheses around the assignment to silence this warning if (n = isinf(f)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfcvt.c:319:9: note: use '==' to turn this assignment into an equality comparison if (n = isinf(f)) ^ == 5 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfcvt.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfecvt.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfecvt.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfecvt.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfecvt.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfecvt.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfecvt.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfecvt.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sffcvt.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sffcvt.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sffcvt.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sffcvt.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sffcvt.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sffcvt.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sffcvt.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfextern.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfextern.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfextern.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfextern.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfextern.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfextern.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfextern.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sffilbuf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sffilbuf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sffilbuf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sffilbuf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sffilbuf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sffilbuf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sffilbuf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfflsbuf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfflsbuf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfflsbuf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfprints.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfprints.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfprints.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfprints.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfprints.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfprints.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfprints.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetd.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfgetd.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetr.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetr.c:121:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!found && (_Sfmaxr > 0 && un+n+1 >= _Sfmaxr || (f->flags&SF_STRING))) /* already exceed limit */ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetr.c:121:29: note: place parentheses around the '&&' expression to silence this warning if(!found && (_Sfmaxr > 0 && un+n+1 >= _Sfmaxr || (f->flags&SF_STRING))) /* already exceed limit */ ^ ( ) 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfgetr.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfllen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfllen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfllen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfllen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfllen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfllen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfllen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmode.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmode.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmode.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmode.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmode.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmode.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfmode.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmove.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmove.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmove.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmove.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmove.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmove.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfmove.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnew.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnew.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnew.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnew.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnew.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnew.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfnew.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpkrd.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpkrd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpkrd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpkrd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpkrd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpkrd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfpkrd.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnotify.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnotify.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnotify.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnotify.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnotify.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnotify.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfnotify.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnputc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnputc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnputc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnputc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnputc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfnputc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfnputc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfopen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfopen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpeek.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpeek.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpeek.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpeek.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpeek.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpeek.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfpeek.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpoll.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpoll.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpoll.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpoll.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpoll.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpoll.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfpoll.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpool.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpool.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpool.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpool.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpool.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpool.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfpool.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpopen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfpopen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfprintf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfprintf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputd.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfputd.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputl.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfputl.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputr.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfputr.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputu.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfputu.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfrd.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfrd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfrd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfrd.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfread.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfread.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfread.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfread.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfread.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfread.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfread.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfreserve.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfreserve.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfreserve.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfreserve.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfreserve.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfreserve.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfreserve.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfscanf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfscanf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfseek.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfseek.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfseek.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfseek.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfseek.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfseek.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfseek.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfset.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfset.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfset.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfset.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetbuf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetbuf.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetbuf.c:77:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(astsfio = getenv("SFIO_OPTIONS")) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetbuf.c:77:14: note: place parentheses around the assignment to silence this warning if(astsfio = getenv("SFIO_OPTIONS")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetbuf.c:77:14: note: use '==' to turn this assignment into an equality comparison if(astsfio = getenv("SFIO_OPTIONS")) ^ == 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfsetbuf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetfd.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetfd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetfd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetfd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetfd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsetfd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfsetfd.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsize.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsize.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsize.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsize.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsize.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsize.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfsize.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsk.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsk.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsk.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsk.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsk.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsk.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfsk.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstack.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstack.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstack.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstack.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstack.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstack.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfstack.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtod.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtod.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtod.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtod.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtod.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtod.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfstrtod.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsync.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsync.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsync.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsync.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsync.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfsync.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfsync.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfswap.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfswap.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfswap.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfswap.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfswap.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfswap.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfswap.o + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/sfinit.c iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/sfinit.c ... iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/sfinit.c ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sftable.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftable.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftable.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftable.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftable.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftable.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/sfio/sftable.c:75:22: warning: expression result unused [-Wunused-value] { form += SFMBLEN(form, &fmbs); ^~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:318:31: note: expanded from macro 'SFMBLEN' #define SFMBLEN(s,mb) mbsize(s) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sftable.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sftell.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftell.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftell.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftell.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftell.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftell.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sftell.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sftmp.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftmp.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftmp.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftmp.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftmp.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sftmp.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sftmp.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfungetc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfungetc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfungetc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfungetc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfungetc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfungetc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfungetc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvprintf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvprintf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvprintf.c:212:22: warning: expression result unused [-Wunused-value] { if((n = SFMBLEN(form, &fmbs)) <= 0) ^~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:318:31: note: expanded from macro 'SFMBLEN' #define SFMBLEN(s,mb) mbsize(s) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvprintf.c:1178:32: warning: '&&' within '||' [-Wlogical-op-parentheses] if(fmt == 'e' || fmt == 'E' && (v |= SFFMT_UPPER)) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvprintf.c:1178:32: note: place parentheses around the '&&' expression to silence this warning if(fmt == 'e' || fmt == 'E' && (v |= SFFMT_UPPER)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvprintf.c:1185:37: warning: '&&' within '||' [-Wlogical-op-parentheses] else if(fmt == 'f' || fmt == 'F' && (v |= SFFMT_UPPER)) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvprintf.c:1185:37: note: place parentheses around the '&&' expression to silence this warning else if(fmt == 'f' || fmt == 'F' && (v |= SFFMT_UPPER)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvprintf.c:1191:37: warning: '&&' within '||' [-Wlogical-op-parentheses] else if(fmt == 'a' || fmt == 'A' && (v |= SFFMT_UPPER)) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvprintf.c:1191:37: note: place parentheses around the '&&' expression to silence this warning else if(fmt == 'a' || fmt == 'A' && (v |= SFFMT_UPPER)) ^ ( ) 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfvprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvscanf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvscanf.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvscanf.c:35: /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:345:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'n' && c != 'N' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:345:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'n' && c != 'N' || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:346:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'f' && c != 'F') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:346:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'f' && c != 'F') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:369:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((c = GET(s)) != 'a' && c != 'A' || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:369:27: note: place parentheses around the '&&' expression to silence this warning if ((c = GET(s)) != 'a' && c != 'A' || ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:370:27: warning: '&&' within '||' [-Wlogical-op-parentheses] (c = GET(s)) != 'n' && c != 'N') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfstrtof.h:370:27: note: place parentheses around the '&&' expression to silence this warning (c = GET(s)) != 'n' && c != 'N') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvscanf.c:179:47: warning: expression result unused [-Wunused-value] if((flags&SFFMT_LONG) && (n = (int)SFMBLEN(form,&mbs)) <= 0) ^~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:318:31: note: expanded from macro 'SFMBLEN' #define SFMBLEN(s,mb) mbsize(s) ^ /<>/ksh-93u+20120801/src/lib/libast/include/ast.h:191:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvscanf.c:355:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!form || f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/sfio/sfvscanf.c:355:33: note: place parentheses around the '&&' expression to silence this warning if(!form || f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0) ^ ( ) 6 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfvscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwr.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfwr.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwrite.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwrite.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwrite.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwrite.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwrite.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwrite.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfwrite.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpurge.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpurge.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpurge.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpurge.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpurge.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfpurge.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfpurge.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfraise.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfraise.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfraise.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfraise.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfraise.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfraise.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfraise.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwalk.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwalk.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwalk.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwalk.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwalk.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfwalk.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfwalk.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetm.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfgetm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfgetm.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmutex.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmutex.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmutex.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmutex.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmutex.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfmutex.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfmutex.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputm.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfputm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfputm.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/sfresize.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfresize.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfresize.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfresize.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfresize.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfresize.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sfresize.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfclrerr.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfclrerr.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfclrerr.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfeof.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfeof.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfeof.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfeof.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfeof.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfeof.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfeof.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sferror.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sferror.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sferror.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sferror.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sferror.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sferror.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sferror.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sffileno.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sffileno.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sffileno.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sffileno.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sffileno.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sffileno.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sffileno.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfopen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfopen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfopen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfstacked.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfstacked.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfstacked.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfstacked.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfstacked.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfstacked.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfstacked.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfvalue.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfvalue.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfvalue.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfvalue.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfvalue.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfvalue.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfvalue.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfgetc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfgetl.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl2.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetl2.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfgetl2.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfgetu.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu2.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfgetu2.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfgetu2.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfdlen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfdlen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfdlen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfdlen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfdlen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfdlen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfdlen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfllen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfllen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfllen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfllen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfllen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfllen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfllen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfslen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfslen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfslen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfslen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfslen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfslen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfslen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfulen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfulen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfulen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfulen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfulen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfulen.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfulen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputc.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfputc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputd.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputd.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfputd.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputl.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputl.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfputl.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputm.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputm.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfputm.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputu.c In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/_sfputu.c:22: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _sfputu.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/clearerr.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/clearerr.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/clearerr.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/clearerr.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/clearerr.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/clearerr.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making clearerr.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fclose.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fclose.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fclose.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fclose.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fclose.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fclose.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fclose.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fdopen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fdopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fdopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fdopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fdopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fdopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fdopen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/feof.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/feof.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/feof.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/feof.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/feof.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/feof.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making feof.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/ferror.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ferror.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ferror.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ferror.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ferror.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ferror.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making ferror.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fflush.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fflush.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fflush.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fflush.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fflush.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fflush.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fflush.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fgetc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetpos.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetpos.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetpos.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetpos.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetpos.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetpos.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fgetpos.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fgets.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgets.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgets.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgets.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgets.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgets.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fgets.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fileno.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fileno.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fileno.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fileno.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fileno.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fileno.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fileno.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fopen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fopen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fpurge.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fpurge.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fpurge.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fpurge.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fpurge.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fpurge.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fpurge.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fputc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fputc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fputs.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputs.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputs.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputs.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputs.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputs.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fputs.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fread.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fread.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fread.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fread.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fread.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fread.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fread.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/freopen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/freopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/freopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/freopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/freopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/freopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making freopen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fseek.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fseek.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fseek.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fseek.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fseek.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fseek.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fseek.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fseeko.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fseeko.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fseeko.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fseeko.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fseeko.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fseeko.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fseeko.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fsetpos.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fsetpos.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fsetpos.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fsetpos.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fsetpos.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fsetpos.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fsetpos.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/ftell.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftell.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftell.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftell.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftell.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftell.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making ftell.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/ftello.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftello.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftello.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftello.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftello.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftello.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making ftello.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fwrite.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwrite.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwrite.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwrite.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwrite.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwrite.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fwrite.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/flockfile.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/flockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/flockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/flockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/flockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/flockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making flockfile.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/ftrylockfile.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ftrylockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making ftrylockfile.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/funlockfile.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/funlockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/funlockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/funlockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/funlockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/funlockfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making funlockfile.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/getc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making getc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/getchar.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making getchar.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/getw.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getw.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getw.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getw.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getw.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getw.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making getw.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/pclose.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/pclose.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/pclose.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/pclose.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/pclose.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/pclose.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making pclose.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/popen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/popen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/popen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/popen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/popen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/popen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making popen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/printf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/printf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/printf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/printf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/printf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/printf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making printf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/putc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making putc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/putchar.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making putchar.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/puts.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/puts.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/puts.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/puts.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/puts.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/puts.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making puts.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/putw.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putw.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putw.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putw.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putw.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putw.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making putw.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/rewind.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/rewind.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/rewind.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/rewind.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/rewind.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/rewind.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making rewind.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/scanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/scanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/scanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/scanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/scanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/scanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making scanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making setbuf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuffer.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuffer.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuffer.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuffer.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuffer.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setbuffer.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making setbuffer.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/setlinebuf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setlinebuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setlinebuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setlinebuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setlinebuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setlinebuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making setlinebuf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/setvbuf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setvbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setvbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setvbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setvbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/setvbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making setvbuf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/snprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/snprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/snprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/snprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/snprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/snprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making snprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/sprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/sprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/sprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/sprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/sprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/sprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/sscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/sscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/sscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/sscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/sscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/sscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making sscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/asprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/asprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/asprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/asprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/asprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/asprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making asprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vasprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vasprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vasprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vasprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vasprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vasprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/stdio/vasprintf.c:32:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = sfstropen()) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/stdio/vasprintf.c:32:8: note: place parentheses around the assignment to silence this warning if (f = sfstropen()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/stdio/vasprintf.c:32:8: note: use '==' to turn this assignment into an equality comparison if (f = sfstropen()) ^ == 4 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vasprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/tmpfile.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/tmpfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/tmpfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/tmpfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/tmpfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/tmpfile.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making tmpfile.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making ungetc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vfprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vfprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vfscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vfscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vsnprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsnprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsnprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsnprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsnprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsnprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vsnprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vsprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vsprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vsscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vsscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vsscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_doprnt.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_doprnt.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_doprnt.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_doprnt.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_doprnt.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_doprnt.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _doprnt.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_doscan.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_doscan.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_doscan.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_doscan.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_doscan.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_doscan.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _doscan.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_filbuf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_filbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_filbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_filbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_filbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_filbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _filbuf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_flsbuf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_flsbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_flsbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_flsbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_flsbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_flsbuf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _flsbuf.o + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/uwin iffe: test: is sys/types.h a header ... yes iffe: test: is a64l a library function ... yes iffe: test: is acosh a library function ... no iffe: test: is asinh a library function ... no iffe: test: is atanh a library function ... no iffe: test: is cbrt a library function ... no iffe: test: is ceil a library function ... no iffe: test: is crypt a library function ... no iffe: test: is erf a library function ... no iffe: test: is exp a library function ... no iffe: test: is expm1 a library function ... no iffe: test: is floor a library function ... no iffe: test: is gamma a library function ... no iffe: test: is getpass a library function ... yes iffe: test: is lgamma a library function ... no iffe: test: is log a library function ... no iffe: test: is log1p a library function ... no iffe: test: is random a library function ... yes iffe: test: is rcmd a library function ... yes iffe: test: is rint a library function ... no iffe: test: is srand48 a library function ... yes iffe: test: is copysign a library function ... yes iffe: test: is logb a library function ... no iffe: test: is finite a library function ... yes iffe: test: is drem a library function ... no iffe: test: is sqrt a library function ... no iffe: test: is ilogb a library function ... no iffe: test: is remainder a library function ... no iffe: test: is scalb a library function ... no iffe: test: is _copysign a library function ... no iffe: test: is _finite a library function ... no iffe: test: is _scalb a library function ... no iffe: test: is __iob_func a library function ... no iffe: test: is _p__iob a library function ... no iffe: test: is __p__iob a library function ... no iffe: test: is _iob a library data symbol ... no iffe: test: cat{ ... }end ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdfun.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdopen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdopen.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdopen.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdopen.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdopen.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdopen.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _stdopen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdprintf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdprintf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdprintf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdprintf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdprintf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _stdprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdscanf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdscanf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdscanf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdscanf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdscanf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _stdscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdsprnt.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdsprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _stdsprnt.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvbuf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvbuf.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _stdvbuf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsnprnt.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsnprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _stdvsnprnt.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsprnt.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsprnt.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _stdvsprnt.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsscn.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/_stdvsscn.c:26: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making _stdvsscn.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetwc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fgetwc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fwprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fwprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/putwchar.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putwchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putwchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putwchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putwchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putwchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making putwchar.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:100:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = newof(0, Wide_t, 1, n)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:100:8: note: place parentheses around the assignment to silence this warning if (w = newof(0, Wide_t, 1, n)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:100:8: note: use '==' to turn this assignment into an equality comparison if (w = newof(0, Wide_t, 1, n)) ^ == /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:102:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:102:9: note: place parentheses around the assignment to silence this warning if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwscanf.c:102:9: note: use '==' to turn this assignment into an equality comparison if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ)) ^ == 5 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vfwscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/wprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/wprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/wprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/wprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/wprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/wprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making wprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetws.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetws.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetws.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetws.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetws.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fgetws.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fgetws.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fwscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fwscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/swprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/swprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/swprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/swprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/swprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/swprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making swprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vswprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vswprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vswprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vswprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vswprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vswprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vswprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/wscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/wscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/wscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/wscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/wscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/wscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making wscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fputwc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fputwc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/getwc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making getwc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/swscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/swscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/swscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/swscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/swscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/swscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making swscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vswscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vswscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vswscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vswscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vswscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vswscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vswscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fputws.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputws.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputws.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputws.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputws.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fputws.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fputws.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/getwchar.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getwchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getwchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getwchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getwchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getwchar.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making getwchar.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetwc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/ungetwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making ungetwc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vwprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vwprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fwide.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwide.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwide.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwide.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwide.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fwide.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fwide.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/putwc.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/putwc.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making putwc.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:40:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = malloc(n + 1)) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:40:8: note: place parentheses around the assignment to silence this warning if (m = malloc(n + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:40:8: note: use '==' to turn this assignment into an equality comparison if (m = malloc(n + 1)) ^ == /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:42:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = sfstropen()) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:42:9: note: place parentheses around the assignment to silence this warning if (t = sfstropen()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:42:9: note: use '==' to turn this assignment into an equality comparison if (t = sfstropen()) ^ == /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:52:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (w = (wchar_t*)sfreserve(f, n * sizeof(wchar_t) + 1, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:52:11: note: place parentheses around the assignment to silence this warning if (w = (wchar_t*)sfreserve(f, n * sizeof(wchar_t) + 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/stdio/vfwprintf.c:52:11: note: use '==' to turn this assignment into an equality comparison if (w = (wchar_t*)sfreserve(f, n * sizeof(wchar_t) + 1, 0)) ^ == 6 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vfwprintf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/vwscanf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/vwscanf.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making vwscanf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/stdio_c99.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdio_c99.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdio_c99.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdio_c99.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdio_c99.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdio_c99.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making stdio_c99.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fcloseall.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fcloseall.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fcloseall.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fcloseall.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fcloseall.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fcloseall.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fcloseall.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/fmemopen.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fmemopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fmemopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fmemopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fmemopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/fmemopen.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making fmemopen.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/getdelim.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getdelim.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getdelim.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getdelim.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getdelim.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getdelim.c:24: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making getdelim.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Istdio -I/<>/ksh-93u+20120801/src/lib/libast/stdio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/stdio/getline.c In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getline.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getline.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getline.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getline.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/getline.c:28: In file included from /<>/ksh-93u+20120801/src/lib/libast/stdio/stdhdr.h:34: In file included from /<>/ksh-93u+20120801/src/lib/libast/sfio/sfhdr.h:310: In file included from /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h:22: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making getline.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/frexp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/frexpl.c + cmp -s FEATURE/mmap ast_mmap.h + rm -f ast_mmap.h + silent test -d . + /bin/cp FEATURE/mmap ast_mmap.h + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/astcopy.c + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/libpath.sh iffe: test: is sys/types.h a header ... yes iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/libpath.sh ... iffe: test: capture output of /<>/ksh-93u+20120801/src/lib/libast/features/libpath.sh ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Imisc -I/<>/ksh-93u+20120801/src/lib/libast/misc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D__OBSOLETE__=20120101 -DCONF_LIBSUFFIX=".so" -DCONF_LIBPREFIX="lib" -DHOSTTYPE="linux.i386-64" -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c In file included from /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:37: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ ./ast_stdio.h:87:17: note: expanded from macro '__FILE' #define __FILE FILE ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:37: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: In file included from ./ast_wchar.h:92: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ ./ast_stdio.h:82:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ ./ast_stdio.h:80:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:37: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:115:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:37: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:122:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:37: In file included from /<>/ksh-93u+20120801/src/lib/libast/include/regex.h:39: ./ast_wchar.h:131:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:347:56: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((s = getenv(state.name)) || getenv(state.strict) && (s = (char*)state.standard)) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:347:56: note: place parentheses around the '&&' expression to silence this warning if ((s = getenv(state.name)) || getenv(state.strict) && (s = (char*)state.standard)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:418:61: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((!path || *path == *p && strlen(path) == (v - p - 1) && !memcmp(path, p, v - p - 1)) && strneq(v, value, n)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:418:61: note: place parentheses around the '&&' expression to silence this warning if ((!path || *path == *p && strlen(path) == (v - p - 1) && !memcmp(path, p, v - p - 1)) && strneq(v, value, n)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:422:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; *d = *s++; d++); ~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:422:15: note: place parentheses around the assignment to silence this warning for (; *d = *s++; d++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:422:15: note: use '==' to turn this assignment into an equality comparison for (; *d = *s++; d++); ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:446:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!path || !path[0] || path[0] == '/' && !path[1]) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:446:42: note: place parentheses around the '&&' expression to silence this warning if (!path || !path[0] || path[0] == '/' && !path[1]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:466:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = (char*)fp->name; *d = *s++; d++); ~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:466:31: note: place parentheses around the assignment to silence this warning for (s = (char*)fp->name; *d = *s++; d++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:466:31: note: use '==' to turn this assignment into an equality comparison for (s = (char*)fp->name; *d = *s++; d++); ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:468:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = (char*)path; *d = *s++; d++); ~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:468:27: note: place parentheses around the assignment to silence this warning for (s = (char*)path; *d = *s++; d++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:468:27: note: use '==' to turn this assignment into an equality comparison for (s = (char*)path; *d = *s++; d++); ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:470:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = (char*)value; *d = *s++; d++); ~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:470:28: note: place parentheses around the assignment to silence this warning for (s = (char*)value; *d = *s++; d++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:470:28: note: use '==' to turn this assignment into an equality comparison for (s = (char*)value; *d = *s++; d++); ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:531:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getenv("PATH")) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:531:9: note: place parentheses around the assignment to silence this warning if (p = getenv("PATH")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:531:9: note: use '==' to turn this assignment into an equality comparison if (p = getenv("PATH")) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:540:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = sfstropen()) ~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:540:12: note: place parentheses around the assignment to silence this warning if (tmp = sfstropen()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:540:12: note: use '==' to turn this assignment into an equality comparison if (tmp = sfstropen()) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:551:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = p - d - 1) ~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:551:14: note: place parentheses around the assignment to silence this warning if (r = p - d - 1) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:551:14: note: use '==' to turn this assignment into an equality comparison if (r = p - d - 1) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:985:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:985:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:985:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1085:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1085:46: note: place parentheses around the '&&' expression to silence this warning if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1085:120: warning: '&&' within '||' [-Wlogical-op-parentheses] if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1085:120: note: place parentheses around the '&&' expression to silence this warning if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1085:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1085:27: note: place parentheses around the '&&' expression to silence this warning if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1085:177: warning: '&&' within '||' [-Wlogical-op-parentheses] if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1085:177: note: place parentheses around the '&&' expression to silence this warning if (look->standard >= 0 && (name[0] != '_' && ((p->flags & CONF_UNDERSCORE) || look->section <= 1) || name[0] == '_' && (p->flags & CONF_NOUNDERSCORE)) || look->standard < 0 && name[0] == '_') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1090:50: warning: '&&' within '||' [-Wlogical-op-parentheses] switch (i = (p->op < 0 || (flags & CONF_MINMAX) && (p->flags & CONF_MINMAX_DEF)) ? 0 : p->call) ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1090:50: note: place parentheses around the '&&' expression to silence this warning switch (i = (p->op < 0 || (flags & CONF_MINMAX) && (p->flags & CONF_MINMAX_DEF)) ? 0 : p->call) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1354:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (call = sfstruse(sp)) ~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1354:12: note: place parentheses around the assignment to silence this warning if (call = sfstruse(sp)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1354:12: note: use '==' to turn this assignment into an equality comparison if (call = sfstruse(sp)) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1389:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1389:10: note: place parentheses around the assignment to silence this warning if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1389:10: note: use '==' to turn this assignment into an equality comparison if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ)) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1391:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = sfnew(NiL, NiL, SF_UNBOUND, (*pp)->rfd, SF_READ)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1391:10: note: place parentheses around the assignment to silence this warning if (sp = sfnew(NiL, NiL, SF_UNBOUND, (*pp)->rfd, SF_READ)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1391:10: note: use '==' to turn this assignment into an equality comparison if (sp = sfnew(NiL, NiL, SF_UNBOUND, (*pp)->rfd, SF_READ)) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1483:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = sfstropen()) ~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1483:12: note: place parentheses around the assignment to silence this warning if (tmp = sfstropen()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1483:12: note: use '==' to turn this assignment into an equality comparison if (tmp = sfstropen()) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1522:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = sfstropen()) ~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1522:12: note: place parentheses around the assignment to silence this warning if (tmp = sfstropen()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1522:12: note: use '==' to turn this assignment into an equality comparison if (tmp = sfstropen()) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1648:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pp = nativeconf(&proc, _pth_getconf_a)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1648:10: note: place parentheses around the assignment to silence this warning if (pp = nativeconf(&proc, _pth_getconf_a)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1648:10: note: use '==' to turn this assignment into an equality comparison if (pp = nativeconf(&proc, _pth_getconf_a)) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1651:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (f = sfgetr(pp, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1651:13: note: place parentheses around the assignment to silence this warning while (f = sfgetr(pp, '\n', 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astconf.c:1651:13: note: use '==' to turn this assignment into an equality comparison while (f = sfgetr(pp, '\n', 1)) ^ == 26 warnings and 2 errors generated. mamake [lib/libast]: *** exit code 1 making astconf.o + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iport -I/<>/ksh-93u+20120801/src/lib/libast/port -Isfio -I/<>/ksh-93u+20120801/src/lib/libast/sfio -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/astdynamic.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:233:10: warning: expression result unused [-Wunused-value] PUT(b, *s++); ^~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:259:35: warning: expression result unused [-Wunused-value] PUT(b, notice->cc[n > 0 ? 0 : 1]); ~~~~~~~~~~ ~~~~~~~~~~~~~^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:261:12: warning: expression result unused [-Wunused-value] PUT(b, cc); ^~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:262:35: warning: expression result unused [-Wunused-value] PUT(b, notice->cc[n > 0 ? 1 : 2]); ~~~~~~~~~~ ~~~~~~~~~~~~~^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:271:10: warning: expression result unused [-Wunused-value] PUT(b, cc); ^~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:276:11: warning: expression result unused [-Wunused-value] PUT(b, ' '); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:282:11: warning: expression result unused [-Wunused-value] PUT(b, i); ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:285:11: warning: expression result unused [-Wunused-value] PUT(b, ' '); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:286:10: warning: expression result unused [-Wunused-value] PUT(b, cc); ^~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:288:9: warning: expression result unused [-Wunused-value] PUT(b, '\n'); ^~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:308:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = item->data) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:308:8: note: place parentheses around the assignment to silence this warning if (t = item->data) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:308:8: note: use '==' to turn this assignment into an equality comparison if (t = item->data) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:338:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!m || c >= '0' && c <= '9') ~~ ~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:338:26: note: place parentheses around the '&&' expression to silence this warning if (!m || c >= '0' && c <= '9') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:339:15: warning: expression result unused [-Wunused-value] PUT(b, c); ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:365:12: warning: expression result unused [-Wunused-value] PUT(b, *t++); ^~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:397:10: warning: expression result unused [-Wunused-value] PUT(b, '-'); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:402:10: warning: expression result unused [-Wunused-value] PUT(b, ' '); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:407:10: warning: expression result unused [-Wunused-value] PUT(b, ' '); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:411:11: warning: expression result unused [-Wunused-value] PUT(b, ' '); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:417:10: warning: expression result unused [-Wunused-value] PUT(b, ' '); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:443:12: warning: expression result unused [-Wunused-value] PUT(buf, 0); ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:465:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t++ = *s++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:465:18: note: place parentheses around the assignment to silence this warning while (*t++ = *s++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:465:18: note: use '==' to turn this assignment into an equality comparison while (*t++ = *s++); ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:472:13: warning: expression result unused [-Wunused-value] PUT(buf, 0); ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:482:12: warning: expression result unused [-Wunused-value] PUT(buf, 0); ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:560:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s) ~~^~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:560:12: note: place parentheses around the assignment to silence this warning while (c = *s) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:560:12: note: use '==' to turn this assignment into an equality comparison while (c = *s) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:562:46: warning: '&&' within '||' [-Wlogical-op-parentheses] while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:562:46: note: place parentheses around the '&&' expression to silence this warning while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:664:35: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:664:35: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:664:118: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:664:118: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:664:197: warning: '&&' within '||' [-Wlogical-op-parentheses] while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:664:197: note: place parentheses around the '&&' expression to silence this warning while ((c = *s) && (q == '"' && (c == '\\' && (*(s + 1) == '"' || *(s + 1) == '\\') && s++ && (quote = q)) || q && c != q || !q && c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != ',' && c != ';')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:703:19: warning: expression result unused [-Wunused-value] PUT(&buf, '='); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:713:20: warning: expression result unused [-Wunused-value] PUT(&buf, '\''); ^~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:716:20: warning: expression result unused [-Wunused-value] PUT(&buf, '\''); ^~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:717:19: warning: expression result unused [-Wunused-value] PUT(&buf, '\n'); ^~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:731:17: warning: expression result unused [-Wunused-value] PUT(&buf, '\n'); ^~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:788:15: warning: expression result unused [-Wunused-value] PUT(&buf, 0); ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:935:15: warning: expression result unused [-Wunused-value] PUT(&tmp, ' '); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1101:18: warning: expression result unused [-Wunused-value] PUT(&tmp, ' '); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1135:17: warning: expression result unused [-Wunused-value] PUT(&tmp, ' '); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1173:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[NOTICE].data) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1173:9: note: place parentheses around the assignment to silence this warning if (v = notice.item[NOTICE].data) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1173:9: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[NOTICE].data) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1205:16: warning: expression result unused [-Wunused-value] PUT(&tmp, ' '); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1218:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = notice.item[AUTHOR].data) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1218:8: note: place parentheses around the assignment to silence this warning if (v = notice.item[AUTHOR].data) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1218:8: note: use '==' to turn this assignment into an equality comparison if (v = notice.item[AUTHOR].data) ^ == /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1238:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if (q || item.size == notice.id[i].name.size && !strncmp(item.data, notice.id[i].name.data, item.size)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1238:50: note: place parentheses around the '&&' expression to silence this warning if (q || item.size == notice.id[i].name.size && !strncmp(item.data, notice.id[i].name.data, item.size)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1245:17: warning: expression result unused [-Wunused-value] PUT(&buf, ']'); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1269:16: warning: expression result unused [-Wunused-value] PUT(&buf, ']'); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1291:13: warning: expression result unused [-Wunused-value] PUT(&buf, ']'); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1296:14: warning: expression result unused [-Wunused-value] PUT(&buf, ']'); ^~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:1298:13: warning: expression result unused [-Wunused-value] PUT(&buf, '\n'); ^~~~ /<>/ksh-93u+20120801/src/lib/libast/port/astlicense.c:103:60: note: expanded from macro 'PUT' #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1))) ^ 46 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/astquery.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/astwinsize.c /<>/ksh-93u+20120801/src/lib/libast/port/astwinsize.c:131:9: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration] if (!ioctl(fd, op, tt)) return(0); ^ /<>/ksh-93u+20120801/src/lib/libast/port/astwinsize.c:139:12: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration] else if (!ioctl(fd, op, tt)) return(0); ^ 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c conftab.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/port/aststatic.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/getopt.c /<>/ksh-93u+20120801/src/lib/libast/comp/getopt.c:61:19: warning: nonnull parameter 'optstring' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion] if (opterr && (!optstring || *optstring != ':')) ~^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/getopt_core.h:92:16: note: declared 'nonnull' here __THROW __nonnull ((2, 3)); ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:288:44: note: expanded from macro '__nonnull' # define __nonnull(params) __attribute__ ((__nonnull__ params)) ^ 1 warning generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/comp/getoptl.c /<>/ksh-93u+20120801/src/lib/libast/comp/getoptl.c:51:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!up && !(up = sfstropen()) || !(t = strdup(optstring))) ~~~~^~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/comp/getoptl.c:51:11: note: place parentheses around the '&&' expression to silence this warning if (!up && !(up = sfstropen()) || !(t = strdup(optstring))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/getoptl.c:61:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strchr(t, o->val)) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/getoptl.c:61:11: note: place parentheses around the assignment to silence this warning if (s = strchr(t, o->val)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/getoptl.c:61:11: note: use '==' to turn this assignment into an equality comparison if (s = strchr(t, o->val)) ^ == /<>/ksh-93u+20120801/src/lib/libast/comp/getoptl.c:81:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libast/comp/getoptl.c:81:12: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/comp/getoptl.c:81:12: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == 3 warnings generated. + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/asometh iffe: test: is sys/types.h a header ... yes iffe: test: fcntl(F_SETLCK[W]) work ... yes iffe: test: semget semop semctl work ... yes + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iaso -I/<>/ksh-93u+20120801/src/lib/libast/aso -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/aso/aso.c /<>/ksh-93u+20120801/src/lib/libast/aso/aso.c:856:10: warning: incompatible integer to pointer conversion passing 'uint64_t' (aka 'unsigned long') to parameter of type 'void *' [-Wint-conversion] return _aso_casptr((void**)p, o, n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./FEATURE/aso:19:66: note: expanded from macro '_aso_casptr' #define _aso_casptr(p,o,n) ((void*)__sync_val_compare_and_swap(p,(uint64_t)o,(uint64_t)n)) ^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/aso/aso.c:856:10: warning: incompatible integer to pointer conversion passing 'uint64_t' (aka 'unsigned long') to parameter of type 'void *' [-Wint-conversion] return _aso_casptr((void**)p, o, n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./FEATURE/aso:19:78: note: expanded from macro '_aso_casptr' #define _aso_casptr(p,o,n) ((void*)__sync_val_compare_and_swap(p,(uint64_t)o,(uint64_t)n)) ^~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iaso -I/<>/ksh-93u+20120801/src/lib/libast/aso -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/aso/asolock.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iaso -I/<>/ksh-93u+20120801/src/lib/libast/aso -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/aso/asometh.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iaso -I/<>/ksh-93u+20120801/src/lib/libast/aso -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/aso/asorelax.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iaso -I/<>/ksh-93u+20120801/src/lib/libast/aso -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/aso/aso-sem.c /<>/ksh-93u+20120801/src/lib/libast/aso/aso-sem.c:84:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = (char*)details) ~~~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/aso/aso-sem.c:84:11: note: place parentheses around the assignment to silence this warning if (path = (char*)details) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/aso/aso-sem.c:84:11: note: use '==' to turn this assignment into an equality comparison if (path = (char*)details) ^ == /<>/ksh-93u+20120801/src/lib/libast/aso/aso-sem.c:85:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (opt = strchr(path, ',')) ~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/aso/aso-sem.c:85:14: note: place parentheses around the assignment to silence this warning while (opt = strchr(path, ',')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/aso/aso-sem.c:85:14: note: use '==' to turn this assignment into an equality comparison while (opt = strchr(path, ',')) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iaso -I/<>/ksh-93u+20120801/src/lib/libast/aso -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/aso/aso-fcntl.c /<>/ksh-93u+20120801/src/lib/libast/aso/aso-fcntl.c:92:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = (char*)details) ~~~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/aso/aso-fcntl.c:92:11: note: place parentheses around the assignment to silence this warning if (path = (char*)details) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/aso/aso-fcntl.c:92:11: note: use '==' to turn this assignment into an equality comparison if (path = (char*)details) ^ == /<>/ksh-93u+20120801/src/lib/libast/aso/aso-fcntl.c:93:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (opt = strchr(path, ',')) ~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/aso/aso-fcntl.c:93:14: note: place parentheses around the assignment to silence this warning while (opt = strchr(path, ',')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/aso/aso-fcntl.c:93:14: note: use '==' to turn this assignment into an equality comparison while (opt = strchr(path, ',')) ^ == /<>/ksh-93u+20120801/src/lib/libast/aso/aso-fcntl.c:120:57: warning: '&&' within '||' [-Wlogical-op-parentheses] if (fd >= 0 || (fd = open(path, O_RDWR|O_cloexec)) < 0 && (fd = open(path, O_CREAT|O_RDWR|O_cloexec, perm)) >= 0) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/aso/aso-fcntl.c:120:57: note: place parentheses around the '&&' expression to silence this warning if (fd >= 0 || (fd = open(path, O_RDWR|O_cloexec)) < 0 && (fd = open(path, O_CREAT|O_RDWR|O_cloexec, perm)) >= 0) ^ ( ) 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmbest.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmclear.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmclose.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmdcheap.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmdebug.c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmdebug.c:91:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(Dbfd,mesg,n); ^~~~~ ~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmdebug.c:723:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(Dbfd, buf, strlen(buf)); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmdisc.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmexit.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmlast.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmpool.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmprivate.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmprofile.c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmprofile.c:436:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] CHKBUF(); ^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmprofile.c:367:37: note: expanded from macro 'CHKBUF' #define CHKBUF() (bufp >= endbuf ? (write(fd,buf,bufp-buf), bufp=buf) : bufp) ^~~~~ ~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmprofile.c:442:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] { CHKBUF(); ^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmprofile.c:367:37: note: expanded from macro 'CHKBUF' #define CHKBUF() (bufp >= endbuf ? (write(fd,buf,bufp-buf), bufp=buf) : bufp) ^~~~~ ~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmprofile.c:459:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] FLSBUF(); ^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmprofile.c:368:32: note: expanded from macro 'FLSBUF' #define FLSBUF() (bufp > buf ? write(fd,buf,bufp-buf) : 0) ^~~~~ ~~~~~~~~~~~~~~~ 3 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmregion.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmsegment.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmset.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmstat.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmstrdup.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmtrace.c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmtrace.c:192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(Trfile,buf,(bufp-buf)); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmtrace.c:225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(2,buf,(bufp-buf)); ^~~~~ ~~~~~~~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmwalk.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmmopen.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Ivmalloc -I/<>/ksh-93u+20120801/src/lib/libast/vmalloc -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:388:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(vm = regionof((Void_t*)list)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:388:9: note: place parentheses around the assignment to silence this warning if(vm = regionof((Void_t*)list)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:388:9: note: use '==' to turn this assignment into an equality comparison if(vm = regionof((Void_t*)list)) ^ == /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:596:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if(vm == Vmregion && Vmregion != Vmheap || (_Vmassert & VM_free)) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:596:21: note: place parentheses around the '&&' expression to silence this warning if(vm == Vmregion && Vmregion != Vmheap || (_Vmassert & VM_free)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:1226:19: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*file == '&' && *(file += 1) || strncmp(file, "/dev/fd/", 8) == 0 && *(file += 8)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:1226:19: note: place parentheses around the '&&' expression to silence this warning if (*file == '&' && *(file += 1) || strncmp(file, "/dev/fd/", 8) == 0 && *(file += 8)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:1226:72: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*file == '&' && *(file += 1) || strncmp(file, "/dev/fd/", 8) == 0 && *(file += 8)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:1226:72: note: place parentheses around the '&&' expression to silence this warning if (*file == '&' && *(file += 1) || strncmp(file, "/dev/fd/", 8) == 0 && *(file += 8)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:1282:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = getenv("VMALLOC_OPTIONS")) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:1282:8: note: place parentheses around the assignment to silence this warning if (s = getenv("VMALLOC_OPTIONS")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/vmalloc/malloc.c:1282:8: note: use '==' to turn this assignment into an equality comparison if (s = getenv("VMALLOC_OPTIONS")) ^ == 5 warnings generated. + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/vmalloc/vmgetmem.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/a64l.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/acosh.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/asinh.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/atanh.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/cbrt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/crypt.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/erf.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/uwin/err.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/exp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/exp__E.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/expm1.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/gamma.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/uwin/getpass.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/lgamma.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/log.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/log1p.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/log__L.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/rand48.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/random.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/rcmd.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/rint.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Iuwin -I/<>/ksh-93u+20120801/src/lib/libast/uwin -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -c /<>/ksh-93u+20120801/src/lib/libast/uwin/support.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D__OBSOLETE__=20120101 -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/disc/sfstrtmp.c + cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libast -Icomp -I/<>/ksh-93u+20120801/src/lib/libast/comp -Iinclude -I/<>/ksh-93u+20120801/src/lib/libast/include -Istd -I/<>/ksh-93u+20120801/src/lib/libast/std -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libast/obsolete/spawn.c /<>/ksh-93u+20120801/src/lib/libast/obsolete/spawn.c:101:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/obsolete/spawn.c:101:15: note: place parentheses around the assignment to silence this warning if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/obsolete/spawn.c:101:15: note: use '==' to turn this assignment into an equality comparison if (newargv = newof(0, char*, ov + 1 - (char**)argv, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libast/obsolete/spawn.c:107:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*nv++ = *++ov); ~~~~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libast/obsolete/spawn.c:107:17: note: place parentheses around the assignment to silence this warning while (*nv++ = *++ov); ^ ( ) /<>/ksh-93u+20120801/src/lib/libast/obsolete/spawn.c:107:17: note: use '==' to turn this assignment into an equality comparison while (*nv++ = *++ov); ^ == 2 warnings generated. + test = man/LIBAST.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/LIBAST.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/LIBAST.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/LIBAST.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/LIBAST.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/LIBAST.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/LIBAST.3 + test = man/aso.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/aso.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/aso.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/aso.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/aso.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/aso.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/aso.3 + test = man/ast.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/ast.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ast.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ast.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ast.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/ast.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ast.3 + test = man/astsa.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/astsa.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/astsa.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/astsa.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/astsa.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/astsa.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/astsa.3 + test = man/cdt.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/cdt.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/cdt.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/cdt.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/cdt.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/cdt.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/cdt.3 + test = man/chr.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/chr.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/chr.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/chr.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/chr.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/chr.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/chr.3 + test = man/compat.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/compat.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/compat.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/compat.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/compat.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/compat.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/compat.3 + test = man/error.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/error.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/error.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/error.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/error.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/error.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/error.3 + test = man/find.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/find.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/find.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/find.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/find.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/find.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/find.3 + test = man/fmt.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/fmt.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fmt.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fmt.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fmt.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/fmt.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fmt.3 + test = man/fmtls.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/fmtls.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fmtls.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fmtls.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fmtls.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/fmtls.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fmtls.3 + test = man/fs3d.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/fs3d.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fs3d.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fs3d.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fs3d.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/fs3d.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/fs3d.3 + test = man/ftwalk.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/ftwalk.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ftwalk.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ftwalk.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ftwalk.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/ftwalk.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ftwalk.3 + test = man/getcwd.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/getcwd.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/getcwd.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/getcwd.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/getcwd.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/getcwd.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/getcwd.3 + test = man/hash.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/hash.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/hash.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/hash.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/hash.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/hash.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/hash.3 + test = man/iblocks.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/iblocks.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/iblocks.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/iblocks.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/iblocks.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/iblocks.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/iblocks.3 + test = man/int.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/int.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/int.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/int.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/int.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/int.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/int.3 + test = man/ip6.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/ip6.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ip6.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ip6.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ip6.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/ip6.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/ip6.3 + test = man/magic.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/magic.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/magic.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/magic.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/magic.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/magic.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/magic.3 + test = man/mem.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/mem.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/mem.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/mem.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/mem.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/mem.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/mem.3 + test = man/mime.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/mime.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/mime.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/mime.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/mime.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/mime.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/mime.3 + test = man/modecanon.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/modecanon.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/modecanon.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/modecanon.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/modecanon.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/modecanon.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/modecanon.3 + test = man/optget.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/optget.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/optget.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/optget.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/optget.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/optget.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/optget.3 + test = man/path.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/path.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/path.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/path.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/path.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/path.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/path.3 + test = man/preroot.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/preroot.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/preroot.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/preroot.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/preroot.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/preroot.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/preroot.3 + test = man/proc.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/proc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/proc.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/proc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/proc.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/proc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/proc.3 + test = man/re.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/re.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/re.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/re.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/re.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/re.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/re.3 + test = man/regex.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/regex.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/regex.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/regex.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/regex.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/regex.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/regex.3 + test = man/setenviron.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/setenviron.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/setenviron.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/setenviron.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/setenviron.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/setenviron.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/setenviron.3 + test = man/sfdisc.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/sfdisc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sfdisc.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sfdisc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sfdisc.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/sfdisc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sfdisc.3 + test = man/sfio.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/sfio.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sfio.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sfio.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sfio.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/sfio.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sfio.3 + test = man/sig.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/sig.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sig.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sig.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sig.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/sig.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/sig.3 + test = man/spawnveg.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/spawnveg.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/spawnveg.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/spawnveg.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/spawnveg.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/spawnveg.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/spawnveg.3 + test = man/stak.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/stak.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stak.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stak.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stak.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/stak.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stak.3 + test = man/stk.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/stk.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stk.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stk.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stk.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/stk.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stk.3 + test = man/strcopy.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strcopy.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strcopy.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strcopy.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strcopy.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strcopy.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strcopy.3 + test = man/strdup.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strdup.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strdup.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strdup.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strdup.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strdup.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strdup.3 + test = man/strelapsed.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strelapsed.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strelapsed.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strelapsed.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strelapsed.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strelapsed.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strelapsed.3 + test = man/strerror.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strerror.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strerror.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strerror.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strerror.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strerror.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strerror.3 + test = man/stresc.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/stresc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stresc.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stresc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stresc.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/stresc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stresc.3 + test = man/streval.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/streval.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/streval.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/streval.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/streval.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/streval.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/streval.3 + test = man/strgid.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strgid.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strgid.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strgid.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strgid.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strgid.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strgid.3 + test = man/strmatch.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strmatch.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strmatch.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strmatch.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strmatch.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strmatch.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strmatch.3 + test = man/stropt.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/stropt.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stropt.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stropt.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stropt.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/stropt.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/stropt.3 + test = man/strperm.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strperm.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strperm.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strperm.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strperm.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strperm.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strperm.3 + test = man/strsignal.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strsignal.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strsignal.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strsignal.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strsignal.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strsignal.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strsignal.3 + test = man/strsort.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strsort.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strsort.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strsort.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strsort.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strsort.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strsort.3 + test = man/strtape.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strtape.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strtape.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strtape.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strtape.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strtape.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strtape.3 + test = man/strton.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/strton.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strton.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strton.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strton.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/strton.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/strton.3 + test = man/struid.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/struid.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/struid.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/struid.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/struid.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/struid.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/struid.3 + test = man/swap.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/swap.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/swap.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/swap.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/swap.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/swap.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/swap.3 + test = man/tab.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/tab.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tab.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tab.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tab.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/tab.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tab.3 + test = man/tm.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/tm.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tm.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tm.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tm.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/tm.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tm.3 + test = man/tmx.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/tmx.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tmx.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tmx.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tmx.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/tmx.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tmx.3 + test = man/tok.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/tok.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tok.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tok.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tok.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/tok.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tok.3 + test = man/touch.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/touch.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/touch.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/touch.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/touch.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/touch.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/touch.3 + test = man/tv.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/tv.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tv.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tv.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tv.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/tv.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/tv.3 + test = man/vecargs.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/vecargs.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/vecargs.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/vecargs.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/vecargs.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/vecargs.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/vecargs.3 + test = man/vmalloc.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/man/vmalloc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/vmalloc.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/vmalloc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/vmalloc.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/man/vmalloc.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/vmalloc.3 + test = ast.req + /usr/bin/cmp -s ast.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/ast + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/ast /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/ast.old + true + /bin/cp ast.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/ast + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_common.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_common.h 1.2905.x + mv 1.2905.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_common.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/ast.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h 1.2910.x + mv 1.2910.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/ast_dir.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_dir.h 1.2915.x + mv 1.2915.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_dir.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/ast_getopt.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_getopt.h 1.2920.x + mv 1.2920.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_getopt.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/ast_std.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_std.h 1.2925.x + mv 1.2925.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_std.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_namval.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_namval.h 1.2930.x + mv 1.2930.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_namval.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/ast_windows.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_windows.h 1.2935.x + mv 1.2935.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_windows.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/ccode.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ccode.h 1.2940.x + mv 1.2940.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ccode.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/cdt.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cdt.h 1.2945.x + mv 1.2945.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cdt.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/cdt/cdtlib.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cdtlib.h 1.2950.x + mv 1.2950.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cdtlib.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/cmdarg.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cmdarg.h 1.2955.x + mv 1.2955.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cmdarg.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/debug.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/debug.h 1.2960.x + mv 1.2960.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/debug.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/dt.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/dt.h 1.2965.x + mv 1.2965.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/dt.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/error.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/error.h 1.2970.x + mv 1.2970.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/error.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/find.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/find.h 1.2975.x + mv 1.2975.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/find.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/comp/ftw.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ftw.h 1.2980.x + mv 1.2980.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ftw.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/ftwalk.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ftwalk.h 1.2985.x + mv 1.2985.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ftwalk.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/fts.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/fts.h 1.2990.x + mv 1.2990.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/fts.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/fs3d.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/fs3d.h 1.2995.x + mv 1.2995.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/fs3d.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/comp/getopt.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/getopt.h 1.3000.x + mv 1.3000.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/getopt.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/glob.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/glob.h 1.3005.x + mv 1.3005.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/glob.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/hash.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/hash.h 1.3010.x + mv 1.3010.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/hash.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/hashkey.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/hashkey.h 1.3015.x + mv 1.3015.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/hashkey.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/hashpart.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/hashpart.h 1.3020.x + mv 1.3020.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/hashpart.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/ip6.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ip6.h 1.3025.x + mv 1.3025.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ip6.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv lc.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/lc.h 1.3036.x + mv 1.3036.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/lc.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/ls.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ls.h 1.3041.x + mv 1.3041.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ls.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/magic.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/magic.h 1.3046.x + mv 1.3046.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/magic.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/mc.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/mc.h 1.3051.x + mv 1.3051.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/mc.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/mime.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/mime.h 1.3056.x + mv 1.3056.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/mime.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/mnt.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/mnt.h 1.3061.x + mv 1.3061.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/mnt.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/modecanon.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/modecanon.h 1.3066.x + mv 1.3066.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/modecanon.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/modex.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/modex.h 1.3071.x + mv 1.3071.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/modex.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/namval.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/namval.h 1.3076.x + mv 1.3076.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/namval.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/option.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/option.h 1.3081.x + mv 1.3081.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/option.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/proc.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/proc.h 1.3086.x + mv 1.3086.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/proc.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/comp/re_comp.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/re_comp.h 1.3091.x + mv 1.3091.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/re_comp.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/recfmt.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/recfmt.h 1.3096.x + mv 1.3096.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/recfmt.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/regex.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h 1.3101.x + mv 1.3101.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/comp/regexp.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regexp.h 1.3106.x + mv 1.3106.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regexp.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/sfio.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sfio.h 1.3111.x + mv 1.3111.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sfio.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/sfio_s.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sfio_s.h 1.3116.x + mv 1.3116.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sfio_s.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/sfio_t.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sfio_t.h 1.3121.x + mv 1.3121.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sfio_t.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/sfdisc.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sfdisc.h 1.3126.x + mv 1.3126.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sfdisc.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/shcmd.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/shcmd.h 1.3131.x + mv 1.3131.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/shcmd.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/stack.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/stack.h 1.3136.x + mv 1.3136.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/stack.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/stak.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/stak.h 1.3141.x + mv 1.3141.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/stak.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/stk.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/stk.h 1.3146.x + mv 1.3146.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/stk.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/swap.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/swap.h 1.3151.x + mv 1.3151.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/swap.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/tar.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/tar.h 1.3156.x + mv 1.3156.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/tar.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/times.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/times.h 1.3161.x + mv 1.3161.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/times.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/tm.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/tm.h 1.3166.x + mv 1.3166.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/tm.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/tok.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/tok.h 1.3171.x + mv 1.3171.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/tok.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/usage.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/usage.h 1.3176.x + mv 1.3176.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/usage.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/vdb.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/vdb.h 1.3181.x + mv 1.3181.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/vdb.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/vecargs.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/vecargs.h 1.3186.x + mv 1.3186.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/vecargs.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/vmalloc.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/vmalloc.h 1.3191.x + mv 1.3191.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/vmalloc.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/wait.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wait.h 1.3196.x + mv 1.3196.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wait.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/comp/wordexp.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wordexp.h 1.3202.x + mv 1.3202.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wordexp.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/std/bytesex.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/bytesex.h 1.3207.x + mv 1.3207.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/bytesex.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/std/endian.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/endian.h 1.3212.x + mv 1.3212.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/endian.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/comp/fnmatch.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/fnmatch.h 1.3217.x + mv 1.3217.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/fnmatch.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/magicid.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/magicid.h 1.3222.x + mv 1.3222.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/magicid.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/fnv.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/fnv.h 1.3227.x + mv 1.3227.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/fnv.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/include/aso.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/aso.h 1.3232.x + mv 1.3232.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/aso.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/std/dirent.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/dirent.h 1.3237.x + mv 1.3237.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/dirent.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/std/iconv.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/iconv.h 1.3242.x + mv 1.3242.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/iconv.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/std/nl_types.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/nl_types.h 1.3247.x + mv 1.3247.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/nl_types.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/std/stdio.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/stdio.h 1.3252.x + mv 1.3252.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/stdio.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/std/wchar.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h 1.3257.x + mv 1.3257.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv /<>/ksh-93u+20120801/src/lib/libast/std/wctype.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wctype.h 1.3262.x + mv 1.3262.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wctype.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv align.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/align.h 1.3267.x + mv 1.3267.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/align.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv preroot.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/preroot.h 1.3272.x + mv 1.3272.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/preroot.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv sig.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sig.h 1.3277.x + mv 1.3277.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sig.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv tmx.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/tmx.h 1.3282.x + mv 1.3282.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/tmx.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv tv.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/tv.h 1.3287.x + mv 1.3287.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/tv.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_api.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_api.h 1.3292.x + mv 1.3292.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_api.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_botch.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_botch.h 1.3297.x + mv 1.3297.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_botch.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_ccode.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_ccode.h 1.3302.x + mv 1.3302.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_ccode.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_fcntl.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_fcntl.h 1.3307.x + mv 1.3307.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_fcntl.h + cmp -s FEATURE/float ast_float.h + rm -f ast_float.h + silent test -d . + /bin/cp FEATURE/float ast_float.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_float.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_float.h 1.3318.x + mv 1.3318.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_float.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_fs.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_fs.h 1.3323.x + mv 1.3323.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_fs.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_lib.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_lib.h 1.3328.x + mv 1.3328.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_lib.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_map.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_map.h 1.3333.x + mv 1.3333.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_map.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_mmap.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_mmap.h 1.3338.x + mv 1.3338.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_mmap.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_mode.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_mode.h 1.3343.x + mv 1.3343.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_mode.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/ndbm iffe: test: is sys/types.h a header ... yes iffe: test: is -ldb a library ... no iffe: test: sleepycat ndbm compatibility ... no iffe: test: is gdbm-ndbm.h a header ... no iffe: test: is gdbm/ndbm.h a header ... no iffe: test: is ndbm.h a header ... no + cmp -s FEATURE/ndbm ast_ndbm.h + rm -f ast_ndbm.h + silent test -d . + /bin/cp FEATURE/ndbm ast_ndbm.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_ndbm.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_ndbm.h 1.3512.x + mv 1.3512.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_ndbm.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_param.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_param.h 1.3517.x + mv 1.3517.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_param.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_sys.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_sys.h 1.3522.x + mv 1.3522.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_sys.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_time.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_time.h 1.3527.x + mv 1.3527.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_time.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_tty.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_tty.h 1.3532.x + mv 1.3532.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_tty.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_vfork.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_vfork.h 1.3537.x + mv 1.3537.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_vfork.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_wait.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wait.h 1.3542.x + mv 1.3542.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wait.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_limits.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_limits.h 1.3547.x + mv 1.3547.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_limits.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_standards.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_standards.h 1.3552.x + mv 1.3552.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_standards.h + iffe -v -X ast -X std -c cc -D_BLD_DLL -fPIC -D_BLD_ast -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro run /<>/ksh-93u+20120801/src/lib/libast/features/sizeof iffe: test: is sys/types.h a header ... yes iffe: test: sizeof(integral-type) ... yes + cmp -s FEATURE/sizeof ast_sizeof.h + rm -f ast_sizeof.h + silent test -d . + /bin/cp FEATURE/sizeof ast_sizeof.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_sizeof.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_sizeof.h 1.3667.x + mv 1.3667.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_sizeof.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_dirent.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_dirent.h 1.3672.x + mv 1.3672.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_dirent.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_iconv.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_iconv.h 1.3677.x + mv 1.3677.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_iconv.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_nl_types.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_nl_types.h 1.3682.x + mv 1.3682.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_nl_types.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_stdio.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h 1.3687.x + mv 1.3687.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_wchar.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h 1.3692.x + mv 1.3692.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1985,author=gsf+dgk+kpv ast_wctype.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wctype.h 1.3697.x + mv 1.3697.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wctype.h + silent test ! -d /<>/ksh-93u+20120801/arch/linux.i386-64/lib/file + mkdir -p /<>/ksh-93u+20120801/arch/linux.i386-64/lib/file + test = misc/magic.tab + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libast/misc/magic.tab /<>/ksh-93u+20120801/arch/linux.i386-64/lib/file/magic + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/file/magic /<>/ksh-93u+20120801/arch/linux.i386-64/lib/file/magic.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libast/misc/magic.tab /<>/ksh-93u+20120801/arch/linux.i386-64/lib/file/magic mamake: *** exit code 1 making lib/libast + mamake -C lib/libdll -k strip=0 install + set - + iffe -v -c cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldl -last : run /<>/ksh-93u+20120801/src/lib/libdll/features/dll iffe: test: is sys/types.h a header ... yes iffe: test: is -last a library ... no iffe: test: is -ldl a library ... yes iffe: test: is dl.h a header ... no iffe: test: is dlfcn.h a header ... yes iffe: test: is dll.h a header ... no iffe: test: is rld_interface.h a header ... no iffe: test: is mach-o/dyld.h a header ... no iffe: test: is sys/ldr.h a header ... no iffe: test: is dlopen a library function ... yes iffe: test: is dllload a library function ... no iffe: test: is loadbind a library function ... no iffe: test: is shl_load a library function ... no iffe: test: link{ ... }end ... no iffe: test: run{ ... }end ... yes iffe: test: output{ ... }end ... no + cmp -s FEATURE/dll dlldefs.h + rm -f dlldefs.h + silent test -d . + cp FEATURE/dll dlldefs.h + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libdll -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_dll -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libdll/dlfcn.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libdll -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /<>/ksh-93u+20120801/src/lib/libdll/dllopen.c /<>/ksh-93u+20120801/src/lib/libdll/dllopen.c:90:9: warning: implicit declaration of function 'dlopen' is invalid in C99 [-Wimplicit-function-declaration] return dlopen(name, mode); ^ /<>/ksh-93u+20120801/src/lib/libdll/dllopen.c:90:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'void *' [-Wint-conversion] return dlopen(name, mode); ^~~~~~~~~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libdll -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /<>/ksh-93u+20120801/src/lib/libdll/dllfind.c /<>/ksh-93u+20120801/src/lib/libdll/dllfind.c:43:37: warning: implicit declaration of function 'dllplug' is invalid in C99 [-Wimplicit-function-declaration] if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllfind.c:43:35: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libdll/dllfind.c:45:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'void *' [-Wint-conversion] return dllplug(NiL, lib, ver, flags, path, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libdll -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:41:2: error: unknown type name 'Dllscan_t'; did you mean 'Dllstate_t'? Dllscan_t* dls; ^~~~~~~~~ Dllstate_t /<>/ksh-93u+20120801/src/lib/libdll/dlllib.h:32:3: note: 'Dllstate_t' declared here } Dllstate_t; ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:42:2: error: use of undeclared identifier 'Dllent_t' Dllent_t* dle; ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:42:12: error: use of undeclared identifier 'dle' Dllent_t* dle; ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:47:13: warning: implicit declaration of function 'dllsopen' is invalid in C99 [-Wimplicit-function-declaration] if (dls = dllsopen(lib, name, ver)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:47:11: warning: incompatible integer to pointer conversion assigning to 'Dllstate_t *' (aka 'struct Dllstate_s *') from 'int' [-Wint-conversion] if (dls = dllsopen(lib, name, ver)) ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:47:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dls = dllsopen(lib, name, ver)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:47:11: note: place parentheses around the assignment to silence this warning if (dls = dllsopen(lib, name, ver)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:47:11: note: use '==' to turn this assignment into an equality comparison if (dls = dllsopen(lib, name, ver)) ^ == /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:49:17: warning: implicit declaration of function 'dllsread' is invalid in C99 [-Wimplicit-function-declaration] while (dle = dllsread(dls)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:49:11: error: use of undeclared identifier 'dle' while (dle = dllsread(dls)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:55:15: warning: implicit declaration of function 'dllopen' is invalid in C99 [-Wimplicit-function-declaration] if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:55:40: error: use of undeclared identifier 'RTLD_GLOBAL' if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:55:52: error: use of undeclared identifier 'RTLD_PARENT' if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:55:23: error: use of undeclared identifier 'dle' if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:57:11: warning: implicit declaration of function 'dllcheck' is invalid in C99 [-Wimplicit-function-declaration] if (!dllcheck(dll, dle->path, rel, cur)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:57:25: error: use of undeclared identifier 'dle' if (!dllcheck(dll, dle->path, rel, cur)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:60:7: warning: implicit declaration of function 'dlclose' is invalid in C99 [-Wimplicit-function-declaration] dlclose(dll); ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:65:21: error: use of undeclared identifier 'dle' strlcpy(path, dle->path, size); ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:93:74: warning: implicit declaration of function 'dllerror' is invalid in C99 [-Wimplicit-function-declaration] errorf("dll", NiL, 1, "dllplugin: %s dlopen failed: %s", dle->path, dllerror(1)); ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:93:63: error: use of undeclared identifier 'dle' errorf("dll", NiL, 1, "dllplugin: %s dlopen failed: %s", dle->path, dllerror(1)); ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:97:4: warning: implicit declaration of function 'dllsclose' is invalid in C99 [-Wimplicit-function-declaration] dllsclose(dls); ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:109:12: warning: implicit declaration of function 'dllopen' is invalid in C99 [-Wimplicit-function-declaration] if (dll = dllopen(name, flags)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:109:10: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] if (dll = dllopen(name, flags)) ^ ~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:109:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dll = dllopen(name, flags)) ~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:109:10: note: place parentheses around the assignment to silence this warning if (dll = dllopen(name, flags)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:109:10: note: use '==' to turn this assignment into an equality comparison if (dll = dllopen(name, flags)) ^ == /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:111:8: warning: implicit declaration of function 'dllcheck' is invalid in C99 [-Wimplicit-function-declaration] if (!dllcheck(dll, name, rel, cur)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllplug.c:113:4: warning: implicit declaration of function 'dlclose' is invalid in C99 [-Wimplicit-function-declaration] dlclose(dll); ^ 14 warnings and 10 errors generated. mamake [lib/libdll]: *** exit code 1 making dllplug.o + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libdll -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:42:1: error: unknown type name 'Dllnames_t' Dllnames_t* ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:43:44: error: unknown type name 'Dllnames_t' dllnames(const char* id, const char* name, Dllnames_t* names) ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:56:32: error: expected expression s = fmtbuf(sizeof(Dllnames_t*) + sizeof(names) - 1); ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:56:21: error: use of undeclared identifier 'Dllnames_t' s = fmtbuf(sizeof(Dllnames_t*) + sizeof(names) - 1); ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:59:23: error: expected expression names = (Dllnames_t*)s; ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:59:12: error: use of undeclared identifier 'Dllnames_t' names = (Dllnames_t*)s; ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:83:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strrchr(s, ':')) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:83:8: note: place parentheses around the assignment to silence this warning if (t = strrchr(s, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:83:8: note: use '==' to turn this assignment into an equality comparison if (t = strrchr(s, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:110:9: error: unknown type name 'Dllnames_t' dll_lib(Dllnames_t* names, unsigned long version, Dllerror_f dllerrorf, void* disc) ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:110:51: error: unknown type name 'Dllerror_f' dll_lib(Dllnames_t* names, unsigned long version, Dllerror_f dllerrorf, void* disc) ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:138:14: warning: implicit declaration of function 'dllplugin' is invalid in C99 [-Wimplicit-function-declaration] if (!(dll = dllplugin(names->id, names->name, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)) && (streq(names->name, names->base) || !(dll = dllplugin(names->id, names->base, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)))) ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:138:67: error: use of undeclared identifier 'RTLD_LAZY' if (!(dll = dllplugin(names->id, names->name, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)) && (streq(names->name, names->base) || !(dll = dllplugin(names->id, names->base, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)))) ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:138:241: error: use of undeclared identifier 'RTLD_LAZY' if (!(dll = dllplugin(names->id, names->name, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)) && (streq(names->name, names->base) || !(dll = dllplugin(names->id, names->base, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)))) ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:152:26: warning: implicit declaration of function 'dlllook' is invalid in C99 [-Wimplicit-function-declaration] if (!(libf = (Dll_lib_f)dlllook(dll, sym))) ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:152:15: warning: cast to 'Dll_lib_f' (aka 'void *(*)(const char *, void *, const char *)') from smaller integer type 'int' [-Wint-to-pointer-cast] if (!(libf = (Dll_lib_f)dlllook(dll, sym))) ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:185:2: error: use of undeclared identifier 'Dllnames_t'; did you mean 'dllnames'? Dllnames_t names; ^~~~~~~~~~ dllnames /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:43:1: note: 'dllnames' declared here dllnames(const char* id, const char* name, Dllnames_t* names) ^ /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:187:37: error: use of undeclared identifier 'names'; did you mean 'name'? return dll_lib(dllnames(id, name, &names), version, 0, 0); ^~~~~ name /<>/ksh-93u+20120801/src/lib/libdll/dll_lib.c:183:37: note: 'name' declared here dllmeth(const char* id, const char* name, unsigned long version) ^ 4 warnings and 12 errors generated. mamake [lib/libdll]: *** exit code 1 making dll_lib.o + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libdll -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_dll -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libdll/dllnext.c /<>/ksh-93u+20120801/src/lib/libdll/dllnext.c:210:17: warning: implicit declaration of function 'dllopen' is invalid in C99 [-Wimplicit-function-declaration] while (!(dll = dllopen(path, flags))) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllnext.c:210:15: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] while (!(dll = dllopen(path, flags))) ^ ~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libdll -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_dll -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libdll/dlllook.c /<>/ksh-93u+20120801/src/lib/libdll/dlllook.c:40:15: warning: implicit declaration of function 'dlsym' is invalid in C99 [-Wimplicit-function-declaration] if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dlllook.c:40:13: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2)) ^ ~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libdll/dlllook.c:45:8: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] addr = dlsym(dll, name); ^ ~~~~~~~~~~~~~~~~ 3 warnings generated. + cc -D_BLD_DLL -fPIC -I. -I/<>/ksh-93u+20120801/src/lib/libdll -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_dll -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:85:1: error: unknown type name 'Dllinfo_t'; did you mean 'Dtlink_t'? Dllinfo_t* ^~~~~~~~~ Dtlink_t /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cdt.h:60:26: note: 'Dtlink_t' declared here typedef struct _dtlink_s Dtlink_t; ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:98:9: error: unknown type name 'Dllinfo_t'; did you mean 'Dtlink_t'? static Dllinfo_t info; ^~~~~~~~~ Dtlink_t /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cdt.h:60:26: note: 'Dtlink_t' declared here typedef struct _dtlink_s Dtlink_t; ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:100:12: error: no member named 'sibling' in 'struct _dtlink_s' if (!info.sibling) ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:102:8: error: no member named 'sibling' in 'struct _dtlink_s' info.sibling = info.sib; ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:102:23: error: no member named 'sib' in 'struct _dtlink_s' info.sibling = info.sib; ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:135:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*s || !p || !h && !*(h = astconf("HOSTTYPE", NiL, NiL))) ~~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:135:26: note: place parentheses around the '&&' expression to silence this warning if (!*s || !p || !h && !*(h = astconf("HOSTTYPE", NiL, NiL))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:144:31: error: no member named 'sibbuf' in 'struct _dtlink_s' if (d && dn < sizeof(info.sibbuf)) ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:146:18: error: no member named 'sibbuf' in 'struct _dtlink_s' memcpy(info.sibbuf, d, dn); ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:147:11: error: no member named 'sibling' in 'struct _dtlink_s' info.sibling[0] = info.sibbuf; ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:147:29: error: no member named 'sibbuf' in 'struct _dtlink_s' info.sibling[0] = info.sibbuf; ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:149:31: error: no member named 'envbuf' in 'struct _dtlink_s' if (v && vn < sizeof(info.envbuf)) ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:151:18: error: no member named 'envbuf' in 'struct _dtlink_s' memcpy(info.envbuf, v, vn); ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:152:11: error: no member named 'env' in 'struct _dtlink_s' info.env = info.envbuf; ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:152:22: error: no member named 'envbuf' in 'struct _dtlink_s' info.env = info.envbuf; ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:156:13: error: no member named 'sibling' in 'struct _dtlink_s' if (!info.sibling[0] || streq(info.sibling[0], bin)) ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:156:38: error: no member named 'sibling' in 'struct _dtlink_s' if (!info.sibling[0] || streq(info.sibling[0], bin)) ~~~~ ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:219:23: note: expanded from macro 'streq' #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:156:38: error: no member named 'sibling' in 'struct _dtlink_s' if (!info.sibling[0] || streq(info.sibling[0], bin)) ~~~~ ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:219:41: note: expanded from macro 'streq' #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:157:9: error: no member named 'sibling' in 'struct _dtlink_s' info.sibling[0] = bin; ~~~~ ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:158:19: error: no member named 'sibling' in 'struct _dtlink_s' if (!streq(info.sibling[0], lib)) ~~~~ ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:219:23: note: expanded from macro 'streq' #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllscan.c:158:19: error: no member named 'sibling' in 'struct _dtlink_s' if (!streq(info.sibling[0], lib)) ~~~~ ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:219:41: note: expanded from macro 'streq' #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. mamake [lib/libdll]: *** exit code 1 making dllscan.o + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libdll -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /<>/ksh-93u+20120801/src/lib/libdll/dllcheck.c /<>/ksh-93u+20120801/src/lib/libdll/dllcheck.c:37:2: error: use of undeclared identifier 'Dll_plugin_version_f'; did you mean 'plugin_version'? Dll_plugin_version_f pvf; ^~~~~~~~~~~~~~~~~~~~ plugin_version /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:422:33: note: 'plugin_version' declared here extern __MANGLE__ unsigned long plugin_version __PROTO__((void)); ^ /<>/ksh-93u+20120801/src/lib/libdll/dllcheck.c:37:22: error: expected ';' after expression Dll_plugin_version_f pvf; ^ ; /<>/ksh-93u+20120801/src/lib/libdll/dllcheck.c:37:23: error: use of undeclared identifier 'pvf' Dll_plugin_version_f pvf; ^ /<>/ksh-93u+20120801/src/lib/libdll/dllcheck.c:39:13: error: use of undeclared identifier 'Dll_plugin_version_f'; did you mean 'plugin_version'? if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) ^~~~~~~~~~~~~~~~~~~~ plugin_version /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:422:33: note: 'plugin_version' declared here extern __MANGLE__ unsigned long plugin_version __PROTO__((void)); ^ /<>/ksh-93u+20120801/src/lib/libdll/dllcheck.c:39:6: error: use of undeclared identifier 'pvf' if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) ^ /<>/ksh-93u+20120801/src/lib/libdll/dllcheck.c:40:12: error: use of undeclared identifier 'pvf' return (*pvf)(); ^ /<>/ksh-93u+20120801/src/lib/libdll/dllcheck.c:37:2: warning: expression result unused [-Wunused-value] Dll_plugin_version_f pvf; ^~~~~~~~~~~~~~~~~~~~ 1 warning and 6 errors generated. mamake [lib/libdll]: *** exit code 1 making dllcheck.o + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libdll -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_dll -c /<>/ksh-93u+20120801/src/lib/libdll/dllerror.c /<>/ksh-93u+20120801/src/lib/libdll/dllerror.c:45:6: warning: implicit declaration of function 'dlerror' is invalid in C99 [-Wimplicit-function-declaration] s = dlerror(); ^ /<>/ksh-93u+20120801/src/lib/libdll/dllerror.c:45:4: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] s = dlerror(); ^ ~~~~~~~~~ 2 warnings generated. + test = dll.req + /usr/bin/cmp -s dll.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dll + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dll /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dll.old + true + /bin/cp dll.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/dll + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1997,author=gsf dlldefs.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/dlldefs.h 1.4551.x + mv 1.4551.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/dlldefs.h mamake: *** exit code 1 making lib/libdll + mamake -C lib/libcoshell -k strip=0 install + set - + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:112:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s = *v++) ~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:112:15: note: place parentheses around the assignment to silence this warning while (*s = *v++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:112:15: note: use '==' to turn this assignment into an equality comparison while (*s = *v++) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:237:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strrchr(s = av[0], '/')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:237:11: note: place parentheses around the assignment to silence this warning if (t = strrchr(s = av[0], '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:237:11: note: use '==' to turn this assignment into an equality comparison if (t = strrchr(s = av[0], '/')) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:239:41: warning: '&&' within '||' [-Wlogical-op-parentheses] if (flags || (co->flags & CO_DEVFD) && strmatch(s, "*ksh*")) ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:239:41: note: place parentheses around the '&&' expression to silence this warning if (flags || (co->flags & CO_DEVFD) && strmatch(s, "*ksh*")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:277:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = getenv(CO_ENV_ATTRIBUTES)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:277:9: note: place parentheses around the assignment to silence this warning if (t = getenv(CO_ENV_ATTRIBUTES)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:277:9: note: use '==' to turn this assignment into an equality comparison if (t = getenv(CO_ENV_ATTRIBUTES)) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:328:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(s, ',')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:328:11: note: place parentheses around the assignment to silence this warning if (t = strchr(s, ',')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:328:11: note: use '==' to turn this assignment into an equality comparison if (t = strchr(s, ',')) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:396:90: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(s = sh[1]) || (s = (t = strrchr(s, '/')) ? (t + 1) : s) && !strmatch(s, "?(k)sh") && !streq(s, CO_ID)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coopen.c:396:90: note: place parentheses around the '&&' expression to silence this warning if (!(s = sh[1]) || (s = (t = strrchr(s, '/')) ? (t + 1) : s) && !strmatch(s, "?(k)sh") && !streq(s, CO_ID)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 6 warnings generated. + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/coclose.c + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:75:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cvt = *n == '%') ~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:75:10: note: place parentheses around the assignment to silence this warning if (cvt = *n == '%') ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:75:10: note: use '==' to turn this assignment into an equality comparison if (cvt = *n == '%') ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:86:75: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:86:75: note: place parentheses around the '&&' expression to silence this warning if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:86:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ~~~~~~~~~~~~~~~~^~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:86:23: note: place parentheses around the '&&' expression to silence this warning if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:86:37: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ~~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:86:37: note: place parentheses around the '&&' expression to silence this warning if ((v = getenv(n)) && *v || coex && ((flags & CO_EXPORT) || co->export && dtsize(co->export) > 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:190:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (n = 0; s = co_export[n]; n++) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:190:19: note: place parentheses around the assignment to silence this warning for (n = 0; s = co_export[n]; n++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:190:19: note: use '==' to turn this assignment into an equality comparison for (n = 0; s = co_export[n]; n++) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:204:12: note: place parentheses around the assignment to silence this warning if (v = strchr(s, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:204:12: note: use '==' to turn this assignment into an equality comparison if (v = strchr(s, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:206:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (e = *ep++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:206:15: note: place parentheses around the assignment to silence this warning while (e = *ep++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:206:15: note: use '==' to turn this assignment into an equality comparison while (e = *ep++) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:207:59: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((t = strsubmatch(e, s, 1)) && (*t == '=' || !*t && (t = strchr(e, '=')))) ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:207:59: note: place parentheses around the '&&' expression to silence this warning if ((t = strsubmatch(e, s, 1)) && (*t == '=' || !*t && (t = strchr(e, '=')))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:212:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (n = 0; xs = co_export[n]; n++) ~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:212:24: note: place parentheses around the assignment to silence this warning for (n = 0; xs = co_export[n]; n++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:212:24: note: use '==' to turn this assignment into an equality comparison for (n = 0; xs = co_export[n]; n++) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:244:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(s, ':')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:244:13: note: place parentheses around the assignment to silence this warning if (t = strchr(s, ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:244:13: note: use '==' to turn this assignment into an equality comparison if (t = strchr(s, ':')) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:295:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!sync && (*s == ':' || *s == '.' && *(s + 1) == ':')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:295:42: note: place parentheses around the '&&' expression to silence this warning if (!sync && (*s == ':' || *s == '.' && *(s + 1) == ':')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:318:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:318:13: note: place parentheses around the assignment to silence this warning while (n = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:318:13: note: use '==' to turn this assignment into an equality comparison while (n = *s++) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:411:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (co->init.script = co->vm ? vmnewof(co->vm, 0, char, 1, 0) : newof(0, char, 1, 0)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:411:23: note: place parentheses around the assignment to silence this warning if (co->init.script = co->vm ? vmnewof(co->vm, 0, char, 1, 0) : newof(0, char, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coinit.c:411:23: note: use '==' to turn this assignment into an equality comparison if (co->init.script = co->vm ? vmnewof(co->vm, 0, char, 1, 0) : newof(0, char, 1, 0)) ^ == 13 warnings generated. + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/coexec.c /<>/ksh-93u+20120801/src/lib/libcoshell/coexec.c:292:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coexec.c:292:21: note: place parentheses around the assignment to silence this warning else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coexec.c:292:21: note: use '==' to turn this assignment into an equality comparison else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/coexec.c:367:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coexec.c:367:21: note: place parentheses around the assignment to silence this warning else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coexec.c:367:21: note: use '==' to turn this assignment into an equality comparison else if (cj->err = pathtemp(NiL, 64, NiL, "coe", NiL)) ^ == 2 warnings generated. + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/costash.c + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c:42:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = sfopen(NiL, *path, "r")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c:42:9: note: place parentheses around the assignment to silence this warning if (sp = sfopen(NiL, *path, "r")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c:42:9: note: use '==' to turn this assignment into an equality comparison if (sp = sfopen(NiL, *path, "r")) ^ == /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c:150:16: warning: '&&' within '||' [-Wlogical-op-parentheses] if (co || job && (co = job->coshell)) ~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c:150:16: note: place parentheses around the '&&' expression to silence this warning if (co || job && (co = job->coshell)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c:183:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (cj->service && !cj->service->pid) ^ /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c:251:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(co->cmdfd, buf, n); ^~~~~ ~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c:275:66: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(type = *s) || type != 'a' && type != 'j' && type != 'k' && type != 'x') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c:275:66: note: place parentheses around the '&&' expression to silence this warning if (!(type = *s) || type != 'a' && type != 'j' && type != 'k' && type != 'x') ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/cowait.c:373:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(co->cmdfd, buf, n); ^~~~~ ~~~~~~~~~~~~~~~~~ 6 warnings generated. + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/cokill.c + iffe -v -c cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -last : def nfsd iffe: test: is sys/types.h a header ... yes iffe: test: is -last a library ... no iffe: test: is nfsd a command ... no iffe: test: is nfsd a library data symbol ... no iffe: test: is nfsd.h a header ... no iffe: test: is nfsd a reserved keyword ... no iffe: test: is nfsd a library function ... no iffe: test: is nfsd a math library symbol ... no iffe: test: is sys/nfsd.h a header ... no iffe: test: is nfsd a type or typedef ... no + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/cosync.c + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/coquote.c /<>/ksh-93u+20120801/src/lib/libcoshell/coquote.c:38:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/coquote.c:38:11: note: place parentheses around the assignment to silence this warning while (c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/coquote.c:38:11: note: use '==' to turn this assignment into an equality comparison while (c = *s++) ^ == 1 warning generated. + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/codata.c + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/coexport.c + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/procrun.c /<>/ksh-93u+20120801/src/lib/libcoshell/procrun.c:45:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *++a) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/procrun.c:45:11: note: place parentheses around the assignment to silence this warning while (s = *++a) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/procrun.c:45:11: note: use '==' to turn this assignment into an equality comparison while (s = *++a) ^ == 1 warning generated. + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcoshell -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_coshell -c /<>/ksh-93u+20120801/src/lib/libcoshell/system.c /<>/ksh-93u+20120801/src/lib/libcoshell/system.c:41:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cj = coexec(co, cmd, CO_SILENT, NiL, NiL, NiL)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcoshell/system.c:41:9: note: place parentheses around the assignment to silence this warning if (cj = coexec(co, cmd, CO_SILENT, NiL, NiL, NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcoshell/system.c:41:9: note: use '==' to turn this assignment into an equality comparison if (cj = coexec(co, cmd, CO_SILENT, NiL, NiL, NiL)) ^ == 1 warning generated. + /usr/bin/ar rc libcoshell.a coopen.o coclose.o coinit.o coexec.o costash.o cowait.o cokill.o cosync.o coquote.o codata.o coexport.o procrun.o system.o + cp /<>/ksh-93u+20120801/src/lib/libcoshell/ignore.sh ignore + silent test -w ignore -a -x ignore + chmod u+w,+x ignore + cp /<>/ksh-93u+20120801/src/lib/libcoshell/silent.sh silent + silent test -w silent -a -x silent + chmod u+w,+x silent + test = libcoshell.a + /usr/bin/cmp -s libcoshell.a /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a.old + true + /bin/cp libcoshell.a /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a + test = coshell.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/lib/libcoshell/coshell.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/coshell.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/coshell.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/coshell.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/lib/libcoshell/coshell.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/coshell.3 + test = coshell.req + /usr/bin/cmp -s coshell.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/coshell + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/coshell /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/coshell.old + true + /bin/cp coshell.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/coshell + test = ignore + /usr/bin/cmp -s ignore /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ignore + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ignore /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ignore.old + true + /bin/cp ignore /<>/ksh-93u+20120801/arch/linux.i386-64/bin/ignore + test = silent + /usr/bin/cmp -s silent /<>/ksh-93u+20120801/arch/linux.i386-64/bin/silent + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/bin/silent /<>/ksh-93u+20120801/arch/linux.i386-64/bin/silent.old + true + /bin/cp silent /<>/ksh-93u+20120801/arch/linux.i386-64/bin/silent + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1990,author=gsf /<>/ksh-93u+20120801/src/lib/libcoshell/coshell.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/coshell.h 1.4784.x + mv 1.4784.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/coshell.h + mamake -C lib/libsum -k strip=0 install + set - + iffe -v -c cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -last : run /<>/ksh-93u+20120801/src/lib/libsum/features/sum iffe: test: is sys/types.h a header ... yes iffe: test: is -last a library ... no iffe: test: is md4.h a header ... no iffe: test: is -lmd a library ... no iffe: test: is MD4Init a library function ... no iffe: test: is md5.h a header ... no iffe: test: is MD5Init a library function ... no iffe: test: is sha1.h a header ... no iffe: test: is SHA1Init a library function ... no iffe: test: is sha2.h a header ... no iffe: test: is SHA2Init a library function ... no + cc -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libsum -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:84:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, Integral_t, 1, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:84:8: note: place parentheses around the assignment to silence this warning if (p = newof(0, Integral_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:84:8: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, Integral_t, 1, 0)) ^ == In file included from /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:153: /<>/ksh-93u+20120801/src/lib/libsum/sum-ast4.c:72:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, Ast4_t, 1, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sum-ast4.c:72:8: note: place parentheses around the assignment to silence this warning if (p = newof(0, Ast4_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libsum/sum-ast4.c:72:8: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, Ast4_t, 1, 0)) ^ == In file included from /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:155: /<>/ksh-93u+20120801/src/lib/libsum/sum-crc.c:71:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sum = newof(0, Crc_t, 1, 0)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sum-crc.c:71:10: note: place parentheses around the assignment to silence this warning if (sum = newof(0, Crc_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libsum/sum-crc.c:71:10: note: use '==' to turn this assignment into an equality comparison if (sum = newof(0, Crc_t, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libsum/sum-crc.c:84:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isdigit(*t) || v && i >= 4 && strneq(t, "poly", 4) && (t = v + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sum-crc.c:84:58: note: place parentheses around the '&&' expression to silence this warning if (isdigit(*t) || v && i >= 4 && strneq(t, "poly", 4) && (t = v + 1)) ^ ( ) In file included from /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:156: /<>/ksh-93u+20120801/src/lib/libsum/sum-prng.c:62:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sum = newof(0, Prng_t, 1, 0)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sum-prng.c:62:10: note: place parentheses around the assignment to silence this warning if (sum = newof(0, Prng_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libsum/sum-prng.c:62:10: note: use '==' to turn this assignment into an equality comparison if (sum = newof(0, Prng_t, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libsum/sum-prng.c:74:47: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isdigit(*t) || v && strneq(t, "mpy", i) && (t = v + 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sum-prng.c:74:47: note: place parentheses around the '&&' expression to silence this warning if (isdigit(*t) || v && strneq(t, "mpy", i) && (t = v + 1)) ^ ( ) In file included from /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:164: /<>/ksh-93u+20120801/src/lib/libsum/sum-md5.c:117:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = newof(0, Md5_t, 1, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sum-md5.c:117:8: note: place parentheses around the assignment to silence this warning if (p = newof(0, Md5_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libsum/sum-md5.c:117:8: note: use '==' to turn this assignment into an equality comparison if (p = newof(0, Md5_t, 1, 0)) ^ == In file included from /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:165: /<>/ksh-93u+20120801/src/lib/libsum/sum-sha1.c:254:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sha = newof(0, Sha1_t, 1, 0)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sum-sha1.c:254:10: note: place parentheses around the assignment to silence this warning if (sha = newof(0, Sha1_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libsum/sum-sha1.c:254:10: note: use '==' to turn this assignment into an equality comparison if (sha = newof(0, Sha1_t, 1, 0)) ^ == In file included from /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:166: /<>/ksh-93u+20120801/src/lib/libsum/sum-sha2.c:695:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sha = newof(0, Sha256_t, 1, 0)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sum-sha2.c:695:10: note: place parentheses around the assignment to silence this warning if (sha = newof(0, Sha256_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libsum/sum-sha2.c:695:10: note: use '==' to turn this assignment into an equality comparison if (sha = newof(0, Sha256_t, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libsum/sum-sha2.c:1058:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sha = newof(0, Sha512_t, 1, 0)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sum-sha2.c:1058:10: note: place parentheses around the assignment to silence this warning if (sha = newof(0, Sha512_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libsum/sum-sha2.c:1058:10: note: use '==' to turn this assignment into an equality comparison if (sha = newof(0, Sha512_t, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libsum/sum-sha2.c:1195:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sha = newof(0, Sha384_t, 1, 0)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sum-sha2.c:1195:10: note: place parentheses around the assignment to silence this warning if (sha = newof(0, Sha384_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libsum/sum-sha2.c:1195:10: note: use '==' to turn this assignment into an equality comparison if (sha = newof(0, Sha384_t, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:278:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!name || !name[0] || name[0] == '-' && !name[1]) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libsum/sumlib.c:278:42: note: place parentheses around the '&&' expression to silence this warning if (!name || !name[0] || name[0] == '-' && !name[1]) ^ ( ) 12 warnings generated. + /usr/bin/ar rc libsum.a sumlib.o + test = libsum.a + /usr/bin/cmp -s libsum.a /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libsum.a + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libsum.a /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libsum.a.old + true + /bin/cp libsum.a /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libsum.a + test = sum.req + /usr/bin/cmp -s sum.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/sum + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/sum /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/sum.old + true + /bin/cp sum.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/sum + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1996,author=gsf /<>/ksh-93u+20120801/src/lib/libsum/sum.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sum.h 1.5000.x + mv 1.5000.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/sum.h + mamake -C lib/libcmd -k strip=0 install + set - + iffe -v -c cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -lutil -last : run /<>/ksh-93u+20120801/src/lib/libcmd/features/symlink iffe: test: is sys/types.h a header ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: lchmod implemented ... no iffe: test: lchown implemented ... yes + iffe -v -c cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -lutil -last : run /<>/ksh-93u+20120801/src/lib/libcmd/features/sockets iffe: test: is sys/types.h a header ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is sys/socket.h a header ... yes iffe: test: is arpa/inet.h a header ... yes iffe: test: is netinet/in.h a header ... yes iffe: test: is getsockname a library function ... yes iffe: test: is getsockopt a library function ... yes iffe: test: is inet_ntoa a library function ... yes + iffe -v -c cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -lutil -last : run /<>/ksh-93u+20120801/src/lib/libcmd/features/ids iffe: test: is sys/types.h a header ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is endgrent a library function ... yes iffe: test: is getgrent a library function ... yes iffe: test: is setgrent a library function ... yes iffe: test: is sys/fss.h a header ... no iffe: test: is fsg.h a header ... no iffe: test: is -lfsg a library ... no iffe: test: is fsid a library function ... no iffe: test: is getfsgid a library function ... no iffe: test: is isfsg a library function ... no iffe: test: is unistd.h a header ... yes iffe: test: is getsid a library function ... yes iffe: test: is fsid a macro ... no iffe: test: cat{ ... }end ... yes + iffe -v -c cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -lutil -last : run /<>/ksh-93u+20120801/src/lib/libcmd/features/utsname iffe: test: is sys/types.h a header ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is getdomainname a library function ... yes iffe: test: is gethostid a library function ... yes iffe: test: is gethostname a library function ... yes iffe: test: is sethostname a library function ... yes iffe: test: is syscall a library function ... yes iffe: test: is systeminfo a library function ... no iffe: test: is uname a library function ... yes iffe: test: is syssgi a library function ... no iffe: test: is sys/utsname.h a header ... yes iffe: test: is utsname a type or typedef ... no iffe: test: is base_rel a member of struct utsname ... no iffe: test: is idnumber a member of struct utsname ... no iffe: test: is m_type a member of struct utsname ... no iffe: test: is nodeext a member of struct utsname ... no iffe: test: is sys/syscall.h a header ... yes iffe: test: is sys/systeminfo.h a header ... no iffe: test: is sys/syssgi.h a header ... no iffe: test: cross{ ... }end ... yes + cat + sed -e /^b_[a-z_][a-z_0-9]*(/!d -e s/^b_// -e s/(.*// -e s/.*/extern int b_&(int, char**, Shbltin_t*);/ /<>/ksh-93u+20120801/src/lib/libcmd/cmdinit.c /<>/ksh-93u+20120801/src/lib/libcmd/basename.c /<>/ksh-93u+20120801/src/lib/libcmd/cat.c /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c /<>/ksh-93u+20120801/src/lib/libcmd/chmod.c /<>/ksh-93u+20120801/src/lib/libcmd/chown.c /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c /<>/ksh-93u+20120801/src/lib/libcmd/comm.c /<>/ksh-93u+20120801/src/lib/libcmd/cp.c /<>/ksh-93u+20120801/src/lib/libcmd/cut.c /<>/ksh-93u+20120801/src/lib/libcmd/dirname.c /<>/ksh-93u+20120801/src/lib/libcmd/date.c /<>/ksh-93u+20120801/src/lib/libcmd/expr.c /<>/ksh-93u+20120801/src/lib/libcmd/fds.c /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c /<>/ksh-93u+20120801/src/lib/libcmd/fold.c /<>/ksh-93u+20120801/src/lib/libcmd/getconf.c /<>/ksh-93u+20120801/src/lib/libcmd/head.c /<>/ksh-93u+20120801/src/lib/libcmd/id.c /<>/ksh-93u+20120801/src/lib/libcmd/join.c /<>/ksh-93u+20120801/src/lib/libcmd/ln.c /<>/ksh-93u+20120801/src/lib/libcmd/logname.c /<>/ksh-93u+20120801/src/lib/libcmd/md5sum.c /<>/ksh-93u+20120801/src/lib/libcmd/mkdir.c /<>/ksh-93u+20120801/src/lib/libcmd/mkfifo.c /<>/ksh-93u+20120801/src/lib/libcmd/mktemp.c /<>/ksh-93u+20120801/src/lib/libcmd/mv.c /<>/ksh-93u+20120801/src/lib/libcmd/paste.c /<>/ksh-93u+20120801/src/lib/libcmd/pathchk.c /<>/ksh-93u+20120801/src/lib/libcmd/pids.c /<>/ksh-93u+20120801/src/lib/libcmd/rev.c /<>/ksh-93u+20120801/src/lib/libcmd/rm.c /<>/ksh-93u+20120801/src/lib/libcmd/rmdir.c /<>/ksh-93u+20120801/src/lib/libcmd/stty.c /<>/ksh-93u+20120801/src/lib/libcmd/sum.c /<>/ksh-93u+20120801/src/lib/libcmd/sync.c /<>/ksh-93u+20120801/src/lib/libcmd/tail.c /<>/ksh-93u+20120801/src/lib/libcmd/tee.c /<>/ksh-93u+20120801/src/lib/libcmd/tty.c /<>/ksh-93u+20120801/src/lib/libcmd/uname.c /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c /<>/ksh-93u+20120801/src/lib/libcmd/vmstate.c /<>/ksh-93u+20120801/src/lib/libcmd/wc.c /<>/ksh-93u+20120801/src/lib/libcmd/revlib.c /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c+ /<>/ksh-93u+20120801/src/lib/libcmd/fts_fix.c /<>/ksh-93u+20120801/src/lib/libcmd/lib.c sort -u + cmp -s 1.5920.h cmdext.h + mv 1.5920.h cmdext.h + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libcmd/cmdinit.c /<>/ksh-93u+20120801/src/lib/libcmd/cmdinit.c:50:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strrchr(argv[0], '/')) ~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cmdinit.c:50:9: note: place parentheses around the assignment to silence this warning if (cp = strrchr(argv[0], '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cmdinit.c:50:9: note: use '==' to turn this assignment into an equality comparison if (cp = strrchr(argv[0], '/')) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/basename.c /<>/ksh-93u+20120801/src/lib/libcmd/basename.c:131:44: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || argc < 1 || !all && argc > 2) ~~ ~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/basename.c:131:44: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || argc < 1 || !all && argc > 2) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/basename.c:136:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (string = *argv++) ~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/basename.c:136:17: note: place parentheses around the assignment to silence this warning while (string = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/basename.c:136:17: note: use '==' to turn this assignment into an equality comparison while (string = *argv++) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -D_BLD_cmd -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libcmd/cat.c /<>/ksh-93u+20120801/src/lib/libcmd/cat.c:176:25: warning: expression result unused [-Wunused-value] if ((m = mbsize(pp)) == c) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libcmd/cat.c:213:26: warning: expression result unused [-Wunused-value] if ((m = mbsize(tmp)) >= c) ^~~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libcmd/cat.c:515:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cat.c:515:9: note: place parentheses around the assignment to silence this warning if (cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cat.c:515:9: note: use '==' to turn this assignment into an equality comparison if (cp = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cat.c:551:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (cp = *argv++); ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cat.c:551:14: note: place parentheses around the assignment to silence this warning } while (cp = *argv++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cat.c:551:14: note: use '==' to turn this assignment into an equality comparison } while (cp = *argv++); ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c:355:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = sfgetr(sp, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c:355:12: note: place parentheses around the assignment to silence this warning while (s = sfgetr(sp, '\n', 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c:355:12: note: use '==' to turn this assignment into an equality comparison while (s = sfgetr(sp, '\n', 1)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c:434:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = (Map_t*)dtmatch(map, &keys[i])) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c:434:12: note: place parentheses around the assignment to silence this warning if (m = (Map_t*)dtmatch(map, &keys[i])) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c:434:12: note: use '==' to turn this assignment into an equality comparison if (m = (Map_t*)dtmatch(map, &keys[i])) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c:465:38: warning: '&&' within '||' [-Wlogical-op-parentheses] if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c:465:38: note: place parentheses around the '&&' expression to silence this warning if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c:465:86: warning: '&&' within '||' [-Wlogical-op-parentheses] if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/chgrp.c:465:86: note: place parentheses around the '&&' expression to silence this warning if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 4 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/chmod.c /<>/ksh-93u+20120801/src/lib/libcmd/chmod.c:237:44: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || !*argv || !amode && !*(argv + 1)) ~~ ~~~~~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/chmod.c:237:44: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || !*argv || !amode && !*(argv + 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/chmod.c:298:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM)) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/chmod.c:298:36: note: place parentheses around the '&&' expression to silence this warning if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM)) ^ ( ) 2 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libcmd/chown.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:189:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = sfgetr(ip, '\n', 1)) ~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:189:12: note: place parentheses around the assignment to silence this warning while (p = sfgetr(ip, '\n', 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:189:12: note: use '==' to turn this assignment into an equality comparison while (p = sfgetr(ip, '\n', 1)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:200:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = sfreserve(ip, SF_UNBOUND, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:200:12: note: place parentheses around the assignment to silence this warning while (p = sfreserve(ip, SF_UNBOUND, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:200:12: note: use '==' to turn this assignment into an equality comparison while (p = sfreserve(ip, SF_UNBOUND, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:209:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (r = memchr(p, '\r', e - p)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:209:13: note: place parentheses around the assignment to silence this warning while (r = memchr(p, '\r', e - p)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:209:13: note: use '==' to turn this assignment into an equality comparison while (r = memchr(p, '\r', e - p)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:226:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = sfreserve(ip, SF_UNBOUND, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:226:12: note: place parentheses around the assignment to silence this warning while (p = sfreserve(ip, SF_UNBOUND, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:226:12: note: use '==' to turn this assignment into an equality comparison while (p = sfreserve(ip, SF_UNBOUND, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:243:88: warning: '&&' within '||' [-Wlogical-op-parentheses] (st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode & (S_IRGRP|S_IROTH)) || (st->st_mode & S_IXUSR) && !(st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(st->st_uid) : "-", ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:243:88: note: place parentheses around the '&&' expression to silence this warning (st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode & (S_IRGRP|S_IROTH)) || (st->st_mode & S_IXUSR) && !(st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(st->st_uid) : "-", ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:243:153: warning: '&&' within '||' [-Wlogical-op-parentheses] (st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode & (S_IRGRP|S_IROTH)) || (st->st_mode & S_IXUSR) && !(st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(st->st_uid) : "-", ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:243:153: note: place parentheses around the '&&' expression to silence this warning (st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode & (S_IRGRP|S_IROTH)) || (st->st_mode & S_IXUSR) && !(st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(st->st_uid) : "-", ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:244:88: warning: '&&' within '||' [-Wlogical-op-parentheses] (st->st_gid != state->gid && ((st->st_mode & S_ISGID) || (st->st_mode & S_IRGRP) && !(st->st_mode & S_IROTH) || (st->st_mode & S_IXGRP) && !(st->st_mode & S_IXOTH))) ? fmtgid(st->st_gid) : "-"); ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:244:88: note: place parentheses around the '&&' expression to silence this warning (st->st_gid != state->gid && ((st->st_mode & S_ISGID) || (st->st_mode & S_IRGRP) && !(st->st_mode & S_IROTH) || (st->st_mode & S_IXGRP) && !(st->st_mode & S_IXOTH))) ? fmtgid(st->st_gid) : "-"); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:244:143: warning: '&&' within '||' [-Wlogical-op-parentheses] (st->st_gid != state->gid && ((st->st_mode & S_ISGID) || (st->st_mode & S_IRGRP) && !(st->st_mode & S_IROTH) || (st->st_mode & S_IXGRP) && !(st->st_mode & S_IXOTH))) ? fmtgid(st->st_gid) : "-"); ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:244:143: note: place parentheses around the '&&' expression to silence this warning (st->st_gid != state->gid && ((st->st_mode & S_ISGID) || (st->st_mode & S_IRGRP) && !(st->st_mode & S_IROTH) || (st->st_mode & S_IXGRP) && !(st->st_mode & S_IXOTH))) ? fmtgid(st->st_gid) : "-"); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:270:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!*s || *s == '#' && (!*(s + 1) || *(s + 1) == ' ' || *(s + 1) == '\t')) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:270:23: note: place parentheses around the '&&' expression to silence this warning if (!*s || *s == '#' && (!*(s + 1) || *(s + 1) == ' ' || *(s + 1) == '\t')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:272:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(s, ' ')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:272:8: note: place parentheses around the assignment to silence this warning if (t = strchr(s, ' ')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:272:8: note: use '==' to turn this assignment into an equality comparison if (t = strchr(s, ' ')) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:281:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(++e, ' ')) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:281:10: note: place parentheses around the assignment to silence this warning if (t = strchr(++e, ' ')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:281:10: note: use '==' to turn this assignment into an equality comparison if (t = strchr(++e, ' ')) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:291:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (e = strchr(++t, ' ')) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:291:11: note: place parentheses around the assignment to silence this warning if (e = strchr(++t, ' ')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:291:11: note: use '==' to turn this assignment into an equality comparison if (e = strchr(++t, ' ')) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:306:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = openfile(file, "rb")) ~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:306:10: note: place parentheses around the assignment to silence this warning if (sp = openfile(file, "rb")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:306:10: note: use '==' to turn this assignment into an equality comparison if (sp = openfile(file, "rb")) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:411:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (file = sfgetr(lp, '\n', 1)) ~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:411:14: note: place parentheses around the assignment to silence this warning while (file = sfgetr(lp, '\n', 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:411:14: note: use '==' to turn this assignment into an equality comparison while (file = sfgetr(lp, '\n', 1)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = openfile(file, state->check ? "rt" : "rb")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:412:10: note: place parentheses around the assignment to silence this warning if (sp = openfile(file, state->check ? "rt" : "rb")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:412:10: note: use '==' to turn this assignment into an equality comparison if (sp = openfile(file, state->check ? "rt" : "rb")) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:577:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (file = *argv++) ~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:577:16: note: place parentheses around the assignment to silence this warning while (file = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:577:16: note: use '==' to turn this assignment into an equality comparison while (file = *argv++) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:578:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = openfile(file, "rt")) ~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:578:12: note: place parentheses around the assignment to silence this warning if (sp = openfile(file, "rt")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:578:12: note: use '==' to turn this assignment into an equality comparison if (sp = openfile(file, "rt")) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:584:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (sp = openfile(NiL, "rt")) ~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:584:15: note: place parentheses around the assignment to silence this warning else if (sp = openfile(NiL, "rt")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:584:15: note: use '==' to turn this assignment into an equality comparison else if (sp = openfile(NiL, "rt")) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:600:55: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(flags & FTS_PHYSICAL) || (flags & FTS_META) && ent->fts_level == 1) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:600:55: note: place parentheses around the '&&' expression to silence this warning if (!(flags & FTS_PHYSICAL) || (flags & FTS_META) && ent->fts_level == 1) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:604:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = openfile(ent->fts_accpath, "rb")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:604:12: note: place parentheses around the assignment to silence this warning if (sp = openfile(ent->fts_accpath, "rb")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cksum.c:604:12: note: use '==' to turn this assignment into an equality comparison if (sp = openfile(ent->fts_accpath, "rb")) ^ == 20 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c:167:55: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((e2 - p2) > 0 || sfreserve(f2, SF_UNBOUND, 0) && sfvalue(f2) > 0) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c:167:55: note: place parentheses around the '&&' expression to silence this warning if ((e2 - p2) > 0 || sfreserve(f2, SF_UNBOUND, 0) && sfvalue(f2) > 0) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c:236:42: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!differences || differences < 0 && !(flags & CMP_VERBOSE)) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c:236:42: note: place parentheses around the '&&' expression to silence this warning if (!differences || differences < 0 && !(flags & CMP_VERBOSE)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c:332:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c:332:8: note: place parentheses around the assignment to silence this warning if (s = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c:332:8: note: use '==' to turn this assignment into an equality comparison if (s = *argv++) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c:340:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c:340:9: note: place parentheses around the assignment to silence this warning if (s = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cmp.c:340:9: note: use '==' to turn this assignment into an equality comparison if (s = *argv++) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/comm.c /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:70:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp1 = sfgetr(in1,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:70:9: note: place parentheses around the assignment to silence this warning if(cp1 = sfgetr(in1,'\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:70:9: note: use '==' to turn this assignment into an equality comparison if(cp1 = sfgetr(in1,'\n',0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:72:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp2 = sfgetr(in2,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:72:9: note: place parentheses around the assignment to silence this warning if(cp2 = sfgetr(in2,'\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:72:9: note: use '==' to turn this assignment into an equality comparison if(cp2 = sfgetr(in2,'\n',0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:90:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp1 = sfgetr(in1,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:90:11: note: place parentheses around the assignment to silence this warning if(cp1 = sfgetr(in1,'\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:90:11: note: use '==' to turn this assignment into an equality comparison if(cp1 = sfgetr(in1,'\n',0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:92:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp2 = sfgetr(in2,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:92:11: note: place parentheses around the assignment to silence this warning if(cp2 = sfgetr(in2,'\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:92:11: note: use '==' to turn this assignment into an equality comparison if(cp2 = sfgetr(in2,'\n',0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:104:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp2 = sfgetr(in2,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:104:11: note: place parentheses around the assignment to silence this warning if(cp2 = sfgetr(in2,'\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:104:11: note: use '==' to turn this assignment into an equality comparison if(cp2 = sfgetr(in2,'\n',0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:111:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp1 = sfgetr(in1,'\n',0)) ~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:111:11: note: place parentheses around the assignment to silence this warning if(cp1 = sfgetr(in1,'\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/comm.c:111:11: note: use '==' to turn this assignment into an equality comparison if(cp1 = sfgetr(in1,'\n',0)) ^ == 6 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/cp.c /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:300:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (e = strchr(s, '/')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:300:13: note: place parentheses around the assignment to silence this warning while (e = strchr(s, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:300:13: note: use '==' to turn this assignment into an equality comparison while (e = strchr(s, '/')) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:306:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(s, '/')) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:306:12: note: place parentheses around the assignment to silence this warning if (s = strrchr(s, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:306:12: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(s, '/')) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:327:23: warning: '&&' within '||' [-Wlogical-op-parentheses] if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:327:23: note: place parentheses around the '&&' expression to silence this warning if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:327:64: warning: '&&' within '||' [-Wlogical-op-parentheses] if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:327:64: note: place parentheses around the '&&' expression to silence this warning if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:453:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if (S_ISLNK(st.st_mode) && (n = -1) || (n = open(state->path, O_RDWR|O_BINARY|O_cloexec)) >= 0) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:453:28: note: place parentheses around the '&&' expression to silence this warning if (S_ISLNK(st.st_mode) && (n = -1) || (n = open(state->path, O_RDWR|O_BINARY|O_cloexec)) >= 0) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:502:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(state->path, '/')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:502:10: note: place parentheses around the assignment to silence this warning if (s = strrchr(state->path, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:502:10: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(state->path, '/')) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:513:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_NOSEEDOTDIR, NiL)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:513:12: note: place parentheses around the assignment to silence this warning if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_NOSEEDOTDIR, NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:513:12: note: use '==' to turn this assignment into an equality comparison if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_NOSEEDOTDIR, NiL)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:515:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (sub = fts_read(fts)) ~~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:515:16: note: place parentheses around the assignment to silence this warning while (sub = fts_read(fts)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:515:16: note: use '==' to turn this assignment into an equality comparison while (sub = fts_read(fts)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:626:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if (sfsync(op) || state->sync && fsync(wfd) || sfclose(op)) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:626:35: note: place parentheses around the '&&' expression to silence this warning if (sfsync(op) || state->sync && fsync(wfd) || sfclose(op)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:956:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = strrchr(file, '/')) ~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:956:8: note: place parentheses around the assignment to silence this warning if (s = strrchr(file, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:956:8: note: use '==' to turn this assignment into an equality comparison if (s = strrchr(file, '/')) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:960:49: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(!*s || *s == '.' && (!*++s || *s == '.' && !*++s))) ~~ ~~~~~~~~~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:960:49: note: place parentheses around the '&&' expression to silence this warning if (!(!*s || *s == '.' && (!*++s || *s == '.' && !*++s))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:960:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!(!*s || *s == '.' && (!*++s || *s == '.' && !*++s))) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:960:26: note: place parentheses around the '&&' expression to silence this warning if (!(!*s || *s == '.' && (!*++s || *s == '.' && !*++s))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:986:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fts = fts_open(argv, state->flags, NiL)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:986:10: note: place parentheses around the assignment to silence this warning if (fts = fts_open(argv, state->flags, NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cp.c:986:10: note: use '==' to turn this assignment into an equality comparison if (fts = fts_open(argv, state->flags, NiL)) ^ == 13 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/cut.c /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:142:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cut->mb = mbwide()) ~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:142:14: note: place parentheses around the assignment to silence this warning if (cut->mb = mbwide()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:142:14: note: use '==' to turn this assignment into an equality comparison if (cut->mb = mbwide()) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:265:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (len = cut->reclen) ~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:265:11: note: place parentheses around the assignment to silence this warning if (len = cut->reclen) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:265:11: note: use '==' to turn this assignment into an equality comparison if (len = cut->reclen) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:288:28: warning: expression result unused [-Wunused-value] else if ((z = mbnsize(s, w)) <= 0) ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:201:62: note: expanded from macro 'mbnsize' #define mbnsize(p,n) (mbwide()?(*ast.mb_len)((char*)(p),n):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:318:39: warning: expression result unused [-Wunused-value] if (!(*s & 0x80) || (z = mbnsize(s, w)) <= 0) ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:201:62: note: expanded from macro 'mbnsize' #define mbnsize(p,n) (mbwide()?(*ast.mb_len)((char*)(p),n):((p),1)) ^ /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:395:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (nfields = *(lp = cut->list)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:395:17: note: place parentheses around the assignment to silence this warning if (nfields = *(lp = cut->list)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:395:17: note: use '==' to turn this assignment into an equality comparison if (nfields = *(lp = cut->list)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:679:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:679:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:679:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:696:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while(cp = *argv++); ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:696:13: note: place parentheses around the assignment to silence this warning } while(cp = *argv++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/cut.c:696:13: note: use '==' to turn this assignment into an equality comparison } while(cp = *argv++); ^ == 7 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/dirname.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/date.c /<>/ksh-93u+20120801/src/lib/libcmd/date.c:270:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (f = f->next); ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/date.c:270:13: note: place parentheses around the assignment to silence this warning } while (f = f->next); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/date.c:270:13: note: use '==' to turn this assignment into an equality comparison } while (f = f->next); ^ == /<>/ksh-93u+20120801/src/lib/libcmd/date.c:408:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/date.c:408:12: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/date.c:408:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/date.c:427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/date.c:427:12: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/date.c:427:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/date.c:441:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/date.c:441:12: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/date.c:441:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/date.c:492:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (s = *++argv); ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/date.c:492:16: note: place parentheses around the assignment to silence this warning } while (s = *++argv); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/date.c:492:16: note: use '==' to turn this assignment into an equality comparison } while (s = *++argv); ^ == 5 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/expr.c In file included from /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:114: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:114: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:114: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:114: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:114: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:312:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:312:9: note: place parentheses around the assignment to silence this warning if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:312:9: note: use '==' to turn this assignment into an equality comparison if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:506:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n=optget(argv, usage)) ~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:506:11: note: place parentheses around the assignment to silence this warning while (n=optget(argv, usage)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/expr.c:506:11: note: use '==' to turn this assignment into an equality comparison while (n=optget(argv, usage)) ^ == 5 warnings and 2 errors generated. mamake [lib/libcmd]: *** exit code 1 making expr.o + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/fds.c /<>/ksh-93u+20120801/src/lib/libcmd/fds.c:328:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fds.c:328:10: note: place parentheses around the assignment to silence this warning if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fds.c:328:10: note: use '==' to turn this assignment into an equality comparison if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam))) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *ep) ~~^~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:175:12: note: place parentheses around the assignment to silence this warning while (c = *ep) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:175:12: note: use '==' to turn this assignment into an equality comparison while (c = *ep) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:225:146: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!splice && !fp->retain && (!fp->quote || (fp->outp - fp->outbuf) < 2 || fp->outp[-2] != '\\' || fp->outp[-1] != 'n' && fp->outp[-1] != 't' && fp->outp[-1] != ' ')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:225:146: note: place parentheses around the '&&' expression to silence this warning if (!splice && !fp->retain && (!fp->quote || (fp->outp - fp->outbuf) < 2 || fp->outp[-2] != '\\' || fp->outp[-1] != 'n' && fp->outp[-1] != 't' && fp->outp[-1] != ' ')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:245:63: warning: '&&' within '||' [-Wlogical-op-parentheses] while (cp || (cp = sfgetr(fp->in, '\n', 0)) && !(splice = 0) && (lp = cp + sfvalue(fp->in) - 1) || (cp = sfgetr(fp->in, '\n', SF_LASTR)) && (splice = 1) && (lp = cp + sfvalue(fp->in))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:245:63: note: place parentheses around the '&&' expression to silence this warning while (cp || (cp = sfgetr(fp->in, '\n', 0)) && !(splice = 0) && (lp = cp + sfvalue(fp->in) - 1) || (cp = sfgetr(fp->in, '\n', SF_LASTR)) && (splice = 1) && (lp = cp + sfvalue(fp->in))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:245:155: warning: '&&' within '||' [-Wlogical-op-parentheses] while (cp || (cp = sfgetr(fp->in, '\n', 0)) && !(splice = 0) && (lp = cp + sfvalue(fp->in) - 1) || (cp = sfgetr(fp->in, '\n', SF_LASTR)) && (splice = 1) && (lp = cp + sfvalue(fp->in))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:245:155: note: place parentheses around the '&&' expression to silence this warning while (cp || (cp = sfgetr(fp->in, '\n', 0)) && !(splice = 0) && (lp = cp + sfvalue(fp->in) - 1) || (cp = sfgetr(fp->in, '\n', SF_LASTR)) && (splice = 1) && (lp = cp + sfvalue(fp->in))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:319:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*cp == ']' || *cp == '@' && *(cp + 1) == '(') ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:319:39: note: place parentheses around the '&&' expression to silence this warning if (*cp == ']' || *cp == '@' && *(cp + 1) == '(') ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:399:64: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (c == ']' && (cp >= lp || *cp != ':' && *cp != '#' && *cp != '!')) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:399:64: note: place parentheses around the '&&' expression to silence this warning else if (c == ']' && (cp >= lp || *cp != ':' && *cp != '#' && *cp != '!')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:616:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:616:9: note: place parentheses around the assignment to silence this warning if (cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:616:9: note: use '==' to turn this assignment into an equality comparison if (cp = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:630:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (cp = *argv++); ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:630:14: note: place parentheses around the assignment to silence this warning } while (cp = *argv++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fmt.c:630:14: note: use '==' to turn this assignment into an equality comparison } while (cp = *argv++); ^ == 8 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/fold.c /<>/ksh-93u+20120801/src/lib/libcmd/fold.c:197:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = *opt_info.arg) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fold.c:197:10: note: place parentheses around the assignment to silence this warning if (n = *opt_info.arg) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fold.c:197:10: note: use '==' to turn this assignment into an equality comparison if (n = *opt_info.arg) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/fold.c:222:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fold.c:222:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fold.c:222:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/fold.c:238:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp= *argv++); ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/fold.c:238:10: note: place parentheses around the assignment to silence this warning while(cp= *argv++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/fold.c:238:10: note: use '==' to turn this assignment into an equality comparison while(cp= *argv++); ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/getconf.c /<>/ksh-93u+20120801/src/lib/libcmd/getconf.c:232:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (path = *++argv) ~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/getconf.c:232:12: note: place parentheses around the assignment to silence this warning if (path = *++argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/getconf.c:232:12: note: use '==' to turn this assignment into an equality comparison if (path = *++argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/getconf.c:239:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || !name && *argv) ~~ ~~~~~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/getconf.c:239:33: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || !name && *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/getconf.c:350:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = getenv("PATH")) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/getconf.c:350:8: note: place parentheses around the assignment to silence this warning if (s = getenv("PATH")) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/getconf.c:350:8: note: use '==' to turn this assignment into an equality comparison if (s = getenv("PATH")) ^ == 3 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/head.c /<>/ksh-93u+20120801/src/lib/libcmd/head.c:122:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/head.c:122:9: note: place parentheses around the assignment to silence this warning if (cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/head.c:122:9: note: use '==' to turn this assignment into an equality comparison if (cp = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/head.c:146:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (cp = *argv++); ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/head.c:146:14: note: place parentheses around the assignment to silence this warning } while (cp = *argv++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/head.c:146:14: note: use '==' to turn this assignment into an equality comparison } while (cp = *argv++); ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/id.c In file included from /<>/ksh-93u+20120801/src/lib/libcmd/id.c:66: In file included from /usr/include/grp.h:52: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: cannot combine with previous 'struct' declaration specifier typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:66:15: note: expanded from macro 'FILE' #define FILE struct _sfio_s ^ /<>/ksh-93u+20120801/src/lib/libcmd/id.c:308:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (grp = getgrent()) ~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/id.c:308:15: note: place parentheses around the assignment to silence this warning while (grp = getgrent()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/id.c:308:15: note: use '==' to turn this assignment into an equality comparison while (grp = getgrent()) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/id.c:309:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = grp->gr_mem) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/id.c:309:11: note: place parentheses around the assignment to silence this warning if (p = grp->gr_mem) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/id.c:309:11: note: use '==' to turn this assignment into an equality comparison if (p = grp->gr_mem) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/id.c:310:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *p++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/id.c:310:15: note: place parentheses around the assignment to silence this warning while (s = *p++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/id.c:310:15: note: use '==' to turn this assignment into an equality comparison while (s = *p++) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/id.c:343:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (grp = getgrgid(group)) ~~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/id.c:343:14: note: place parentheses around the assignment to silence this warning if (grp = getgrgid(group)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/id.c:343:14: note: use '==' to turn this assignment into an equality comparison if (grp = getgrgid(group)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/id.c:378:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (grp = getgrent()) ~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/id.c:378:15: note: place parentheses around the assignment to silence this warning while (grp = getgrent()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/id.c:378:15: note: use '==' to turn this assignment into an equality comparison while (grp = getgrent()) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/id.c:379:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = grp->gr_mem) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/id.c:379:11: note: place parentheses around the assignment to silence this warning if (p = grp->gr_mem) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/id.c:379:11: note: use '==' to turn this assignment into an equality comparison if (p = grp->gr_mem) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/id.c:380:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *p++) ~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/id.c:380:15: note: place parentheses around the assignment to silence this warning while (s = *p++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/id.c:380:15: note: use '==' to turn this assignment into an equality comparison while (s = *p++) ^ == 7 warnings and 1 error generated. mamake [lib/libcmd]: *** exit code 1 making id.o + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/join.c In file included from /<>/ksh-93u+20120801/src/lib/libcmd/join.c:98: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/join.c:98: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/join.c:98: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/join.c:98: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/join.c:98: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:191:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (jp = newof(0, Join_t, 1, 0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:191:9: note: place parentheses around the assignment to silence this warning if (jp = newof(0, Join_t, 1, 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:191:9: note: use '==' to turn this assignment into an equality comparison if (jp = newof(0, Join_t, 1, 0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/join.c:193:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (jp->mb = mbwide()) ~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:193:14: note: place parentheses around the assignment to silence this warning if (jp->mb = mbwide()) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:193:14: note: use '==' to turn this assignment into an equality comparison if (jp->mb = mbwide()) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/join.c:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *cp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:226:11: note: place parentheses around the assignment to silence this warning while (c = *cp++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:226:11: note: use '==' to turn this assignment into an equality comparison while (c = *cp++) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/join.c:258:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:258:12: note: place parentheses around the assignment to silence this warning while (cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:258:12: note: use '==' to turn this assignment into an equality comparison while (cp = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/join.c:563:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (out = jp->outlist) ~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:563:10: note: place parentheses around the assignment to silence this warning if (out = jp->outlist) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:563:10: note: use '==' to turn this assignment into an equality comparison if (out = jp->outlist) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/join.c:575:17: warning: '&&' within '||' [-Wlogical-op-parentheses] j = (mode<0 && i || mode>0 && !i) ? ~~~~~~~^~~~ ~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:575:17: note: place parentheses around the '&&' expression to silence this warning j = (mode<0 && i || mode>0 && !i) ? ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:575:32: warning: '&&' within '||' [-Wlogical-op-parentheses] j = (mode<0 && i || mode>0 && !i) ? ~~ ~~~~~~~^~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:575:32: note: place parentheses around the '&&' expression to silence this warning j = (mode<0 && i || mode>0 && !i) ? ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:643:31: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((cp1 = getrec(jp, 0, 0)) && (cp2 = getrec(jp, 1, 0)) || (cp2 = 0)) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:643:31: note: place parentheses around the '&&' expression to silence this warning if ((cp1 = getrec(jp, 0, 0)) && (cp2 = getrec(jp, 1, 0)) || (cp2 = 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:657:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)) && !(cmp = n1 - n2)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:657:11: note: place parentheses around the '&&' expression to silence this warning if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)) && !(cmp = n1 - n2)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:657:177: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)) && !(cmp = n1 - n2)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:657:177: note: place parentheses around the '&&' expression to silence this warning if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)) && !(cmp = n1 - n2)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:662:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp1 = getrec(jp, 0, 1)) ~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:662:14: note: place parentheses around the assignment to silence this warning if (cp1 = getrec(jp, 0, 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:662:14: note: use '==' to turn this assignment into an equality comparison if (cp1 = getrec(jp, 0, 1)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/join.c:687:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp2 = getrec(jp, 1, lo < 0)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:687:13: note: place parentheses around the assignment to silence this warning if (cp2 = getrec(jp, 1, lo < 0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:687:13: note: use '==' to turn this assignment into an equality comparison if (cp2 = getrec(jp, 1, lo < 0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/join.c:731:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp2 = getrec(jp, 1, 1)) ~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/join.c:731:13: note: place parentheses around the assignment to silence this warning if (cp2 = getrec(jp, 1, 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/join.c:731:13: note: use '==' to turn this assignment into an equality comparison if (cp2 = getrec(jp, 1, 1)) ^ == 16 warnings and 2 errors generated. mamake [lib/libcmd]: *** exit code 1 making join.o + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libcmd/ln.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/logname.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libcmd/md5sum.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/mkdir.c /<>/ksh-93u+20120801/src/lib/libcmd/mkdir.c:122:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (path = *argv++) ~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/mkdir.c:122:14: note: place parentheses around the assignment to silence this warning while (path = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/mkdir.c:122:14: note: use '==' to turn this assignment into an equality comparison while (path = *argv++) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/mkfifo.c /<>/ksh-93u+20120801/src/lib/libcmd/mkfifo.c:90:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (arg = *argv++) ~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/mkfifo.c:90:13: note: place parentheses around the assignment to silence this warning while (arg = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/mkfifo.c:90:13: note: use '==' to turn this assignment into an equality comparison while (arg = *argv++) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/mktemp.c /<>/ksh-93u+20120801/src/lib/libcmd/mktemp.c:124:43: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || (pfx = *argv++) && *argv) ~~ ~~~~~~~~~~~~~~~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/mktemp.c:124:43: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || (pfx = *argv++) && *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/mktemp.c:136:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strrchr(pfx, '/')) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/mktemp.c:136:8: note: place parentheses around the assignment to silence this warning if (t = strrchr(pfx, '/')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/mktemp.c:136:8: note: use '==' to turn this assignment into an equality comparison if (t = strrchr(pfx, '/')) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libcmd/mv.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/paste.c /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:95:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=streams[n]) ~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:95:9: note: place parentheses around the assignment to silence this warning if(fp=streams[n]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:95:9: note: use '==' to turn this assignment into an equality comparison if(fp=streams[n]) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:97:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = sfgetr(fp,'\n',0)) ~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:97:11: note: place parentheses around the assignment to silence this warning if(cp = sfgetr(fp,'\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:97:11: note: use '==' to turn this assignment into an equality comparison if(cp = sfgetr(fp,'\n',0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:134:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(c=delim[d]) ~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:134:14: note: place parentheses around the assignment to silence this warning else if(c=delim[d]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:134:14: note: use '==' to turn this assignment into an equality comparison else if(c=delim[d]) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:154:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp=sfgetr(in, '\n',0)) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:154:10: note: place parentheses around the assignment to silence this warning while(cp=sfgetr(in, '\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:154:10: note: use '==' to turn this assignment into an equality comparison while(cp=sfgetr(in, '\n',0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:163:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(c=delim[d]) ~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:163:13: note: place parentheses around the assignment to silence this warning else if(c=delim[d]) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:163:13: note: use '==' to turn this assignment into an equality comparison else if(c=delim[d]) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:247:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:247:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:247:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:275:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while(cp= *argv++); ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:275:12: note: place parentheses around the assignment to silence this warning } while(cp= *argv++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/paste.c:275:12: note: use '==' to turn this assignment into an equality comparison } while(cp= *argv++); ^ == 7 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/pathchk.c /<>/ksh-93u+20120801/src/lib/libcmd/pathchk.c:262:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/pathchk.c:262:11: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/pathchk.c:262:11: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == 1 warning generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/pids.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/rev.c /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:71:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = bp = sfgetr(in,'\n',0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:71:12: note: place parentheses around the assignment to silence this warning while(cp = bp = sfgetr(in,'\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:71:12: note: use '==' to turn this assignment into an equality comparison while(cp = bp = sfgetr(in,'\n',0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:101:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = bp = sfgetr(in,'\n',0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:101:12: note: place parentheses around the assignment to silence this warning while(cp = bp = sfgetr(in,'\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:101:12: note: use '==' to turn this assignment into an equality comparison while(cp = bp = sfgetr(in,'\n',0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:145:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:145:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:145:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:166:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp= *argv++); ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:166:10: note: place parentheses around the assignment to silence this warning while(cp= *argv++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/rev.c:166:10: note: use '==' to turn this assignment into an equality comparison while(cp= *argv++); ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/rm.c /<>/ksh-93u+20120801/src/lib/libcmd/rm.c:145:53: warning: '&&' within '||' [-Wlogical-op-parentheses] if (path[0] == '.' && (!path[1] || path[1] == '.' && !path[2]) && (ent->fts_level > 0 || path[1])) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/rm.c:145:53: note: place parentheses around the '&&' expression to silence this warning if (path[0] == '.' && (!path[1] || path[1] == '.' && !path[2]) && (ent->fts_level > 0 || path[1])) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/rm.c:178:78: warning: '&&' within '||' [-Wlogical-op-parentheses] v = st.st_nlink <= 2 || st.st_ino == ent->fts_parent->fts_statp->st_ino && st.st_dev == ent->fts_parent->fts_statp->st_dev || strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'l'); ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/rm.c:178:78: note: place parentheses around the '&&' expression to silence this warning v = st.st_nlink <= 2 || st.st_ino == ent->fts_parent->fts_statp->st_ino && st.st_dev == ent->fts_parent->fts_statp->st_dev || strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'l'); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/rm.c:386:34: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || !*argv && !state.force) ~~ ~~~~~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/rm.c:386:34: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || !*argv && !state.force) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/rm.c:407:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fts = fts_open(argv, FTS_PHYSICAL, NiL)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/rm.c:407:10: note: place parentheses around the assignment to silence this warning if (fts = fts_open(argv, FTS_PHYSICAL, NiL)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/rm.c:407:10: note: use '==' to turn this assignment into an equality comparison if (fts = fts_open(argv, FTS_PHYSICAL, NiL)) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/rmdir.c /<>/ksh-93u+20120801/src/lib/libcmd/rmdir.c:94:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dir = *argv++) ~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/rmdir.c:94:13: note: place parentheses around the assignment to silence this warning while (dir = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/rmdir.c:94:13: note: use '==' to turn this assignment into an equality comparison while (dir = *argv++) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/rmdir.c:105:9: warning: '&&' within '||' [-Wlogical-op-parentheses] && errno != ENOTEMPTY ^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/rmdir.c:105:9: note: place parentheses around the '&&' expression to silence this warning && errno != ENOTEMPTY ^~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/stty.c /<>/ksh-93u+20120801/src/lib/libcmd/stty.c:639:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/stty.c:639:11: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/stty.c:639:11: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/stty.c:725:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = getspeed(*tp->name == 'i' ? cfgetispeed(sp) : cfgetospeed(sp))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/stty.c:725:13: note: place parentheses around the assignment to silence this warning if (tp = getspeed(*tp->name == 'i' ? cfgetispeed(sp) : cfgetospeed(sp))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/stty.c:725:13: note: use '==' to turn this assignment into an equality comparison if (tp = getspeed(*tp->name == 'i' ? cfgetispeed(sp) : cfgetospeed(sp))) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libcmd/sum.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/sync.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/tail.c /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:285:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (number < 0 || !number && (flags & POSITIVE)) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:285:29: note: place parentheses around the '&&' expression to silence this warning if (number < 0 || !number && (flags & POSITIVE)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:467:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = opt_info.arg) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:467:10: note: place parentheses around the assignment to silence this warning if (s = opt_info.arg) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:467:10: note: use '==' to turn this assignment into an equality comparison if (s = opt_info.arg) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:530:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = *(s - 1) == '-' || *(s - 1) == '+') ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:530:10: note: place parentheses around the assignment to silence this warning if (i = *(s - 1) == '-' || *(s - 1) == '+') ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:530:10: note: use '==' to turn this assignment into an equality comparison if (i = *(s - 1) == '-' || *(s - 1) == '+') ^ == /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:622:29: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] fp->expire = timeout ? (NOW + timeout + 1) : 0; ^ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:121:29: note: expanded from macro 'NOW' #define NOW (unsigned long)time(NiL) ^ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:638:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (fp = files) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:638:13: note: place parentheses around the assignment to silence this warning while (fp = files) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:638:13: note: use '==' to turn this assignment into an equality comparison while (fp = files) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:656:20: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] fp->expire = NOW + timeout; ^ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:121:29: note: expanded from macro 'NOW' #define NOW (unsigned long)time(NiL) ^ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:659:112: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((s = sfreserve(fp->sp, z, SF_LOCKR)) || (z = sfvalue(fp->sp)) && (s = sfreserve(fp->sp, z, SF_LOCKR)) && (i = 1)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:659:112: note: place parentheses around the '&&' expression to silence this warning if ((s = sfreserve(fp->sp, z, SF_LOCKR)) || (z = sfvalue(fp->sp)) && (s = sfreserve(fp->sp, z, SF_LOCKR)) && (i = 1)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:663:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((w = r - s) || i && (w = z)) ~~ ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:663:28: note: place parentheses around the '&&' expression to silence this warning if ((w = r - s) || i && (w = z)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:681:39: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] else if (!timeout || fp->expire > NOW) ^ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:121:29: note: expanded from macro 'NOW' #define NOW (unsigned long)time(NiL) ^ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:727:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (file = *argv) ~~~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:727:12: note: place parentheses around the assignment to silence this warning if (file = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:727:12: note: use '==' to turn this assignment into an equality comparison if (file = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:746:30: warning: '&&' within '||' [-Wlogical-op-parentheses] if (number < 0 || !number && (flags & POSITIVE)) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/tail.c:746:30: note: place parentheses around the '&&' expression to silence this warning if (number < 0 || !number && (flags & POSITIVE)) ^ ( ) 11 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/tee.c /<>/ksh-93u+20120801/src/lib/libcmd/tee.c:170:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/tee.c:170:10: note: place parentheses around the assignment to silence this warning if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/tee.c:170:10: note: use '==' to turn this assignment into an equality comparison if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/tee.c:178:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argv++) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/tee.c:178:14: note: place parentheses around the assignment to silence this warning while (cp = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/tee.c:178:14: note: use '==' to turn this assignment into an equality comparison while (cp = *argv++) ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/tty.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -DHOSTTYPE="linux.i386-64" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/uname.c /<>/ksh-93u+20120801/src/lib/libcmd/uname.c:343:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || *argv && (flags || sethost) || sethost && flags) ~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/uname.c:343:33: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || *argv && (flags || sethost) || sethost && flags) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/uname.c:343:66: warning: '&&' within '||' [-Wlogical-op-parentheses] if (error_info.errors || *argv && (flags || sethost) || sethost && flags) ~~ ~~~~~~~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/uname.c:343:66: note: place parentheses around the '&&' expression to silence this warning if (error_info.errors || *argv && (flags || sethost) || sethost && flags) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/uname.c:363:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/uname.c:363:12: note: place parentheses around the assignment to silence this warning while (s = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/uname.c:363:12: note: use '==' to turn this assignment into an equality comparison while (s = *argv++) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/uname.c:405:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(hosttype, '.')) ~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/uname.c:405:11: note: place parentheses around the assignment to silence this warning if (t = strchr(hosttype, '.')) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/uname.c:405:11: note: use '==' to turn this assignment into an equality comparison if (t = strchr(hosttype, '.')) ^ == 4 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_BLD_cmd -D_PACKAGE_ast -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:95:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bufp = sfgetr(fdin,'\n',0)) ~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:95:11: note: place parentheses around the assignment to silence this warning if(bufp = sfgetr(fdin,'\n',0)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:95:11: note: use '==' to turn this assignment into an equality comparison if(bufp = sfgetr(fdin,'\n',0)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:97:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(bufp = sfgetr(fdin,'\n',SF_LASTR)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:97:16: note: place parentheses around the assignment to silence this warning else if(bufp = sfgetr(fdin,'\n',SF_LASTR)) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:97:16: note: use '==' to turn this assignment into an equality comparison else if(bufp = sfgetr(fdin,'\n',SF_LASTR)) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:109:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = fields) ~~^~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:109:10: note: place parentheses around the assignment to silence this warning if (f = fields) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:109:10: note: use '==' to turn this assignment into an equality comparison if (f = fields) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:112:19: warning: '&&' within '||' [-Wlogical-op-parentheses] while (cp>/ksh-93u+20120801/src/lib/libcmd/uniq.c:112:19: note: place parentheses around the '&&' expression to silence this warning while (cp>/ksh-93u+20120801/src/lib/libcmd/uniq.c:213:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(count = next) ~~~~~~^~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:213:12: note: place parentheses around the assignment to silence this warning if(count = next) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:213:12: note: use '==' to turn this assignment into an equality comparison if(count = next) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:322:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:322:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/uniq.c:322:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == 6 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/vmstate.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libcmd" -D_PACKAGE_ast -D_BLD_cmd -DUSAGE_LICENSE="[-author?Glenn Fowler ][-author?David Korn ][-copyright?Copyright (c) 1992-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]" -c /<>/ksh-93u+20120801/src/lib/libcmd/wc.c /<>/ksh-93u+20120801/src/lib/libcmd/wc.c:151:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/wc.c:151:9: note: place parentheses around the assignment to silence this warning if (cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/wc.c:151:9: note: use '==' to turn this assignment into an equality comparison if (cp = *argv) ^ == /<>/ksh-93u+20120801/src/lib/libcmd/wc.c:179:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (cp= *argv++); ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/wc.c:179:13: note: place parentheses around the assignment to silence this warning } while (cp= *argv++); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/wc.c:179:13: note: use '==' to turn this assignment into an equality comparison } while (cp= *argv++); ^ == 2 warnings generated. + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libcmd/revlib.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -D_BLD_cmd -c /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c In file included from /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:35: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:35: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:35: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:35: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:35: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:255:19: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST))) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:255:19: note: place parentheses around the '&&' expression to silence this warning else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:255:61: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST))) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:255:61: note: place parentheses around the '&&' expression to silence this warning else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST))) ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:313:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (c = type[*cp++]); ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:313:17: note: place parentheses around the assignment to silence this warning } while (c = type[*cp++]); ^ ( ) /<>/ksh-93u+20120801/src/lib/libcmd/wclib.c:313:17: note: use '==' to turn this assignment into an equality comparison } while (c = type[*cp++]); ^ == 6 warnings and 2 errors generated. mamake [lib/libcmd]: *** exit code 1 making wclib.o + /usr/bin/ar x /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libsum.a sumlib.o + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libcmd/fts_fix.c + cc -D_BLD_DLL -fPIC -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/lib/libcmd -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_cmd -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/lib/libcmd/lib.c + test = cmd.req + /usr/bin/cmp -s cmd.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/cmd + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/cmd /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/cmd.old + true + /bin/cp cmd.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/cmd + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1992,author=gsf+dgk /<>/ksh-93u+20120801/src/lib/libcmd/cmd.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cmd.h 1.6127.x + mv 1.6127.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cmd.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1992,author=gsf+dgk cmdext.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cmdext.h 1.6132.x + mv 1.6132.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cmdext.h + cat + sed -e /^b_[a-z_][a-z_0-9]*(/!d -e s/^b_// -e s/(.*// -e s/.*/CMDLIST(&)/ + sort -u + cmp -s 1.6137.h cmdlist.h + mv 1.6137.h cmdlist.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1992,author=gsf+dgk cmdlist.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cmdlist.h 1.6144.x + mv 1.6144.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/cmdlist.h mamake: *** exit code 1 making lib/libcmd + mamake -C cmd/ksh93 -k strip=0 install + set - iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is nc.h a header ... no iffe: test: is exec_attr.h a header ... no iffe: test: is math.h a header ... yes iffe: test: is exception a type or typedef ... no iffe: test: is name a member of struct exception ... no iffe: test: is _exception a type or typedef ... no iffe: test: is name a member of struct _exception ... no iffe: test: is setreuid a library function ... yes iffe: test: is setregid a library function ... yes iffe: test: is nice a library function ... yes iffe: test: is fork a library function ... yes iffe: test: is spawnveg a library function ... no iffe: test: is fchdir a library function ... yes iffe: test: is pathnative a library function ... no iffe: test: is pathposix a library function ... no iffe: test: is uwin_path a library function ... no iffe: test: is uwin_unpath a library function ... no iffe: test: is fts_notify a library function ... no iffe: test: is sys/mman.h a header ... yes iffe: test: is memcntl a library function ... no iffe: test: is -lsecdb a library ... no iffe: test: is getexecuser a library function ... no iffe: test: is free_execattr a library function ... no iffe: test: is unistd.h a header ... yes iffe: test: is nice a symbol that needs a prototype ... no iffe: test: is setreuid a symbol that needs a prototype ... no iffe: test: is setregid a symbol that needs a prototype ... no + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/pmain.c + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/time iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is utime.h a header ... yes iffe: test: is gettimeofday a library function ... yes iffe: test: is setitimer a library function ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is timeval a type or typedef ... no iffe: test: is tv_usec a member of struct timeval ... yes iffe: test: 2 arg gettimeofday() ... yes iffe: test: 1 arg gettimeofday() ... no iffe: test: cat{ ... }end ... yes + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/dynamic iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: cat{ ... }end ... yes + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/options iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: cross{ ... }end ... yes iffe: test: cat{ ... }end ... yes + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/sigfeatures iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is sigblock a library function ... yes iffe: test: is sigrelse a library function ... yes iffe: test: is sigsetmask a library function ... yes iffe: test: is sigprocmask a library function ... yes iffe: test: is sigvec a library function ... no iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is ast.h a header ... no iffe: test: is signal.h a header ... yes iffe: test: is sigset_t a type or typedef ... yes iffe: test: is sigvec a type or typedef ... no iffe: test: is sv_mask a member of struct sigvec ... no iffe: test: cat{ ... }end ... yes iffe: test: output{ ... }end ... no + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/setjmp iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is sigsetjmp a library function ... no iffe: test: is _setjmp a library function ... yes iffe: test: is _longjmp a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is setjmp.h a header ... yes iffe: test: is sigjmp_buf a type or typedef ... yes iffe: test: cat{ ... }end ... yes + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/alarm.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/alarm.c:239:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = optget(argv, sh_optalarm)) switch (n) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/alarm.c:239:11: note: place parentheses around the assignment to silence this warning while (n = optget(argv, sh_optalarm)) switch (n) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/alarm.c:239:11: note: use '==' to turn this assignment into an equality comparison while (n = optget(argv, sh_optalarm)) switch (n) ^ == 1 warning generated. + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : def acct iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is acct a command ... no iffe: test: is acct a library data symbol ... no iffe: test: is acct.h a header ... no iffe: test: is acct a reserved keyword ... no iffe: test: is acct a library function ... yes iffe: test: is acct a math library symbol ... no iffe: test: is sys/acct.h a header ... yes iffe: test: is acct a type or typedef ... no + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_API_ast=20100309 -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -DSHOPT_FIXEDARRAY -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/cd_pwd.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/cd_pwd.c:103:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/cd_pwd.c:103:13: note: place parentheses around the assignment to silence this warning if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/cd_pwd.c:103:13: note: use '==' to turn this assignment into an equality comparison if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH)) ^ == 1 warning generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/cflow.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/cflow.c:103:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(arg= *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/cflow.c:103:8: note: place parentheses around the assignment to silence this warning if(arg= *argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/cflow.c:103:8: note: use '==' to turn this assignment into an equality comparison if(arg= *argv) ^ == 1 warning generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/deparse.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/deparse.c:560:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv); ~~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/deparse.c:560:12: note: place parentheses around the assignment to silence this warning while(cp = *argv); ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/deparse.c:560:12: note: use '==' to turn this assignment into an equality comparison while(cp = *argv); ^ == 1 warning generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CATALOG="libshell" -DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]" -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/enum.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/enum.c:116:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while(v=ep->values[n++]) ~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/enum.c:116:14: note: place parentheses around the assignment to silence this warning else while(v=ep->values[n++]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/enum.c:116:14: note: use '==' to turn this assignment into an equality comparison else while(v=ep->values[n++]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/enum.c:149:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(v=ep->values[i]) ~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/enum.c:149:9: note: place parentheses around the assignment to silence this warning while(v=ep->values[i]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/enum.c:149:9: note: use '==' to turn this assignment into an equality comparison while(v=ep->values[i]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/enum.c:224:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/enum.c:224:11: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/enum.c:224:11: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == 3 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_NAMESPACE -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/getopts.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/getopts.c:109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mode= (*options==':')) ~~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/getopts.c:109:9: note: place parentheses around the assignment to silence this warning if(mode= (*options==':')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/getopts.c:109:9: note: use '==' to turn this assignment into an equality comparison if(mode= (*options==':')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/getopts.c:111:28: warning: '&&' within '||' [-Wlogical-op-parentheses] extended = *options=='\n' && *(options+1)=='[' || *options=='[' && *(options+1)=='-'; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/getopts.c:111:28: note: place parentheses around the '&&' expression to silence this warning extended = *options=='\n' && *(options+1)=='[' || *options=='[' && *(options+1)=='-'; ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/getopts.c:111:66: warning: '&&' within '||' [-Wlogical-op-parentheses] extended = *options=='\n' && *(options+1)=='[' || *options=='[' && *(options+1)=='-'; ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/getopts.c:111:66: note: place parentheses around the '&&' expression to silence this warning extended = *options=='\n' && *(options+1)=='[' || *options=='[' && *(options+1)=='-'; ^ ( ) 3 warnings generated. + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/ttys iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is termios.h a header ... yes iffe: test: is termio.h a header ... yes iffe: test: is sgtty.h a header ... yes iffe: test: is sys/termios.h a header ... yes iffe: test: is sys/termio.h a header ... no iffe: test: is sys/ioctl.h a header ... yes iffe: test: is sys/bsdtty.h a header ... no iffe: test: is sys/nttyio.h a header ... no iffe: test: is sys/filio.h a header ... no iffe: test: is tcgetattr a library function ... yes iffe: test: is tcgetpgrp a library function ... yes + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/locale iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is locale.h a header ... yes iffe: test: is wchar.h a header ... no iffe: test: is wctype.h a header ... yes iffe: test: is locale a library function ... no iffe: test: is localeconv a library function ... yes iffe: test: is wctype a library function ... yes iffe: test: is iswctype a library function ... yes iffe: test: is iswblank a library function ... yes iffe: test: is wctrans a library function ... yes iffe: test: is towctrans a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is wctrans_t a type or typedef ... yes iffe: test: cat{ ... }end ... yes + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -D_BLD_shell -DSHOPT_DYNAMIC -D_API_ast=20100309 -DSHOPT_FIXEDARRAY -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/hist.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/hist.c:107:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(arg=argv[1]) ~~~^~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/hist.c:107:12: note: place parentheses around the assignment to silence this warning while(arg=argv[1]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/hist.c:107:12: note: use '==' to turn this assignment into an equality comparison while(arg=argv[1]) ^ == 1 warning generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_BGX -DSHOPT_COSHELL -DSHOPT_MULTIBYTE -DSHOPT_PFSH -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_ESH -DSHOPT_FIXEDARRAY -DKSHELL -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:68:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = optget(argv, sh_optexec)) switch (n) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:68:11: note: place parentheses around the assignment to silence this warning while (n = optget(argv, sh_optexec)) switch (n) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:68:11: note: use '==' to turn this assignment into an equality comparison while (n = optget(argv, sh_optexec)) switch (n) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (r = optget(argv,sh_optlet)) switch (r) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:165:11: note: place parentheses around the assignment to silence this warning while (r = optget(argv,sh_optlet)) switch (r) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:165:11: note: use '==' to turn this assignment into an equality comparison while (r = optget(argv,sh_optlet)) switch (r) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:177:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(arg= *argv++) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:177:11: note: place parentheses around the assignment to silence this warning while(arg= *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:177:11: note: use '==' to turn this assignment into an equality comparison while(arg= *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:187:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (r = optget(argv,sh_opteval)) switch (r) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:187:11: note: place parentheses around the assignment to silence this warning while (r = optget(argv,sh_opteval)) switch (r) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:187:11: note: use '==' to turn this assignment into an equality comparison while (r = optget(argv,sh_opteval)) switch (r) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:221:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = optget(argv,sh_optdot)) switch (n) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:221:11: note: place parentheses around the assignment to silence this warning while (n = optget(argv,sh_optdot)) switch (n) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:221:11: note: use '==' to turn this assignment into an equality comparison while (n = optget(argv,sh_optdot)) switch (n) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:527:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(n = optget(argv, optstr)) switch(n) ~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:527:10: note: place parentheses around the assignment to silence this warning while(n = optget(argv, optstr)) switch(n) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:527:10: note: use '==' to turn this assignment into an equality comparison while(n = optget(argv, optstr)) switch(n) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:564:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(flag = *vend++) ~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:564:14: note: place parentheses around the assignment to silence this warning while(flag = *vend++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/misc.c:564:14: note: use '==' to turn this assignment into an equality comparison while(flag = *vend++) ^ == 7 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_DYNAMIC -DKSHELL -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:116:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(universe=astconf("UNIVERSE",0,0)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:116:14: note: place parentheses around the assignment to silence this warning if(universe=astconf("UNIVERSE",0,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:116:14: note: use '==' to turn this assignment into an equality comparison if(universe=astconf("UNIVERSE",0,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:472:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *(unsigned char*)cp++) ~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:472:10: note: place parentheses around the assignment to silence this warning while(c= *(unsigned char*)cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:472:10: note: use '==' to turn this assignment into an equality comparison while(c= *(unsigned char*)cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:476:19: warning: expression result unused [-Wunused-value] if((s=mbsize(cp-1)) > 1) ~~^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:502:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *(unsigned char*)cp++) ~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:502:10: note: place parentheses around the assignment to silence this warning while(c= *(unsigned char*)cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:502:10: note: use '==' to turn this assignment into an equality comparison while(c= *(unsigned char*)cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:652:16: warning: expression result unused [-Wunused-value] len = mbsize(str); ^~~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:777:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (np->nvalue.lp = new_of(int32_t,0)) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:777:22: note: place parentheses around the assignment to silence this warning if (np->nvalue.lp = new_of(int32_t,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:777:22: note: use '==' to turn this assignment into an equality comparison if (np->nvalue.lp = new_of(int32_t,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:822:31: warning: expression result unused [-Wunused-value] if(mbwide() && (n = mbsize(argp)) > 1) ^~~~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:854:27: warning: expression result unused [-Wunused-value] if(mbwide() && mbsize(w) > 1) ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:1038:24: warning: expression result unused [-Wunused-value] if ((chlen = mbsize(cp)) > 1) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:1053:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; c= *cp; cp++) ~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:1053:9: note: place parentheses around the assignment to silence this warning for(; c= *cp; cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:1053:9: note: use '==' to turn this assignment into an equality comparison for(; c= *cp; cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/print.c:1056:36: warning: expression result unused [-Wunused-value] if (mbwide() && ((chlen = mbsize(cp)) > 1)) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ 11 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_MULTIBYTE -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_FIXEDARRAY -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:236:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(val= strchr(name,'?')) ~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:236:9: note: place parentheses around the assignment to silence this warning if(val= strchr(name,'?')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:236:9: note: use '==' to turn this assignment into an equality comparison if(val= strchr(name,'?')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:383:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = sfreserve(iop,c,SF_LOCKR)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:383:12: note: place parentheses around the assignment to silence this warning if(cp = sfreserve(iop,c,SF_LOCKR)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:383:12: note: use '==' to turn this assignment into an equality comparison if(cp = sfreserve(iop,c,SF_LOCKR)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:435:38: warning: expression result unused [-Wunused-value] while (up < cur && (z = mbsize(up)) > 0) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:446:63: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!binary && mbwide() && (up == var || (flags & NN_FLAG) && size)) ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:446:63: note: place parentheses around the '&&' expression to silence this warning if(!binary && mbwide() && (up == var || (flags & NN_FLAG) && size)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:484:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp = (unsigned char*)sfgetr(iop,delim,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:484:13: note: place parentheses around the assignment to silence this warning else if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:484:13: note: use '==' to turn this assignment into an equality comparison else if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:486:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:486:13: note: place parentheses around the assignment to silence this warning else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:486:13: note: use '==' to turn this assignment into an equality comparison else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:556:25: warning: expression result unused [-Wunused-value] c = mbsize((char*)cp-1); ~~~~~~~~~^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:616:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = (unsigned char*)sfgetr(iop,delim,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:616:11: note: place parentheses around the assignment to silence this warning if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:616:11: note: use '==' to turn this assignment into an equality comparison if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:618:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp=(unsigned char*)sfgetr(iop,delim,-1)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:618:15: note: place parentheses around the assignment to silence this warning else if(cp=(unsigned char*)sfgetr(iop,delim,-1)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:618:15: note: use '==' to turn this assignment into an equality comparison else if(cp=(unsigned char*)sfgetr(iop,delim,-1)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:645:30: warning: expression result unused [-Wunused-value] if((c = mbsize((char*)cp-1))>1) ~~~~~~~~~^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:706:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = (unsigned char*)sfgetr(iop,delim,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:706:14: note: place parentheses around the assignment to silence this warning if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:706:14: note: use '==' to turn this assignment into an equality comparison if(cp = (unsigned char*)sfgetr(iop,delim,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:708:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:708:19: note: place parentheses around the assignment to silence this warning else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/read.c:708:19: note: use '==' to turn this assignment into an equality comparison else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) ^ == 15 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making read.o + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/poll iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is -lnsl a library ... yes iffe: test: is -lsocket a library ... no iffe: test: is poll.h a header ... yes iffe: test: is socket.h a header ... no iffe: test: is netinet/in.h a header ... yes iffe: test: is sys/poll.h a header ... yes iffe: test: is sys/socket.h a header ... yes iffe: test: is sys/netinet/in.h a header ... no iffe: test: is select a library function ... yes iffe: test: is poll a library function ... yes iffe: test: is socket a library function ... yes iffe: test: is htons a library function ... yes iffe: test: is htonl a library function ... yes iffe: test: is netdb.h a header ... yes iffe: test: is getaddrinfo a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is sys/select.h a header ... yes iffe: test: is fd_set a type or typedef ... yes iffe: test: is unistd.h a header ... yes iffe: test: is socklen_t a type or typedef ... yes iffe: test: use socketpair() for peekable pipe() ... no iffe: test: /dev/fd/N handles socketpair() ... no iffe: test: fchmod() after socketpair() shutdown() ... yes iffe: test: cat{ ... }end ... yes + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/sleep.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/sleep.c:68:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/sleep.c:68:8: note: place parentheses around the assignment to silence this warning if(cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/sleep.c:68:8: note: use '==' to turn this assignment into an equality comparison if(cp = *argv) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/sleep.c:89:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pp = sfprints("exact %s", cp)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/sleep.c:89:11: note: place parentheses around the assignment to silence this warning if(pp = sfprints("exact %s", cp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/sleep.c:89:11: note: use '==' to turn this assignment into an equality comparison if(pp = sfprints("exact %s", cp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/sleep.c:186:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=(int)(1000*t)) ~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/sleep.c:186:6: note: place parentheses around the assignment to silence this warning if(n=(int)(1000*t)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/sleep.c:186:6: note: use '==' to turn this assignment into an equality comparison if(n=(int)(1000*t)) ^ == 3 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_BGX -DSHOPT_COSHELL -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:50:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (sig = optget(argv, sh_opttrap)) switch (sig) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:50:13: note: place parentheses around the assignment to silence this warning while (sig = optget(argv, sh_opttrap)) switch (sig) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:50:13: note: use '==' to turn this assignment into an equality comparison while (sig = optget(argv, sh_opttrap)) switch (sig) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:66:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(arg = *argv) ~~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:66:9: note: place parentheses around the assignment to silence this warning if(arg = *argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:66:9: note: use '==' to turn this assignment into an equality comparison if(arg = *argv) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:94:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(arg = *argv++) ~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:94:13: note: place parentheses around the assignment to silence this warning while(arg = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:94:13: note: use '==' to turn this assignment into an equality comparison while(arg = *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:114:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(arg=trap[sig]) ~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:114:12: note: place parentheses around the assignment to silence this warning if(arg=trap[sig]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:114:12: note: use '==' to turn this assignment into an equality comparison if(arg=trap[sig]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:141:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(arg=trapcom[sig]) ~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:141:11: note: place parentheses around the assignment to silence this warning if(arg=trapcom[sig]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:141:11: note: use '==' to turn this assignment into an equality comparison if(arg=trapcom[sig]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:210:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while(signame = *argv++) ~~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:210:22: note: place parentheses around the assignment to silence this warning else while(signame = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/trap.c:210:22: note: use '==' to turn this assignment into an equality comparison else while(signame = *argv++) ^ == 6 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DKSHELL -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:34: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:34: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:34: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:34: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:34: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:90:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:90:10: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:90:10: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:449:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap = nv_arrayptr(np)) ~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:449:9: note: place parentheses around the assignment to silence this warning if(ap = nv_arrayptr(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:449:9: note: use '==' to turn this assignment into an equality comparison if(ap = nv_arrayptr(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:582:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setreuid(shp->gd->userid,shp->gd->euserid); ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:584:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setregid(shp->gd->groupid,shp->gd->egroupid); ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/test.c:588:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setregid(shp->gd->groupid,shp->gd->egroupid); ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making test.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_FIXEDARRAY -DSHOPT_DYNAMIC -DSHOPT_NAMESPACE -DSHOPT_TYPEDEF -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DSHOPT_ESH -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:555:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(name = *++argv) ~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:555:14: note: place parentheses around the assignment to silence this warning while(name = *++argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:555:14: note: use '==' to turn this assignment into an equality comparison while(name = *++argv) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:594:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np=nv_search(name,troot,0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:594:11: note: place parentheses around the assignment to silence this warning if(np=nv_search(name,troot,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:594:11: note: use '==' to turn this assignment into an equality comparison if(np=nv_search(name,troot,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:599:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(memcmp(name,".sh.math.",9)==0 && sh_mathstd(name+9)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:640:86: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] np = nv_open(name,troot,nvflags|((nvflags&NV_ASSIGN)?0:NV_ARRAY)|((iarray|(nvflags&(NV_REF|NV_NOADD)==NV_REF))?NV_FARRAY:0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:640:86: note: place parentheses around the '==' expression to silence this warning np = nv_open(name,troot,nvflags|((nvflags&NV_ASSIGN)?0:NV_ARRAY)|((iarray|(nvflags&(NV_REF|NV_NOADD)==NV_REF))?NV_FARRAY:0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:640:86: note: place parentheses around the & expression to evaluate it first np = nv_open(name,troot,nvflags|((nvflags&NV_ASSIGN)?0:NV_ARRAY)|((iarray|(nvflags&(NV_REF|NV_NOADD)==NV_REF))?NV_FARRAY:0)); ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:726:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(last=strchr(name,'=')) ~~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:726:11: note: place parentheses around the assignment to silence this warning if(last=strchr(name,'=')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:726:11: note: use '==' to turn this assignment into an equality comparison if(last=strchr(name,'=')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:738:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=nv_mapchar(np,tp->wctname)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:738:10: note: place parentheses around the assignment to silence this warning if(fp=nv_mapchar(np,tp->wctname)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:738:10: note: use '==' to turn this assignment into an equality comparison if(fp=nv_mapchar(np,tp->wctname)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:917:32: warning: implicit declaration of function 'dlllook' is invalid in C99 [-Wimplicit-function-declaration] else if ((initfn = (Libinit_f)dlllook(dll, "lib_init"))) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:917:21: warning: cast to 'Libinit_f' (aka 'void (*)(int, void *)') from smaller integer type 'int' [-Wint-to-pointer-cast] else if ((initfn = (Libinit_f)dlllook(dll, "lib_init"))) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:943:22: warning: implicit declaration of function 'dlllook' is invalid in C99 [-Wimplicit-function-declaration] return (Shbltin_f)dlllook(liblist[n].dll, sym); ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:943:11: warning: cast to 'Shbltin_f' (aka 'int (*)(int, char **, struct Shbltin_s *)') from smaller integer type 'int' [-Wint-to-pointer-cast] return (Shbltin_f)dlllook(liblist[n].dll, sym); ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:987:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = optget(argv,sh_optbuiltin)) switch (n) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:987:11: note: place parentheses around the assignment to silence this warning while (n = optget(argv,sh_optbuiltin)) switch (n) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:987:11: note: use '==' to turn this assignment into an equality comparison while (n = optget(argv,sh_optbuiltin)) switch (n) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1031:18: warning: implicit declaration of function 'dllplugin' is invalid in C99 [-Wimplicit-function-declaration] if(!(library = dllplugin(SH_ID, arg, NiL, SH_PLUGIN_VERSION, &ver, RTLD_LAZY, path, sizeof(path)))) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1031:70: error: use of undeclared identifier 'RTLD_LAZY' if(!(library = dllplugin(SH_ID, arg, NiL, SH_PLUGIN_VERSION, &ver, RTLD_LAZY, path, sizeof(path)))) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1033:48: warning: implicit declaration of function 'dllerror' is invalid in C99 [-Wimplicit-function-declaration] errormsg(SH_DICT,ERROR_exit(0),"%s: %s",arg,dllerror(0)); ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1060:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(arg = *argv) ~~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1060:12: note: place parentheses around the assignment to silence this warning while(arg = *argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1060:12: note: use '==' to turn this assignment into an equality comparison while(arg = *argv) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1073:36: warning: implicit declaration of function 'dlllook' is invalid in C99 [-Wimplicit-function-declaration] if(dlete || (addr = (Shbltin_f)dlllook(liblist[n].dll,stkptr(stkp,flag)))) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1073:25: warning: cast to 'Shbltin_f' (aka 'int (*)(int, char **, struct Shbltin_s *)') from smaller integer type 'int' [-Wint-to-pointer-cast] if(dlete || (addr = (Shbltin_f)dlllook(liblist[n].dll,stkptr(stkp,flag)))) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1078:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np = sh_addbuiltin(arg, addr,pointerof(dlete))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1078:12: note: place parentheses around the assignment to silence this warning if(np = sh_addbuiltin(arg, addr,pointerof(dlete))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1078:12: note: use '==' to turn this assignment into an equality comparison if(np = sh_addbuiltin(arg, addr,pointerof(dlete))) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1171:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(r = optget(argv,name)) switch(r) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1171:10: note: place parentheses around the assignment to silence this warning while(r = optget(argv,name)) switch(r) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1171:10: note: use '==' to turn this assignment into an equality comparison while(r = optget(argv,name)) switch(r) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1207:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(name = *argv++) ~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1207:13: note: place parentheses around the assignment to silence this warning while(name = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1207:13: note: use '==' to turn this assignment into an equality comparison while(name = *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1370:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=nv_getval(np)) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1370:7: note: place parentheses around the assignment to silence this warning if(cp=nv_getval(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/typeset.c:1370:7: note: use '==' to turn this assignment into an equality comparison if(cp=nv_getval(np)) ^ == 20 warnings and 1 error generated. mamake [cmd/ksh93]: *** exit code 1 making typeset.o + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/rlimits iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is sys/time.h a header ... yes iffe: test: is resource.h a header ... no iffe: test: is vlimit.h a header ... no iffe: test: is sys/resource.h a header ... yes iffe: test: is sys/vlimit.h a header ... yes iffe: test: is getrlimit a library function ... yes iffe: test: is getrlimit64 a library function ... yes iffe: test: is ulimit a library function ... yes iffe: test: is vlimit a library function ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is rlim_t a type or typedef ... yes iffe: test: is rlim64_t a type or typedef ... yes iffe: test: cat{ ... }end ... yes + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_FIXEDARRAY -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/ulimit.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/umask.c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/umask.c:61:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mask = *argv) ~~~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/umask.c:61:10: note: place parentheses around the assignment to silence this warning if(mask = *argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/umask.c:61:10: note: use '==' to turn this assignment into an equality comparison if(mask = *argv) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/umask.c:66:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *mask++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/umask.c:66:12: note: place parentheses around the assignment to silence this warning while(c = *mask++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/umask.c:66:12: note: use '==' to turn this assignment into an equality comparison while(c = *mask++) ^ == 2 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_KIA -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:35: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:35: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:35: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:35: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:35: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:148:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(name= *argv++) ~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:148:12: note: place parentheses around the assignment to silence this warning while(name= *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:148:12: note: use '==' to turn this assignment into an equality comparison while(name= *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:188:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np= nv_bfsearch(name, root, &nq, ¬used)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:188:8: note: place parentheses around the assignment to silence this warning if(np= nv_bfsearch(name, root, &nq, ¬used)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/whence.c:188:8: note: use '==' to turn this assignment into an equality comparison if(np= nv_bfsearch(name, root, &nq, ¬used)) ^ == 5 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making whence.o + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : def execargs iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is execargs a command ... no iffe: test: is execargs a library data symbol ... no iffe: test: is execargs.h a header ... no iffe: test: is execargs a reserved keyword ... no iffe: test: is execargs a library function ... no iffe: test: is execargs a math library symbol ... no iffe: test: is sys/execargs.h a header ... no iffe: test: is execargs a type or typedef ... no + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : def pstat iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is pstat a command ... no iffe: test: is pstat a library data symbol ... no iffe: test: is pstat.h a header ... no iffe: test: is pstat a reserved keyword ... no iffe: test: is pstat a library function ... no iffe: test: is pstat a math library symbol ... no iffe: test: is sys/pstat.h a header ... no iffe: test: is pstat a type or typedef ... no + cc -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_BRACEPAT -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_ESH -D_BLD_shell -DSHOPT_KIA -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DSHOPT_BGX -DSHOPT_COSHELL -DKSHELL -DSHOPT_SUID_EXEC -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_DYNAMIC -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:40: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:40: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:143:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(rshflag=sh_isoption(SH_RESTRICTED)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:143:12: note: place parentheses around the assignment to silence this warning if(rshflag=sh_isoption(SH_RESTRICTED)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:143:12: note: use '==' to turn this assignment into an equality comparison if(rshflag=sh_isoption(SH_RESTRICTED)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:226:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(name = sh_mactry(shp,nv_getval(ENVNOD))) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:226:14: note: place parentheses around the assignment to silence this warning if(name = sh_mactry(shp,nv_getval(ENVNOD))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:226:14: note: use '==' to turn this assignment into an equality comparison if(name = sh_mactry(shp,nv_getval(ENVNOD))) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:439:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(top = fcfile()) ~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:439:10: note: place parentheses around the assignment to silence this warning if(top = fcfile()) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:439:10: note: use '==' to turn this assignment into an equality comparison if(top = fcfile()) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:443:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(top=sfstack(iop,SF_POPSTACK)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:443:13: note: place parentheses around the assignment to silence this warning while(top=sfstack(iop,SF_POPSTACK)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:443:13: note: use '==' to turn this assignment into an equality comparison while(top=sfstack(iop,SF_POPSTACK)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:731:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:731:12: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:731:12: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:735:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(argv=environ; cp = *argv; cp++) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:735:25: note: place parentheses around the assignment to silence this warning for(argv=environ; cp = *argv; cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/main.c:735:25: note: use '==' to turn this assignment into an equality comparison for(argv=environ; cp = *argv; cp++) ^ == 6 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making main.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_TYPEDEF -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -D_BLD_shell -DSHOPT_STATS -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_DYNAMIC -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:400:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp = nv_getval(SH_VALNOD)) ~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:400:14: note: place parentheses around the assignment to silence this warning else if(cp = nv_getval(SH_VALNOD)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:400:14: note: use '==' to turn this assignment into an equality comparison else if(cp = nv_getval(SH_VALNOD)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:473:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(type=0; name=nv_discnames[type]; type++) ~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:473:19: note: place parentheses around the assignment to silence this warning for(type=0; name=nv_discnames[type]; type++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:473:19: note: use '==' to turn this assignment into an equality comparison for(type=0; name=nv_discnames[type]; type++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:500:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(fp = fp->next) ~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:500:12: note: place parentheses around the assignment to silence this warning while(fp = fp->next) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:500:12: note: use '==' to turn this assignment into an equality comparison while(fp = fp->next) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:572:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(type=0; name=discnames[type]; type++) ~~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:572:18: note: place parentheses around the assignment to silence this warning for(type=0; name=discnames[type]; type++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:572:18: note: use '==' to turn this assignment into an equality comparison for(type=0; name=discnames[type]; type++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:761:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp = np->nvfun) ~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:761:14: note: place parentheses around the assignment to silence this warning else if(fp = np->nvfun) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:761:14: note: use '==' to turn this assignment into an equality comparison else if(fp = np->nvfun) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:926:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=np->nvfun) ~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:926:7: note: place parentheses around the assignment to silence this warning if(fp=np->nvfun) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:926:7: note: use '==' to turn this assignment into an equality comparison if(fp=np->nvfun) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:1074:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(next=dtvnext(root)) ~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:1074:14: note: place parentheses around the assignment to silence this warning while(next=dtvnext(root)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:1074:14: note: use '==' to turn this assignment into an equality comparison while(next=dtvnext(root)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:1200:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np = nv_search(name,sh.bltin_tree,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:1200:8: note: place parentheses around the assignment to silence this warning if(np = nv_search(name,sh.bltin_tree,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:1200:8: note: use '==' to turn this assignment into an equality comparison if(np = nv_search(name,sh.bltin_tree,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:1417:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tp = (struct table*)nv_hasdisc(np,&table_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:1417:9: note: place parentheses around the assignment to silence this warning if(tp = (struct table*)nv_hasdisc(np,&table_disc)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvdisc.c:1417:9: note: use '==' to turn this assignment into an equality comparison if(tp = (struct table*)nv_hasdisc(np,&table_disc)) ^ == 9 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_TYPEDEF -DSHOPT_FIXEDARRAY -DSHOPT_NAMESPACE -DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]" -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DKSHELL -DSHOPT_STATS -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:301:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=nv_hasdisc(nq,&chtype_disc)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:301:7: note: place parentheses around the assignment to silence this warning if(fp=nv_hasdisc(nq,&chtype_disc)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:301:7: note: use '==' to turn this assignment into an equality comparison if(fp=nv_hasdisc(nq,&chtype_disc)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:344:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(i=nv_size(nq)) ~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:344:9: note: place parentheses around the assignment to silence this warning if(i=nv_size(nq)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:344:9: note: use '==' to turn this assignment into an equality comparison if(i=nv_size(nq)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:444:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(ap=nv_arrayptr(nr)) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:444:15: note: place parentheses around the assignment to silence this warning else if(ap=nv_arrayptr(nr)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:444:15: note: use '==' to turn this assignment into an equality comparison else if(ap=nv_arrayptr(nr)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap=nv_arrayptr(nq)) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:575:9: note: place parentheses around the assignment to silence this warning if(ap=nv_arrayptr(nq)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:575:9: note: use '==' to turn this assignment into an equality comparison if(ap=nv_arrayptr(nq)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:669:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:669:8: note: place parentheses around the assignment to silence this warning if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:669:8: note: use '==' to turn this assignment into an equality comparison if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:685:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tp=nv_type(nq)) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:685:8: note: place parentheses around the assignment to silence this warning if(tp=nv_type(nq)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:685:8: note: use '==' to turn this assignment into an equality comparison if(tp=nv_type(nq)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:760:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(argv=nv_discnames; sp=*argv; argv++) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:760:27: note: place parentheses around the assignment to silence this warning for(argv=nv_discnames; sp=*argv; argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:760:27: note: use '==' to turn this assignment into an equality comparison for(argv=nv_discnames; sp=*argv; argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:812:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(name=strrchr(np->nvname,'.')) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:812:9: note: place parentheses around the assignment to silence this warning if(name=strrchr(np->nvname,'.')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:812:9: note: use '==' to turn this assignment into an equality comparison if(name=strrchr(np->nvname,'.')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:817:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bp=(Namval_t*)shp->namespace) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:817:7: note: place parentheses around the assignment to silence this warning if(bp=(Namval_t*)shp->namespace) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:817:7: note: use '==' to turn this assignment into an equality comparison if(bp=(Namval_t*)shp->namespace) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1047:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1047:9: note: place parentheses around the assignment to silence this warning if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1047:9: note: use '==' to turn this assignment into an equality comparison if(bp=(Nambfun_t*)nv_hasdisc(np,nv_discfun(NV_DCADD))) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1081:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp = (Namtype_t*)nv_hasdisc(np, &type_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1081:9: note: place parentheses around the assignment to silence this warning if(dp = (Namtype_t*)nv_hasdisc(np, &type_disc)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1081:9: note: use '==' to turn this assignment into an equality comparison if(dp = (Namtype_t*)nv_hasdisc(np, &type_disc)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1096:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=nv_hasdisc(nq,&chtype_disc)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1096:9: note: place parentheses around the assignment to silence this warning if(fp=nv_hasdisc(nq,&chtype_disc)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1096:9: note: use '==' to turn this assignment into an equality comparison if(fp=nv_hasdisc(nq,&chtype_disc)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1098:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tp = (Namtype_t*)nv_hasdisc(nq, &type_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1098:10: note: place parentheses around the assignment to silence this warning if(tp = (Namtype_t*)nv_hasdisc(nq, &type_disc)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1098:10: note: use '==' to turn this assignment into an equality comparison if(tp = (Namtype_t*)nv_hasdisc(nq, &type_disc)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1262:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(v=strrchr(cp,'.')) ~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1262:6: note: place parentheses around the assignment to silence this warning if(v=strrchr(cp,'.')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1262:6: note: use '==' to turn this assignment into an equality comparison if(v=strrchr(cp,'.')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1465:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1465:10: note: place parentheses around the assignment to silence this warning if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1465:10: note: use '==' to turn this assignment into an equality comparison if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1506:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp = (Namtype_t*)nv_hasdisc(nq,&type_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1506:10: note: place parentheses around the assignment to silence this warning if(dp = (Namtype_t*)nv_hasdisc(nq,&type_disc)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1506:10: note: use '==' to turn this assignment into an equality comparison if(dp = (Namtype_t*)nv_hasdisc(nq,&type_disc)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1508:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1508:10: note: place parentheses around the assignment to silence this warning if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1508:10: note: use '==' to turn this assignment into an equality comparison if(dp = (Namtype_t*)nv_hasdisc(tp,&type_disc)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1620:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=shp->prefix) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1620:7: note: place parentheses around the assignment to silence this warning if(cp=shp->prefix) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1620:7: note: use '==' to turn this assignment into an equality comparison if(cp=shp->prefix) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1661:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(sp=0; sp=nv_setdisc(tp,(char*)0,(Namval_t*)sp,(Namfun_t*)tp);) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1661:15: note: place parentheses around the assignment to silence this warning for(sp=0; sp=nv_setdisc(tp,(char*)0,(Namval_t*)sp,(Namfun_t*)tp);) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1661:15: note: use '==' to turn this assignment into an equality comparison for(sp=0; sp=nv_setdisc(tp,(char*)0,(Namval_t*)sp,(Namfun_t*)tp);) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1666:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=strrchr(mp->nvname,'.')) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1666:9: note: place parentheses around the assignment to silence this warning if(cp=strrchr(mp->nvname,'.')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1666:9: note: use '==' to turn this assignment into an equality comparison if(cp=strrchr(mp->nvname,'.')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1681:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(xp=mp->nvalue.rp->fname) ~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1681:15: note: place parentheses around the assignment to silence this warning else if(xp=mp->nvalue.rp->fname) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtype.c:1681:15: note: use '==' to turn this assignment into an equality comparison else if(xp=mp->nvalue.rp->fname) ^ == 21 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_FIXEDARRAY -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:28: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:28: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:28: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:28: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:28: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:177:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq = nv_opensub(np)) ~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:177:10: note: place parentheses around the assignment to silence this warning if(nq = nv_opensub(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:177:10: note: use '==' to turn this assignment into an equality comparison if(nq = nv_opensub(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:280:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:280:10: note: place parentheses around the assignment to silence this warning if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:280:10: note: use '==' to turn this assignment into an equality comparison if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:415:5: warning: '&&' within '||' [-Wlogical-op-parentheses] 16 && (c == 'p' || c == 'P')) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/arith.c:415:5: note: place parentheses around the '&&' expression to silence this warning 16 && (c == 'p' || c == 'P')) ^ ) 6 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making arith.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_OPTIMIZE -DSHOPT_RAWONLY -DSHOPT_HISTEXPAND -DSHOPT_PFSH -D_BLD_shell -DKSHELL -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_KIA -DSHOPT_MULTIBYTE -DSHOPT_EDPREDICT -DSHOPT_ESH -DSHOPT_VSH -DSHOPT_DYNAMIC -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:37: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:37: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:37: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:37: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:37: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:234:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tp=shtab_options; o = tp->sh_number; tp++) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:234:29: note: place parentheses around the assignment to silence this warning for(tp=shtab_options; o = tp->sh_number; tp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:234:29: note: use '==' to turn this assignment into an equality comparison for(tp=shtab_options; o = tp->sh_number; tp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:276:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=strchr(optksh,n)) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:276:9: note: place parentheses around the assignment to silence this warning if(cp=strchr(optksh,n)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:276:9: note: use '==' to turn this assignment into an equality comparison if(cp=strchr(optksh,n)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:392:26: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!sh_isstate(SH_INIT) && is_option(&newflags,SH_PRIVILEGED) != sh_isoption(SH_PRIVILEGED) || sh_isstate(SH_INIT) && is_option(&((Arg_t*)shp->arg_context)->sh->offoptions,SH_PRIVILEGED) && shp->gd->userid!=shp->gd->euserid) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:392:26: note: place parentheses around the '&&' expression to silence this warning if(!sh_isstate(SH_INIT) && is_option(&newflags,SH_PRIVILEGED) != sh_isoption(SH_PRIVILEGED) || sh_isstate(SH_INIT) && is_option(&((Arg_t*)shp->arg_context)->sh->offoptions,SH_PRIVILEGED) && shp->gd->userid!=shp->gd->euserid) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:392:189: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!sh_isstate(SH_INIT) && is_option(&newflags,SH_PRIVILEGED) != sh_isoption(SH_PRIVILEGED) || sh_isstate(SH_INIT) && is_option(&((Arg_t*)shp->arg_context)->sh->offoptions,SH_PRIVILEGED) && shp->gd->userid!=shp->gd->euserid) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:392:189: note: place parentheses around the '&&' expression to silence this warning if(!sh_isstate(SH_INIT) && is_option(&newflags,SH_PRIVILEGED) != sh_isoption(SH_PRIVILEGED) || sh_isstate(SH_INIT) && is_option(&((Arg_t*)shp->arg_context)->sh->offoptions,SH_PRIVILEGED) && shp->gd->userid!=shp->gd->euserid) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:396:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setuid(shp->gd->userid); ^~~~~~ ~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:397:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setgid(shp->gd->groupid); ^~~~~~ ~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:486:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(argblk=argr) ~~~~~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:486:11: note: place parentheses around the assignment to silence this warning if(argblk=argr) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:486:11: note: use '==' to turn this assignment into an equality comparison if(argblk=argr) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:525:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(sp= *pp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:525:10: note: place parentheses around the assignment to silence this warning while(sp= *pp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:525:10: note: use '==' to turn this assignment into an equality comparison while(sp= *pp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:563:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(ap->argfor=sh_argfree(shp,ap->argfor,0)); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:563:18: note: place parentheses around the assignment to silence this warning while(ap->argfor=sh_argfree(shp,ap->argfor,0)); ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:563:18: note: use '==' to turn this assignment into an equality comparison while(ap->argfor=sh_argfree(shp,ap->argfor,0)); ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:565:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap->dolh = blk) ~~~~~~~~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:565:14: note: place parentheses around the assignment to silence this warning if(ap->dolh = blk) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:565:14: note: use '==' to turn this assignment into an equality comparison if(ap->dolh = blk) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:579:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dh=ap->dolh) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:579:7: note: place parentheses around the assignment to silence this warning if(dh=ap->dolh) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:579:7: note: use '==' to turn this assignment into an equality comparison if(dh=ap->dolh) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:605:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tp=shtab_options; value=tp->sh_number; tp++) ~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:605:30: note: place parentheses around the assignment to silence this warning for(tp=shtab_options; value=tp->sh_number; tp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:605:30: note: use '==' to turn this assignment into an equality comparison for(tp=shtab_options; value=tp->sh_number; tp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:620:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tp=shtab_options; value=tp->sh_number; tp++) ~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:620:30: note: place parentheses around the assignment to silence this warning for(tp=shtab_options; value=tp->sh_number; tp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:620:30: note: use '==' to turn this assignment into an equality comparison for(tp=shtab_options; value=tp->sh_number; tp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:654:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tp=shtab_options; value=tp->sh_number; tp++) ~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:654:29: note: place parentheses around the assignment to silence this warning for(tp=shtab_options; value=tp->sh_number; tp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:654:29: note: use '==' to turn this assignment into an equality comparison for(tp=shtab_options; value=tp->sh_number; tp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:806:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(monitor = (sh_isstate(SH_MONITOR)!=0)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:806:13: note: place parentheses around the assignment to silence this warning if(monitor = (sh_isstate(SH_MONITOR)!=0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:806:13: note: use '==' to turn this assignment into an equality comparison if(monitor = (sh_isstate(SH_MONITOR)!=0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:853:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap=argp->argchn.ap) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:853:8: note: place parentheses around the assignment to silence this warning if(ap=argp->argchn.ap) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/args.c:853:8: note: use '==' to turn this assignment into an equality comparison if(ap=argp->argchn.ap) ^ == 19 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making args.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_TYPEDEF -DSHOPT_FIXEDARRAY -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:103:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp = (struct fixed_array*)ap->fixed) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:103:13: note: place parentheses around the assignment to silence this warning else if(fp = (struct fixed_array*)ap->fixed) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:103:13: note: use '==' to turn this assignment into an equality comparison else if(fp = (struct fixed_array*)ap->fixed) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:218:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp = (struct fixed_array*)arp->fixed) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:218:13: note: place parentheses around the assignment to silence this warning else if(fp = (struct fixed_array*)arp->fixed) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:218:13: note: use '==' to turn this assignment into an equality comparison else if(fp = (struct fixed_array*)arp->fixed) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:285:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(wasundef = ap->header.nelem&ARRAY_UNDEF) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:285:14: note: place parentheses around the assignment to silence this warning if(wasundef = ap->header.nelem&ARRAY_UNDEF) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:285:14: note: use '==' to turn this assignment into an equality comparison if(wasundef = ap->header.nelem&ARRAY_UNDEF) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:414:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq = nv_search(sub, ap->table, NV_ADD)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:414:8: note: place parentheses around the assignment to silence this warning if(nq = nv_search(sub, ap->table, NV_ADD)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:414:8: note: use '==' to turn this assignment into an equality comparison if(nq = nv_search(sub, ap->table, NV_ADD)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:462:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq=nv_opensub(np)) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:462:10: note: place parentheses around the assignment to silence this warning if(nq=nv_opensub(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:462:10: note: use '==' to turn this assignment into an equality comparison if(nq=nv_opensub(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:514:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq=nv_opensub(np)) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:514:8: note: place parentheses around the assignment to silence this warning if(nq=nv_opensub(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:514:8: note: use '==' to turn this assignment into an equality comparison if(nq=nv_opensub(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:668:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp=(struct fixed_array*)ap->fixed) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:668:16: note: place parentheses around the assignment to silence this warning else if(fp=(struct fixed_array*)ap->fixed) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:668:16: note: use '==' to turn this assignment into an equality comparison else if(fp=(struct fixed_array*)ap->fixed) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:705:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = (struct fixed_array*)ap->fixed) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:705:9: note: place parentheses around the assignment to silence this warning if(fp = (struct fixed_array*)ap->fixed) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:705:9: note: use '==' to turn this assignment into an equality comparison if(fp = (struct fixed_array*)ap->fixed) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:957:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while( n = digit ) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:957:18: note: place parentheses around the assignment to silence this warning else while( n = digit ) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:957:18: note: use '==' to turn this assignment into an equality comparison else while( n = digit ) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1091:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp = (struct fixed_array*)ap->header.fixed) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1091:13: note: place parentheses around the assignment to silence this warning else if(fp = (struct fixed_array*)ap->header.fixed) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1091:13: note: use '==' to turn this assignment into an equality comparison else if(fp = (struct fixed_array*)ap->header.fixed) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1249:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=ap->maxi-ap->maxi) ~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1249:9: note: place parentheses around the assignment to silence this warning if(n=ap->maxi-ap->maxi) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1249:9: note: use '==' to turn this assignment into an equality comparison if(n=ap->maxi-ap->maxi) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1286:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp=(struct fixed_array*)ap->header.fixed) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1286:7: note: place parentheses around the assignment to silence this warning if(fp=(struct fixed_array*)ap->header.fixed) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1286:7: note: use '==' to turn this assignment into an equality comparison if(fp=(struct fixed_array*)ap->header.fixed) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1618:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while(n=dot) ~^~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1618:14: note: place parentheses around the assignment to silence this warning else while(n=dot) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1618:14: note: use '==' to turn this assignment into an equality comparison else while(n=dot) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1674:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap = (struct assoc_array*)calloc(1,sizeof(struct assoc_array))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1674:9: note: place parentheses around the assignment to silence this warning if(ap = (struct assoc_array*)calloc(1,sizeof(struct assoc_array))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1674:9: note: use '==' to turn this assignment into an equality comparison if(ap = (struct assoc_array*)calloc(1,sizeof(struct assoc_array))) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1719:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(;ap->cur=ap->pos; ap->pos=ap->nextpos) ~~~~~~~^~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1719:15: note: place parentheses around the assignment to silence this warning for(;ap->cur=ap->pos; ap->pos=ap->nextpos) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/array.c:1719:15: note: use '==' to turn this assignment into an equality comparison for(;ap->cur=ap->pos; ap->pos=ap->nextpos) ^ == 15 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_MULTIBYTE -DSHOPT_ESH -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DKSHELL -DSHOPT_VSH -DSHOPT_PFSH -D_BLD_shell -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:27: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:27: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:27: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:27: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:27: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:50:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(string=cp;c=mbchar(cp);string=cp) ~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:50:17: note: place parentheses around the assignment to silence this warning for(string=cp;c=mbchar(cp);string=cp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:50:17: note: use '==' to turn this assignment into an equality comparison for(string=cp;c=mbchar(cp);string=cp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:308:148: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!var && !strchr(ap->argval,'/') && (((cp==outbuff&&ep->sh->nextprompt==1) || (strchr(";&|(",size)) && (cp==outbuff+1||size=='('||cp[-2]!='>') && *begin!='~' ))) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:308:148: note: place parentheses around the '&&' expression to silence this warning if(!var && !strchr(ap->argval,'/') && (((cp==outbuff&&ep->sh->nextprompt==1) || (strchr(";&|(",size)) && (cp==outbuff+1||size=='('||cp[-2]!='>') && *begin!='~' ))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:335:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*com==0 || (narg <= 1 && (strcmp(ap->argval,*com)==0) || (addstar && com[0][strlen(*com)-1]=='*'))) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:335:29: note: place parentheses around the '&&' expression to silence this warning if (*com==0 || (narg <= 1 && (strcmp(ap->argval,*com)==0) || (addstar && com[0][strlen(*com)-1]=='*'))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:369:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:369:14: note: place parentheses around the assignment to silence this warning if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/completion.c:369:14: note: use '==' to turn this assignment into an equality comparison if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0)) ^ == 7 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making completion.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -DSHOPT_KIA -D_API_ast=20100309 -D_BLD_shell -DSHOPT_BGX -DSHOPT_COSHELL -DSHOPT_STATS -DSHOPT_NAMESPACE -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/defs.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/defs.c:28: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/defs.c:28: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/defs.c:28: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/defs.c:28: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/defs.c:28: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making defs.o + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/cmds iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: is newgrp a command ... yes iffe: test: is test a command ... yes iffe: test: is id a command ... yes iffe: test: is wc a command ... yes iffe: test: is cut a command ... yes iffe: test: is logname a command ... yes iffe: test: is universe a command ... no iffe: test: is pfexec a command ... no iffe: test: is tput a command ... yes iffe: test: is ed a file ... no + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_EDPREDICT -DSHOPT_RAWONLY -DSHOPT_ESH -DSHOPT_VSH -DSHOPT_MULTIBYTE -DSHOPT_HISTEXPAND -DKSHELL -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:545:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(fd,ep->e_outbase,(unsigned)n); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:555:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(ERRIO,bellchr,1); ^~~~~ ~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:656:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(n=1; c = *last++; n++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:656:16: note: place parentheses around the assignment to silence this warning for(n=1; c = *last++; n++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:656:16: note: use '==' to turn this assignment into an equality comparison for(n=1; c = *last++; n++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:768:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pp=nv_getval(SH_SUBSCRNOD)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:768:9: note: place parentheses around the assignment to silence this warning if(pp=nv_getval(SH_SUBSCRNOD)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:768:9: note: use '==' to turn this assignment into an equality comparison if(pp=nv_getval(SH_SUBSCRNOD)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:791:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *str++) ~~^~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:791:10: note: place parentheses around the assignment to silence this warning while(c = *str++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:791:10: note: use '==' to turn this assignment into an equality comparison while(c = *str++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1084:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=keytrap(ep,readin,n,LOOKAHEAD-n,mode)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1084:9: note: place parentheses around the assignment to silence this warning if(n=keytrap(ep,readin,n,LOOKAHEAD-n,mode)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1084:9: note: use '==' to turn this assignment into an equality comparison if(n=keytrap(ep,readin,n,LOOKAHEAD-n,mode)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1317:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(r=poff;c= *sp;sp++) ~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1317:14: note: place parentheses around the assignment to silence this warning for(r=poff;c= *sp;sp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1317:14: note: use '==' to turn this assignment into an equality comparison for(r=poff;c= *sp;sp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1441:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*dp++ = *sp++); ~~~~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1441:14: note: place parentheses around the assignment to silence this warning while(*dp++ = *sp++); ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1441:14: note: use '==' to turn this assignment into an equality comparison while(*dp++ = *sp++); ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1625:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(n=0;c = mbchar(cp);oldcp=cp,col++) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1625:12: note: place parentheses around the assignment to silence this warning for(n=0;c = mbchar(cp);oldcp=cp,col++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1625:12: note: use '==' to turn this assignment into an equality comparison for(n=0;c = mbchar(cp);oldcp=cp,col++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1739:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(ar= av= &argv[1]; mp=(Histmatch_t*)*av; av++) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1739:27: note: place parentheses around the assignment to silence this warning for(ar= av= &argv[1]; mp=(Histmatch_t*)*av; av++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1739:27: note: use '==' to turn this assignment into an equality comparison for(ar= av= &argv[1]; mp=(Histmatch_t*)*av; av++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1755:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(av= &argv[1]; mp=(Histmatch_t*)*av; av++, mplast=mp) ~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1755:23: note: place parentheses around the assignment to silence this warning for(av= &argv[1]; mp=(Histmatch_t*)*av; av++, mplast=mp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1755:23: note: use '==' to turn this assignment into an equality comparison for(av= &argv[1]; mp=(Histmatch_t*)*av; av++, mplast=mp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1832:12: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration] while((r=ioctl(fd,cmd,val)) < 0 && errno==EINTR) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1840:13: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration] while((r=ioctl(fd,cmd,(unsigned long)l)) < 0 && errno==EINTR) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1845:13: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration] while((r=ioctl(fd,cmd,(unsigned int)l)) < 0 && errno==EINTR) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1854:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sh_tcgetattr(int fd, struct termios *tty) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/edit.c:1863:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sh_tcsetattr(int fd, int cmd, struct termios *tty) ^ 16 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_BRACEPAT -DSHOPT_SUID_EXEC -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DKSHELL -DSHOPT_DYNAMIC -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/expand.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/expand.c:352:39: warning: '&&' within '||' [-Wlogical-op-parentheses] else if((cp[2]=='}' || cp[2]=='.' && cp[3]=='.') && ((*pat>='a' && *pat<='z' && cp[1]>='a' && cp[1]<='z') || (*pat>='A' && *pat<='Z' && cp[1]>='A' && cp[1]<='Z'))) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/expand.c:352:39: note: place parentheses around the '&&' expression to silence this warning else if((cp[2]=='}' || cp[2]=='.' && cp[3]=='.') && ((*pat>='a' && *pat<='z' && cp[1]>='a' && cp[1]<='z') || (*pat>='A' && *pat<='Z' && cp[1]>='A' && cp[1]<='Z'))) ^ ( ) 1 warning generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]" -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DKSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/bltins/regress.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_KIA -DSHOPT_ESH -DSHOPT_VSH -DSHOPT_TYPEDEF -DSHOPT_BGX -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -DSHOPT_PFSH -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DKSHELL -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:80:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(v = cols) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:80:8: note: place parentheses around the assignment to silence this warning if(v = cols) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:80:8: note: use '==' to turn this assignment into an equality comparison if(v = cols) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:82:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(v = rows) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:82:8: note: place parentheses around the assignment to silence this warning if(v = rows) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:82:8: note: use '==' to turn this assignment into an equality comparison if(v = rows) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:171:59: warning: '&&' within '||' [-Wlogical-op-parentheses] if(pp->mode==SH_JMPCMD || (pp->mode==1 && shp->bltinfun) && !(flag&SH_SIGIGNORE)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:171:59: note: place parentheses around the '&&' expression to silence this warning if(pp->mode==SH_JMPCMD || (pp->mode==1 && shp->bltinfun) && !(flag&SH_SIGIGNORE)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:256:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tp=shtab_signals; sig=tp->sh_number; tp++) ~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:256:27: note: place parentheses around the assignment to silence this warning for(tp=shtab_signals; sig=tp->sh_number; tp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:256:27: note: use '==' to turn this assignment into an equality comparison for(tp=shtab_signals; sig=tp->sh_number; tp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:328:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=sh.st.trapcom[sig]) ~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:328:10: note: place parentheses around the assignment to silence this warning if(trap=sh.st.trapcom[sig]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:328:10: note: use '==' to turn this assignment into an equality comparison if(trap=sh.st.trapcom[sig]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:349:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=sh.st.trap[sig]) ~~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:349:10: note: place parentheses around the assignment to silence this warning if(trap=sh.st.trap[sig]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:349:10: note: use '==' to turn this assignment into an equality comparison if(trap=sh.st.trap[sig]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:374:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=sh.st.trapcom[sig]) ~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:374:9: note: place parentheses around the assignment to silence this warning if(trap=sh.st.trapcom[sig]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:374:9: note: use '==' to turn this assignment into an equality comparison if(trap=sh.st.trapcom[sig]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:431:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trapcom[sig]) ~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:431:11: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trapcom[sig]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:431:11: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trapcom[sig]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:614:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(t=shp->st.trapcom[0]) ~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:614:6: note: place parentheses around the assignment to silence this warning if(t=shp->st.trapcom[0]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fault.c:614:6: note: use '==' to turn this assignment into an equality comparison if(t=shp->st.trapcom[0]) ^ == 12 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making fault.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fcin.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fcin.c:171:24: warning: expression result unused [-Wunused-value] if((c = mbsize(extra.next)) < 0) ~~~~~ ^~~~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/fcin.c:187:29: warning: expression result unused [-Wunused-value] switch(*len = mbsize(_Fcin.fcptr)) ~~~~~ ^~~~~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ 2 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_VSH -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_AUDITFILE="/etc/ksh_audit" -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DKSHELL -DSHOPT_DYNAMIC -DSHOPT_PFSH -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_AUDIT -c /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:238:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shgd->hist_ptr=hist_ptr) ~~~~~~~~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:238:19: note: place parentheses around the assignment to silence this warning if(shgd->hist_ptr=hist_ptr) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:238:19: note: use '==' to turn this assignment into an equality comparison if(shgd->hist_ptr=hist_ptr) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:243:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=nv_getval(HOME)) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:243:8: note: place parentheses around the assignment to silence this warning if(cp=nv_getval(HOME)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:243:8: note: use '==' to turn this assignment into an equality comparison if(cp=nv_getval(HOME)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:304:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=nv_getval(HISTSIZE)) ~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:304:7: note: place parentheses around the assignment to silence this warning if(cp=nv_getval(HISTSIZE)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:304:7: note: use '==' to turn this assignment into an equality comparison if(cp=nv_getval(HISTSIZE)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:475:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(last = strrchr(name,'/')) ~~~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:475:11: note: place parentheses around the assignment to silence this warning if(last = strrchr(name,'/')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:475:11: note: use '==' to turn this assignment into an equality comparison if(last = strrchr(name,'/')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:567:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:567:17: note: place parentheses around the assignment to silence this warning while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:567:17: note: use '==' to turn this assignment into an equality comparison while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:642:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp=(char*)sfreserve(hp->histfp,SF_UNBOUND,0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:642:17: note: place parentheses around the assignment to silence this warning while(cp=(char*)sfreserve(hp->histfp,SF_UNBOUND,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:642:17: note: use '==' to turn this assignment into an equality comparison while(cp=(char*)sfreserve(hp->histfp,SF_UNBOUND,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:737:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(fd,(char*)hist_stamp,2); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:738:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(fd,buff,HIST_MARKSZ); ^~~~~ ~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:773:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:773:10: note: place parentheses around the assignment to silence this warning if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:773:10: note: use '==' to turn this assignment into an equality comparison if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:1037:16: warning: expression result unused [-Wunused-value] if((c=mbsize(cp)) < 0) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:1109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(;c = *cp;cp++) ~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:1109:9: note: place parentheses around the assignment to silence this warning for(;c = *cp;cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/history.c:1109:9: note: use '==' to turn this assignment into an equality comparison for(;c = *cp;cp++) ^ == 11 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_2DMATCH -DSHOPT_PFSH -DSHOPT_MULTIBYTE -DSHOPT_BGX -DSHOPT_COSHELL -DSHOPT_AUDIT -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_DYNAMIC -D_BLD_shell -DSHOPT_KIA -DKSHELL -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DSHOPT_ESH -DSHOPT_VSH -DSHOPT_FIXEDARRAY -DERROR_CONTEXT_T=Error_context_t -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:33: In file included from /usr/include/pwd.h:62: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: cannot combine with previous 'struct' declaration specifier typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:66:15: note: expanded from macro 'FILE' #define FILE struct _sfio_s ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:35: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:35: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:35: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:35: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:362:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shp->pathlist = (void*)pp) ~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:362:20: note: place parentheses around the assignment to silence this warning if(shp->pathlist = (void*)pp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:362:20: note: use '==' to turn this assignment into an equality comparison if(shp->pathlist = (void*)pp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:386:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shp->cdpathlist = (void*)pp) ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:386:21: note: place parentheses around the assignment to silence this warning if(shp->cdpathlist = (void*)pp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:386:21: note: use '==' to turn this assignment into an equality comparison if(shp->cdpathlist = (void*)pp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:547:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=value) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:547:8: note: place parentheses around the assignment to silence this warning if(cp=value) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:547:8: note: use '==' to turn this assignment into an equality comparison if(cp=value) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:550:19: warning: expression result unused [-Wunused-value] while(n=mbsize(cp),c= *(unsigned char*)cp) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:820:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap = nv_arrayptr(SH_MATCHNOD)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:820:10: note: place parentheses around the assignment to silence this warning if(ap = nv_arrayptr(SH_MATCHNOD)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:820:10: note: use '==' to turn this assignment into an equality comparison if(ap = nv_arrayptr(SH_MATCHNOD)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:915:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *cp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:915:11: note: place parentheses around the assignment to silence this warning while (c = *cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:915:11: note: use '==' to turn this assignment into an equality comparison while (c = *cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:938:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(lastp=strchr(newp,':')) ~~~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:938:11: note: place parentheses around the assignment to silence this warning if(lastp=strchr(newp,':')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:938:11: note: use '==' to turn this assignment into an equality comparison if(lastp=strchr(newp,':')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:951:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = nv_getval(np)) ~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:951:8: note: place parentheses around the assignment to silence this warning if(cp = nv_getval(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:951:8: note: use '==' to turn this assignment into an equality comparison if(cp = nv_getval(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1032:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1032:10: note: place parentheses around the assignment to silence this warning while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1032:10: note: use '==' to turn this assignment into an equality comparison while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1152:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = (const char*)strrchr(path, '/')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1152:8: note: place parentheses around the assignment to silence this warning if (s = (const char*)strrchr(path, '/')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1152:8: note: use '==' to turn this assignment into an equality comparison if (s = (const char*)strrchr(path, '/')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1412:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp = nv_getval(PWDNOD)) ~~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1412:15: note: place parentheses around the assignment to silence this warning else if(cp = nv_getval(PWDNOD)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1412:15: note: use '==' to turn this assignment into an equality comparison else if(cp = nv_getval(PWDNOD)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1579:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shp->userinit=userinit) ~~~~~~~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1579:18: note: place parentheses around the assignment to silence this warning if(shp->userinit=userinit) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:1579:18: note: use '==' to turn this assignment into an equality comparison if(shp->userinit=userinit) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2010:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(np0=np,ep=environ;cp= *ep; ep++) ~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2010:26: note: place parentheses around the assignment to silence this warning for(np0=np,ep=environ;cp= *ep; ep++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2010:26: note: use '==' to turn this assignment into an equality comparison for(np0=np,ep=environ;cp= *ep; ep++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2016:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp = dtmatch(shp->var_base,cp)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2016:9: note: place parentheses around the assignment to silence this warning if(mp = dtmatch(shp->var_base,cp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2016:9: note: use '==' to turn this assignment into an equality comparison if(mp = dtmatch(shp->var_base,cp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2056:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp=next) ~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2056:10: note: place parentheses around the assignment to silence this warning while(cp=next) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2056:10: note: use '==' to turn this assignment into an equality comparison while(cp=next) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2058:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(next = strchr(++cp,'=')) ~~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2058:11: note: place parentheses around the assignment to silence this warning if(next = strchr(++cp,'=')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2058:11: note: use '==' to turn this assignment into an equality comparison if(next = strchr(++cp,'=')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2177:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = mbchar(val)) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2177:11: note: place parentheses around the assignment to silence this warning while(c = mbchar(val)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/init.c:2177:11: note: use '==' to turn this assignment into an equality comparison while(c = mbchar(val)) ^ == 20 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making init.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_RAWONLY -DSHOPT_VSH -DSHOPT_ESH -DSHOPT_HISTEXPAND -DSHOPT_COSHELL -DSHOPT_DYNAMIC -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DKSHELL -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DSHOPT_BGX -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:34: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:34: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:34: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:34: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:34: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:269:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr(s, '/')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:269:8: note: place parentheses around the assignment to silence this warning if (t = strchr(s, '/')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:269:8: note: use '==' to turn this assignment into an equality comparison if (t = strchr(s, '/')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:300:55: warning: '&&' within '||' [-Wlogical-op-parentheses] if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:300:55: note: place parentheses around the '&&' expression to silence this warning if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:300:84: warning: '&&' within '||' [-Wlogical-op-parentheses] if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen)) ~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:300:84: note: place parentheses around the '&&' expression to silence this warning if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:610:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shp->fdptrs[fd]=shp->fdptrs[f2]) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:610:20: note: place parentheses around the assignment to silence this warning if(shp->fdptrs[fd]=shp->fdptrs[f2]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:610:20: note: use '==' to turn this assignment into an equality comparison if(shp->fdptrs[fd]=shp->fdptrs[f2]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:1102:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ep = strrchr(sp,'/')) ~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:1102:8: note: place parentheses around the assignment to silence this warning if(ep = strrchr(sp,'/')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:1102:8: note: use '==' to turn this assignment into an equality comparison if(ep = strrchr(sp,'/')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:1342:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tname = io_usename(fname,&perm,fn,0)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:1342:15: note: place parentheses around the assignment to silence this warning if(tname = io_usename(fname,&perm,fn,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:1342:15: note: use '==' to turn this assignment into an equality comparison if(tname = io_usename(fname,&perm,fn,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:1669:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(moved = (char*)filemap - oldptr) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:1669:12: note: place parentheses around the assignment to silence this warning if(moved = (char*)filemap - oldptr) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:1669:12: note: use '==' to turn this assignment into an equality comparison if(moved = (char*)filemap - oldptr) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:1775:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ftruncate(origfd,lseek(origfd,0,SEEK_CUR)); ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_std.h:298:19: note: expanded from macro 'ftruncate' #define ftruncate ftruncate64 ^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2145:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(;c= *cp;cp++) ~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2145:10: note: place parentheses around the assignment to silence this warning for(;c= *cp;cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2145:10: note: use '==' to turn this assignment into an equality comparison for(;c= *cp;cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2177:24: warning: '&' within '|' [-Wbitwise-op-parentheses] sfset(sfstderr,sfflags&SF_READ|SF_SHARE|SF_PUBLIC,1); ~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2177:24: note: place parentheses around the '&' expression to silence this warning sfset(sfstderr,sfflags&SF_READ|SF_SHARE|SF_PUBLIC,1); ~~~~~~~^~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2272:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pp=(struct checkpt*)shp->jmplist) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2272:8: note: place parentheses around the assignment to silence this warning if(pp=(struct checkpt*)shp->jmplist) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2272:8: note: use '==' to turn this assignment into an equality comparison if(pp=(struct checkpt*)shp->jmplist) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2498:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp=shp->sftable[fd]) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2498:7: note: place parentheses around the assignment to silence this warning if(sp=shp->sftable[fd]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2498:7: note: use '==' to turn this assignment into an equality comparison if(sp=shp->sftable[fd]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2512:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp=shp->sftable[fd]) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2512:7: note: place parentheses around the assignment to silence this warning if(sp=shp->sftable[fd]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/io.c:2512:7: note: use '==' to turn this assignment into an equality comparison if(sp=shp->sftable[fd]) ^ == 16 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making io.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_VSH -DSHOPT_COSHELL -DSHOPT_BGX -DSHOPT_ESH -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_MULTIBYTE -DSHOPT_PFSH -D_BLD_shell -DKSHELL -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:388:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cjp = cowait(0,0,cotimeout)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:388:11: note: place parentheses around the assignment to silence this warning if(cjp = cowait(0,0,cotimeout)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:388:11: note: use '==' to turn this assignment into an equality comparison if(cjp = cowait(0,0,cotimeout)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:658:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(possible = (setpgid(0,job.mypgid)>=0) || errno==EPERM) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:658:14: note: place parentheses around the assignment to silence this warning if(possible = (setpgid(0,job.mypgid)>=0) || errno==EPERM) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:658:14: note: use '==' to turn this assignment into an equality comparison if(possible = (setpgid(0,job.mypgid)>=0) || errno==EPERM) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:876:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while(jp = *jobs++) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:876:16: note: place parentheses around the assignment to silence this warning else while(jp = *jobs++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:876:16: note: use '==' to turn this assignment into an equality comparison else while(jp = *jobs++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:942:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else while(jobid = *jobs++) ~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:942:19: note: place parentheses around the assignment to silence this warning else while(jobid = *jobs++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:942:19: note: use '==' to turn this assignment into an equality comparison else while(jobid = *jobs++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1067:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(px=px->p_nxtproc) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1067:12: note: place parentheses around the assignment to silence this warning while(px=px->p_nxtproc) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1067:12: note: use '==' to turn this assignment into an equality comparison while(px=px->p_nxtproc) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1175:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pid = pw->p_pgrp) ~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1175:10: note: place parentheses around the assignment to silence this warning if(pid = pw->p_pgrp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1175:10: note: use '==' to turn this assignment into an equality comparison if(pid = pw->p_pgrp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1261:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(px=pw) ~~^~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1261:11: note: place parentheses around the assignment to silence this warning while(px=pw) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1261:11: note: use '==' to turn this assignment into an equality comparison while(px=pw) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1321:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pw = job_bypid(pid)) ~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1321:8: note: place parentheses around the assignment to silence this warning if(pw = job_bypid(pid)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1321:8: note: use '==' to turn this assignment into an equality comparison if(pw = job_bypid(pid)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1325:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pw=job_bypid(join)) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1325:8: note: place parentheses around the assignment to silence this warning if(pw=job_bypid(join)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1325:8: note: use '==' to turn this assignment into an equality comparison if(pw=job_bypid(join)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1337:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pw=freelist) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1337:7: note: place parentheses around the assignment to silence this warning if(pw=freelist) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1337:7: note: use '==' to turn this assignment into an equality comparison if(pw=freelist) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1817:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(jp = jobsave_create(pw->p_pid)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1817:10: note: place parentheses around the assignment to silence this warning if(jp = jobsave_create(pw->p_pid)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/jobs.c:1817:10: note: use '==' to turn this assignment into an equality comparison if(jp = jobsave_create(pw->p_pid)) ^ == 11 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_TYPEDEF -DSHOPT_MULTIBYTE -DSHOPT_KIA -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_PFSH -DKSHELL -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:45: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:45: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:45: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:45: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:45: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:341:21: warning: '&&' within '||' [-Wlogical-op-parentheses] while((fcgetc(c)) && c==' ' || c== '\t' || c=='\n'); ~~~~~~~~~~~~^~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:341:21: note: place parentheses around the '&&' expression to silence this warning while((fcgetc(c)) && c==' ' || c== '\t' || c=='\n'); ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:985:56: warning: '&&' within '||' [-Wlogical-op-parentheses] if(c=='*' || (n=sh_lexstates[ST_BRACE][c])!=S_MOD1 && n!=S_MOD2) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:985:56: note: place parentheses around the '&&' expression to silence this warning if(c=='*' || (n=sh_lexstates[ST_BRACE][c])!=S_MOD1 && n!=S_MOD2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1570:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(first=lp->lexd.first) ~~~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1570:10: note: place parentheses around the assignment to silence this warning if(first=lp->lexd.first) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1570:10: note: use '==' to turn this assignment into an equality comparison if(first=lp->lexd.first) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1702:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(offset=stktell(stkp)) ~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1702:11: note: place parentheses around the assignment to silence this warning if(offset=stktell(stkp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1702:11: note: use '==' to turn this assignment into an equality comparison if(offset=stktell(stkp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1797:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(funlog=lp->sh->funlog) ~~~~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1797:11: note: place parentheses around the assignment to silence this warning if(funlog=lp->sh->funlog) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1797:11: note: use '==' to turn this assignment into an equality comparison if(funlog=lp->sh->funlog) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1809:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(stripflg=iop->iofile&IOSTRIP) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1809:13: note: place parentheses around the assignment to silence this warning if(stripflg=iop->iofile&IOSTRIP) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1809:13: note: use '==' to turn this assignment into an equality comparison if(stripflg=iop->iofile&IOSTRIP) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:1844:39: warning: expression result unused [-Wunused-value] if(fcleft()< MB_LEN_MAX && mbsize(fcseek(0))<0) ~~~~~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/include/fcin.h:55:20: note: expanded from macro 'fcseek' #define fcseek(n) ((char*)(_Fcin.fcptr+=(n))) ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:2131:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(top=sfstack(sp,SF_POPSTACK)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:2131:12: note: place parentheses around the assignment to silence this warning while(top=sfstack(sp,SF_POPSTACK)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:2131:12: note: use '==' to turn this assignment into an equality comparison while(top=sfstack(sp,SF_POPSTACK)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:2189:24: warning: expression result unused [-Wunused-value] switch(len = mbsize(sp)) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:2398:25: warning: expression result unused [-Wunused-value] switch(len = mbsize(sp)) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:2497:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap->np = np) ~~~~~~~^~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:2497:12: note: place parentheses around the assignment to silence this warning if(ap->np = np) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/lex.c:2497:12: note: use '==' to turn this assignment into an equality comparison if(ap->np = np) ^ == 14 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making lex.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_BRACEPAT -DKSHELL -DSHOPT_COSHELL -DSHOPT_OPTIMIZE -DSHOPT_FIXEDARRAY -DSHOPT_TYPEDEF -DSHOPT_FILESCAN -DSHOPT_MULTIBYTE -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -DSHOPT_SUID_EXEC -DSHOPT_BGX -DSHOPT_KIA -DSHOPT_DYNAMIC -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:36: In file included from /usr/include/pwd.h:62: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: cannot combine with previous 'struct' declaration specifier typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:66:15: note: expanded from macro 'FILE' #define FILE struct _sfio_s ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:38: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:38: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:38: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:38: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/regex.h:48: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:177:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:177:13: note: place parentheses around the assignment to silence this warning if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:177:13: note: use '==' to turn this assignment into an equality comparison if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:212:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:212:13: note: place parentheses around the assignment to silence this warning if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:212:13: note: use '==' to turn this assignment into an equality comparison if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:302:25: warning: expression result unused [-Wunused-value] switch(len = mbsize(cp)) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:322:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c=(cp-1)-fcseek(0)) ~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:322:7: note: place parentheses around the assignment to silence this warning if(c=(cp-1)-fcseek(0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:322:7: note: use '==' to turn this assignment into an equality comparison if(c=(cp-1)-fcseek(0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:387:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c=stktell(stkp)-offset2) ~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:387:9: note: place parentheses around the assignment to silence this warning if(c=stktell(stkp)-offset2) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:387:9: note: use '==' to turn this assignment into an equality comparison if(c=stktell(stkp)-offset2) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:469:25: warning: expression result unused [-Wunused-value] switch(len = mbsize(cp)) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:528:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c= cp[-1]) ~^~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:528:9: note: place parentheses around the assignment to silence this warning if(c= cp[-1]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:528:9: note: use '==' to turn this assignment into an equality comparison if(c= cp[-1]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:549:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if((n==S_DIG || ((paren+ere) && (sh_lexstates[ST_DOL][nc]==S_ALP) || nc=='<' || nc=='>'))) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:549:35: note: place parentheses around the '&&' expression to silence this warning if((n==S_DIG || ((paren+ere) && (sh_lexstates[ST_DOL][nc]==S_ALP) || nc=='<' || nc=='>'))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:891:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=cp-first-1) ~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:891:6: note: place parentheses around the assignment to silence this warning if(n=cp-first-1) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:891:6: note: use '==' to turn this assignment into an equality comparison if(n=cp-first-1) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:1214:51: warning: '&&' within '||' [-Wlogical-op-parentheses] while((d=c,(c=fcmbget(&LEN)),isaname(c))||type && c=='.'); ~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:1214:51: note: place parentheses around the '&&' expression to silence this warning while((d=c,(c=fcmbget(&LEN)),isaname(c))||type && c=='.'); ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:1725:20: warning: expression result unused [-Wunused-value] if((c=mbsize(vp))<1) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:1782:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if(v || c=='/' && offset>=0) ~~ ~~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:1782:18: note: place parentheses around the '&&' expression to silence this warning if(v || c=='/' && offset>=0) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2124:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp=mp->shp->sftable[fd]) ~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2124:10: note: place parentheses around the assignment to silence this warning if(sp=mp->shp->sftable[fd]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2124:10: note: use '==' to turn this assignment into an equality comparison if(sp=mp->shp->sftable[fd]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2282:31: warning: expression result unused [-Wunused-value] if(mbwide() && (len=mbsize(cp))>1) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2327:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c = (cp-1) - str) ~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2327:10: note: place parentheses around the assignment to silence this warning if(c = (cp-1) - str) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2327:10: note: use '==' to turn this assignment into an equality comparison if(c = (cp-1) - str) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2333:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c = cp-str) ~~^~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2333:8: note: place parentheses around the assignment to silence this warning if(c = cp-str) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2333:8: note: use '==' to turn this assignment into an equality comparison if(c = cp-str) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2343:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *sp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2343:12: note: place parentheses around the assignment to silence this warning while(c = *sp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2343:12: note: use '==' to turn this assignment into an equality comparison while(c = *sp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2349:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *sp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2349:12: note: place parentheses around the assignment to silence this warning while(c = *sp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2349:12: note: use '==' to turn this assignment into an equality comparison while(c = *sp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2361:47: warning: expression result unused [-Wunused-value] if(mbwide() && n!=S_MBYTE && (len=mbsize(cp-1))>1) ~~^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2384:19: warning: expression result unused [-Wunused-value] n = mbsize(cp-1) - 1; ~~^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2399:20: warning: expression result unused [-Wunused-value] n = mbsize(cp-1) - 1; ~~^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2427:12: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2427:12: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2433:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2433:12: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2433:12: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2505:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_MAXIMAL)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2505:7: note: place parentheses around the assignment to silence this warning if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_MAXIMAL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2505:7: note: use '==' to turn this assignment into an equality comparison if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_MAXIMAL)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2520:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_LEFT|STR_MAXIMAL)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2520:7: note: place parentheses around the assignment to silence this warning if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_LEFT|STR_MAXIMAL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2520:7: note: use '==' to turn this assignment into an equality comparison if(n=strgrpmatch(sp,pat,smatch,elementsof(smatch)/2,STR_RIGHT|STR_LEFT|STR_MAXIMAL)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2548:17: warning: expression result unused [-Wunused-value] if((c=mbsize(str))<0) ^~~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2630:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ptr = sfreserve(iop, SF_UNBOUND, -1)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2630:9: note: place parentheses around the assignment to silence this warning if(ptr = sfreserve(iop, SF_UNBOUND, -1)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2630:9: note: use '==' to turn this assignment into an equality comparison if(ptr = sfreserve(iop, SF_UNBOUND, -1)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2713:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np=nv_search(string,logins_tree,NV_ADD)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2713:7: note: place parentheses around the assignment to silence this warning if(np=nv_search(string,logins_tree,NV_ADD)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2713:7: note: use '==' to turn this assignment into an equality comparison if(np=nv_search(string,logins_tree,NV_ADD)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2788:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2788:10: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/macro.c:2788:10: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == 32 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making macro.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_OPTIMIZE -DSHOPT_FIXEDARRAY -DSHOPT_NAMESPACE -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_TYPEDEF -DSHOPT_STATS -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:31: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:31: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:31: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:31: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:31: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:174:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(sp= strchr(cp,'[')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:174:10: note: place parentheses around the assignment to silence this warning while(sp= strchr(cp,'[')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:174:10: note: use '==' to turn this assignment into an equality comparison while(sp= strchr(cp,'[')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:180:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *sp++) ~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:180:10: note: place parentheses around the assignment to silence this warning while(c= *sp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:180:10: note: use '==' to turn this assignment into an equality comparison while(c= *sp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:479:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp= *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:479:16: note: place parentheses around the assignment to silence this warning while(cp= *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:479:16: note: use '==' to turn this assignment into an equality comparison while(cp= *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:601:28: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(!tp->lst.lstlef || !tp->lst.lstlef->tre.tretyp==TCOM || tp->lst.lstlef->com.comarg || tp->lst.lstlef->com.comset && tp->lst.lstlef->com.comset->argval[0]!='[') ^ ~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:601:28: note: add parentheses after the '!' to evaluate the comparison first if(!tp->lst.lstlef || !tp->lst.lstlef->tre.tretyp==TCOM || tp->lst.lstlef->com.comarg || tp->lst.lstlef->com.comset && tp->lst.lstlef->com.comset->argval[0]!='[') ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:601:28: note: add parentheses around left hand side expression to silence this warning if(!tp->lst.lstlef || !tp->lst.lstlef->tre.tretyp==TCOM || tp->lst.lstlef->com.comarg || tp->lst.lstlef->com.comset && tp->lst.lstlef->com.comset->argval[0]!='[') ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:601:122: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!tp->lst.lstlef || !tp->lst.lstlef->tre.tretyp==TCOM || tp->lst.lstlef->com.comarg || tp->lst.lstlef->com.comset && tp->lst.lstlef->com.comset->argval[0]!='[') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:601:122: note: place parentheses around the '&&' expression to silence this warning if(!tp->lst.lstlef || !tp->lst.lstlef->tre.tretyp==TCOM || tp->lst.lstlef->com.comarg || tp->lst.lstlef->com.comset && tp->lst.lstlef->com.comset->argval[0]!='[') ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:637:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=lastdot(sp,'=')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:637:9: note: place parentheses around the assignment to silence this warning if(cp=lastdot(sp,'=')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:637:9: note: use '==' to turn this assignment into an equality comparison if(cp=lastdot(sp,'=')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:694:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *sub++) ~^~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:694:9: note: place parentheses around the assignment to silence this warning while(c= *sub++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:694:9: note: use '==' to turn this assignment into an equality comparison while(c= *sub++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:827:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np = nv_search(name,shp->var_tree,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:827:11: note: place parentheses around the assignment to silence this warning if(np = nv_search(name,shp->var_tree,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:827:11: note: use '==' to turn this assignment into an equality comparison if(np = nv_search(name,shp->var_tree,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1122:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*dp++=*cp++); ~~~~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1122:20: note: place parentheses around the assignment to silence this warning while(*dp++=*cp++); ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1122:20: note: use '==' to turn this assignment into an equality comparison while(*dp++=*cp++); ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1228:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(np=nq) ~~^~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1228:17: note: place parentheses around the assignment to silence this warning else if(np=nq) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1228:17: note: use '==' to turn this assignment into an equality comparison else if(np=nq) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1286:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(rp = (struct Namref*)dtmatch(Refdict,(void*)key)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1286:13: note: place parentheses around the assignment to silence this warning while(rp = (struct Namref*)dtmatch(Refdict,(void*)key)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1286:13: note: use '==' to turn this assignment into an equality comparison while(rp = (struct Namref*)dtmatch(Refdict,(void*)key)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1395:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c= *--cp) ~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1395:7: note: place parentheses around the assignment to silence this warning if(c= *--cp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1395:7: note: use '==' to turn this assignment into an equality comparison if(c= *--cp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1412:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c= !isaletter(c)) ~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1412:6: note: place parentheses around the assignment to silence this warning if(c= !isaletter(c)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1412:6: note: use '==' to turn this assignment into an equality comparison if(c= !isaletter(c)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1537:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap=nv_arrayptr(np)) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1537:10: note: place parentheses around the assignment to silence this warning if(ap=nv_arrayptr(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1537:10: note: use '==' to turn this assignment into an equality comparison if(ap=nv_arrayptr(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1539:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp=nv_opensub(np)) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1539:11: note: place parentheses around the assignment to silence this warning if(mp=nv_opensub(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1539:11: note: use '==' to turn this assignment into an equality comparison if(mp=nv_opensub(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1862:37: warning: for loop has empty body [-Wempty-body] for(;*sp == ' '|| *sp=='\t';sp++); ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:1862:37: note: put the semicolon on a separate line to silence this warning /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2202:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(value=nv_getval(np)) ~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2202:15: note: place parentheses around the assignment to silence this warning else if(value=nv_getval(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2202:15: note: use '==' to turn this assignment into an equality comparison else if(value=nv_getval(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2393:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = nv_getval(np)) ~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2393:9: note: place parentheses around the assignment to silence this warning if(cp = nv_getval(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2393:9: note: use '==' to turn this assignment into an equality comparison if(cp = nv_getval(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2432:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq=dtsearch(oroot,np)) ~~^~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2432:8: note: place parentheses around the assignment to silence this warning if(nq=dtsearch(oroot,np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2432:8: note: use '==' to turn this assignment into an equality comparison if(nq=dtsearch(oroot,np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2523:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(rq = (struct Ufunction*)dtnext(shp->fpathdict,rq)); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2523:14: note: place parentheses around the assignment to silence this warning while(rq = (struct Ufunction*)dtnext(shp->fpathdict,rq)); ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2523:14: note: use '==' to turn this assignment into an equality comparison while(rq = (struct Ufunction*)dtnext(shp->fpathdict,rq)); ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2714:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(op = opt_free) ~~~^~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2714:9: note: place parentheses around the assignment to silence this warning if(op = opt_free) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:2714:9: note: use '==' to turn this assignment into an equality comparison if(op = opt_free) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3056:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = nv_getval(np)) ~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3056:10: note: place parentheses around the assignment to silence this warning if (sp = nv_getval(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3056:10: note: use '==' to turn this assignment into an equality comparison if (sp = nv_getval(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3118:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *av++) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3118:11: note: place parentheses around the assignment to silence this warning while(cp = *av++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3118:11: note: use '==' to turn this assignment into an equality comparison while(cp = *av++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3213:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= mbchar(cp)) ~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3213:9: note: place parentheses around the assignment to silence this warning while(c= mbchar(cp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3213:9: note: use '==' to turn this assignment into an equality comparison while(c= mbchar(cp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3256:51: warning: '&&' within '||' [-Wlogical-op-parentheses] if(nvenv || (cp = nv_name(np)) && nv_isarray(np) && cp[strlen(cp)-1] == ']') ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3256:51: note: place parentheses around the '&&' expression to silence this warning if(nvenv || (cp = nv_name(np)) && nv_isarray(np) && cp[strlen(cp)-1] == ']') ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3296:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp = nv_open(sfstruse(shp->strbuf),shp->var_tree,NV_VARNAME|NV_ADD|NV_ARRAY)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3296:9: note: place parentheses around the assignment to silence this warning if(mp = nv_open(sfstruse(shp->strbuf),shp->var_tree,NV_VARNAME|NV_ADD|NV_ARRAY)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3296:9: note: use '==' to turn this assignment into an equality comparison if(mp = nv_open(sfstruse(shp->strbuf),shp->var_tree,NV_VARNAME|NV_ADD|NV_ARRAY)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3298:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap = nv_arrayptr(np)) ~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3298:10: note: place parentheses around the assignment to silence this warning if(ap = nv_arrayptr(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3298:10: note: use '==' to turn this assignment into an equality comparison if(ap = nv_arrayptr(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3312:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = nv_getval(np)) ~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3312:9: note: place parentheses around the assignment to silence this warning if(cp = nv_getval(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3312:9: note: use '==' to turn this assignment into an equality comparison if(cp = nv_getval(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3334:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap=nv_arrayptr(np)) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3334:8: note: place parentheses around the assignment to silence this warning if(ap=nv_arrayptr(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3334:8: note: use '==' to turn this assignment into an equality comparison if(ap=nv_arrayptr(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3459:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq = nv_opensub(nr)) ~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3459:10: note: place parentheses around the assignment to silence this warning if(nq = nv_opensub(nr)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3459:10: note: use '==' to turn this assignment into an equality comparison if(nq = nv_opensub(nr)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3512:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(sp = sp->prevst) ~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3512:13: note: place parentheses around the assignment to silence this warning while(sp = sp->prevst) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/name.c:3512:13: note: use '==' to turn this assignment into an equality comparison while(sp = sp->prevst) ^ == 34 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making name.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_FIXEDARRAY -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:33: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:74:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(fp=fp->next) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:74:10: note: place parentheses around the assignment to silence this warning while(fp=fp->next) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:74:10: note: use '==' to turn this assignment into an equality comparison while(fp=fp->next) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:78:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np=(*fp->disc->createf)(np,name,flag,fp)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:78:9: note: place parentheses around the assignment to silence this warning if(np=(*fp->disc->createf)(np,name,flag,fp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:78:9: note: use '==' to turn this assignment into an equality comparison if(np=(*fp->disc->createf)(np,name,flag,fp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:119:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(cp=(char*)str;c= *cp; cp++) ~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:119:21: note: place parentheses around the assignment to silence this warning for(cp=(char*)str;c= *cp; cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:119:21: note: use '==' to turn this assignment into an equality comparison for(cp=(char*)str;c= *cp; cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:187:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp->hp = (Namval_t*)dtprev(dp->root,&fake)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:187:13: note: place parentheses around the assignment to silence this warning if(dp->hp = (Namval_t*)dtprev(dp->root,&fake)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:187:13: note: use '==' to turn this assignment into an equality comparison if(dp->hp = (Namval_t*)dtprev(dp->root,&fake)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:208:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(next= nextdot(last)) ~~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:208:15: note: place parentheses around the assignment to silence this warning else if(next= nextdot(last)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:208:15: note: use '==' to turn this assignment into an equality comparison else if(next= nextdot(last)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:221:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nq = nv_opensub(np)) ~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:221:12: note: place parentheses around the assignment to silence this warning if(nq = nv_opensub(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:221:12: note: use '==' to turn this assignment into an equality comparison if(nq = nv_opensub(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:283:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(np=dp->hp) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:283:11: note: place parentheses around the assignment to silence this warning while(np=dp->hp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:283:11: note: use '==' to turn this assignment into an equality comparison while(np=dp->hp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:399:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=strrchr(cp,'.')) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:399:8: note: place parentheses around the assignment to silence this warning if(cp=strrchr(cp,'.')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:399:8: note: use '==' to turn this assignment into an equality comparison if(cp=strrchr(cp,'.')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:459:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = strrchr(cp,'.')) ~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:459:11: note: place parentheses around the assignment to silence this warning if(cp = strrchr(cp,'.')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:459:11: note: use '==' to turn this assignment into an equality comparison if(cp = strrchr(cp,'.')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:731:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = nv_stack(np,NIL(Namfun_t*))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:731:10: note: place parentheses around the assignment to silence this warning if(fp = nv_stack(np,NIL(Namfun_t*))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:731:10: note: use '==' to turn this assignment into an equality comparison if(fp = nv_stack(np,NIL(Namfun_t*))) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:821:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(cp=nextdot(prefix)) ~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:821:12: note: place parentheses around the assignment to silence this warning else if(cp=nextdot(prefix)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:821:12: note: use '==' to turn this assignment into an equality comparison else if(cp=nextdot(prefix)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:835:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; arg= *argv; argv++) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:835:11: note: place parentheses around the assignment to silence this warning for(; arg= *argv; argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:835:11: note: use '==' to turn this assignment into an equality comparison for(; arg= *argv; argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:850:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nextcp=nextdot(cp)) ~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:850:13: note: place parentheses around the assignment to silence this warning if(nextcp=nextdot(cp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:850:13: note: use '==' to turn this assignment into an equality comparison if(nextcp=nextdot(cp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:867:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp = strrchr(tp->nvname,'.')) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:867:13: note: place parentheses around the assignment to silence this warning if(sp = strrchr(tp->nvname,'.')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:867:13: note: use '==' to turn this assignment into an equality comparison if(sp = strrchr(tp->nvname,'.')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1012:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = nv_dirnext(dir)) ~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1012:11: note: place parentheses around the assignment to silence this warning while(cp = nv_dirnext(dir)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1012:11: note: use '==' to turn this assignment into an equality comparison while(cp = nv_dirnext(dir)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1105:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(flags = nv_isattr(np,NV_EXPORT)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1105:11: note: place parentheses around the assignment to silence this warning if(flags = nv_isattr(np,NV_EXPORT)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1105:11: note: use '==' to turn this assignment into an equality comparison if(flags = nv_isattr(np,NV_EXPORT)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1107:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(flags |= nv_isattr(np,NV_TABLE)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1107:11: note: place parentheses around the assignment to silence this warning if(flags |= nv_isattr(np,NV_TABLE)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1107:11: note: use '!=' to turn this compound assignment into an inequality comparison if(flags |= nv_isattr(np,NV_TABLE)) ^~ != /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1145:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ap= nv_arrayptr(np)) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1145:7: note: place parentheses around the assignment to silence this warning if(ap= nv_arrayptr(np)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1145:7: note: use '==' to turn this assignment into an equality comparison if(ap= nv_arrayptr(np)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1150:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = nv_stack(np,NIL(Namfun_t*))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1150:9: note: place parentheses around the assignment to silence this warning if(fp = nv_stack(np,NIL(Namfun_t*))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/nvtree.c:1150:9: note: use '==' to turn this assignment into an equality comparison if(fp = nv_stack(np,NIL(Namfun_t*))) ^ == 22 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making nvtree.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -D_BLD_shell -DSHOPT_STATS -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_KIA -DSHOPT_DYNAMIC -DKSHELL -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:39: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:39: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:39: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:39: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:39: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:130:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(argp = argp->argnxt.ap) ~~~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:130:14: note: place parentheses around the assignment to silence this warning while(argp = argp->argnxt.ap) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:130:14: note: use '==' to turn this assignment into an equality comparison while(argp = argp->argnxt.ap) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:175:46: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(cp=(unsigned char*)"bflmnprstuxACHS";c = *cp; cp++) ~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:175:46: note: place parentheses around the assignment to silence this warning for(cp=(unsigned char*)"bflmnprstuxACHS";c = *cp; cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:175:46: note: use '==' to turn this assignment into an equality comparison for(cp=(unsigned char*)"bflmnprstuxACHS";c = *cp; cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:177:41: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(cp=(unsigned char*)"aiEFLRXhTZ";c = *cp; cp++) ~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:177:41: note: place parentheses around the assignment to silence this warning for(cp=(unsigned char*)"aiEFLRXhTZ";c = *cp; cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:177:41: note: use '==' to turn this assignment into an equality comparison for(cp=(unsigned char*)"aiEFLRXhTZ";c = *cp; cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:182:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(cp=(unsigned char*)str; c= *cp++; n=table[c]) ~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:182:31: note: place parentheses around the assignment to silence this warning for(cp=(unsigned char*)str; c= *cp++; n=table[c]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:182:31: note: use '==' to turn this assignment into an equality comparison for(cp=(unsigned char*)str; c= *cp++; n=table[c]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:198:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(ap = ap->argnxt.ap) ~~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:198:12: note: place parentheses around the assignment to silence this warning while(ap = ap->argnxt.ap) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:198:12: note: use '==' to turn this assignment into an equality comparison while(ap = ap->argnxt.ap) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:257:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *str++) ~^~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:257:9: note: place parentheses around the assignment to silence this warning while(c= *str++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:257:9: note: use '==' to turn this assignment into an equality comparison while(c= *str++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:472:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(slpold=slp) ~~~~~~^~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:472:14: note: place parentheses around the assignment to silence this warning while(slpold=slp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:472:14: note: use '==' to turn this assignment into an equality comparison while(slpold=slp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:522:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(right=sh_cmd(lexp,sym,flag|SH_EMPTY)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:522:11: note: place parentheses around the assignment to silence this warning if(right=sh_cmd(lexp,sym,flag|SH_EMPTY)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:522:11: note: use '==' to turn this assignment into an equality comparison if(right=sh_cmd(lexp,sym,flag|SH_EMPTY)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:589:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tt=term(lexp,SH_NL)) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:589:8: note: place parentheses around the assignment to silence this warning if(tt=term(lexp,SH_NL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:589:8: note: use '==' to turn this assignment into an equality comparison if(tt=term(lexp,SH_NL)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:823:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp= *argv++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:823:12: note: place parentheses around the assignment to silence this warning while(cp= *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:823:12: note: use '==' to turn this assignment into an equality comparison while(cp= *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:878:34: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(cp=(char*)&argv[nargs]; sp= *old++; cp++) ~~^~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:878:34: note: place parentheses around the assignment to silence this warning for(cp=(char*)&argv[nargs]; sp= *old++; cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:878:34: note: use '==' to turn this assignment into an equality comparison for(cp=(char*)&argv[nargs]; sp= *old++; cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:995:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(aq=ac->comarg) ~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:995:9: note: place parentheses around the assignment to silence this warning if(aq=ac->comarg) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:995:9: note: use '==' to turn this assignment into an equality comparison if(aq=ac->comarg) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:1323:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tok=sh_lex(lexp)) ~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:1323:9: note: place parentheses around the assignment to silence this warning if(tok=sh_lex(lexp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:1323:9: note: use '==' to turn this assignment into an equality comparison if(tok=sh_lex(lexp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:1363:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(io=inout(lexp,io,0)) ~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:1363:7: note: place parentheses around the assignment to silence this warning if(io=inout(lexp,io,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:1363:7: note: use '==' to turn this assignment into an equality comparison if(io=inout(lexp,io,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:1725:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(token=sh_lex(lexp)) ~~~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:1725:10: note: place parentheses around the assignment to silence this warning if(token=sh_lex(lexp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/parse.c:1725:10: note: use '==' to turn this assignment into an equality comparison if(token=sh_lex(lexp)) ^ == 18 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making parse.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_SUID_EXEC -DSHOPT_DYNAMIC -DSHOPT_NAMESPACE -DSHOPT_PFSH -DSHOPT_STATS -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_BGX -DKSHELL -DSHOPT_BRACEPAT -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:163:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(ev=envp; cp= *ev; ev++) ~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:163:17: note: place parentheses around the assignment to silence this warning for(ev=envp; cp= *ev; ev++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:163:17: note: use '==' to turn this assignment into an equality comparison for(ev=envp; cp= *ev; ev++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:167:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(av=avlast; cp= *av; av++,nlast++) ~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:167:19: note: place parentheses around the assignment to silence this warning for(av=avlast; cp= *av; av++,nlast++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:167:19: note: use '==' to turn this assignment into an equality comparison for(av=avlast; cp= *av; av++,nlast++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:191:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(xv=avlast; cp= *xv; xv++) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:191:21: note: place parentheses around the assignment to silence this warning for(xv=avlast; cp= *xv; xv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:191:21: note: use '==' to turn this assignment into an equality comparison for(xv=avlast; cp= *xv; xv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:263:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=getcwd(NIL(char*),0)) ~~^~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:263:10: note: place parentheses around the assignment to silence this warning if(cp=getcwd(NIL(char*),0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:263:10: note: use '==' to turn this assignment into an equality comparison if(cp=getcwd(NIL(char*),0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:463:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:463:8: note: place parentheses around the assignment to silence this warning if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:463:8: note: use '==' to turn this assignment into an equality comparison if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:473:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:473:8: note: place parentheses around the assignment to silence this warning if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:473:8: note: use '==' to turn this assignment into an equality comparison if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:493:9: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!pp && (!(sh_scoped(shp,PATHNOD)->nvalue.cp)) || sh_isstate(SH_DEFPATH)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:493:9: note: place parentheses around the '&&' expression to silence this warning if(!pp && (!(sh_scoped(shp,PATHNOD)->nvalue.cp)) || sh_isstate(SH_DEFPATH)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:723:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np=nv_search(name,shp->track_tree,NV_ADD)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:723:8: note: place parentheses around the assignment to silence this warning if(np=nv_search(name,shp->track_tree,NV_ADD)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:723:8: note: use '==' to turn this assignment into an equality comparison if(np=nv_search(name,shp->track_tree,NV_ADD)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:748:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(oldpp=pp) ~~~~~^~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:748:14: note: place parentheses around the assignment to silence this warning while(oldpp=pp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:748:14: note: use '==' to turn this assignment into an equality comparison while(oldpp=pp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:781:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(bp = oldpp->blib) ~~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:781:13: note: place parentheses around the assignment to silence this warning while(bp = oldpp->blib) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:781:13: note: use '==' to turn this assignment into an equality comparison while(bp = oldpp->blib) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:786:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = strchr(bp, ':')) ~~~^~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:786:11: note: place parentheses around the assignment to silence this warning if(fp = strchr(bp, ':')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:786:11: note: use '==' to turn this assignment into an equality comparison if(fp = strchr(bp, ':')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:810:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp = strrchr(stakptr(m),'/')) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:810:11: note: place parentheses around the assignment to silence this warning if(cp = strrchr(stakptr(m),'/')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:810:11: note: use '==' to turn this assignment into an equality comparison if(cp = strrchr(stakptr(m),'/')) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:815:25: warning: implicit declaration of function 'dlllook' is invalid in C99 [-Wimplicit-function-declaration] (addr=(Shbltin_f)dlllook((void*)0,stakptr(n))) && ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:815:14: warning: cast to 'Shbltin_f' (aka 'int (*)(int, char **, struct Shbltin_s *)') from smaller integer type 'int' [-Wint-to-pointer-cast] (addr=(Shbltin_f)dlllook((void*)0,stakptr(n))) && ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:826:15: warning: implicit declaration of function 'dllplugin' is invalid in C99 [-Wimplicit-function-declaration] if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:826:73: error: use of undeclared identifier 'RTLD_LAZY' if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:850:14: warning: cast to 'Shbltin_f' (aka 'int (*)(int, char **, struct Shbltin_s *)') from smaller integer type 'int' [-Wint-to-pointer-cast] (addr=(Shbltin_f)dlllook(dll,stakptr(n))) && ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1025:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(libpath=pp) ~~~~~~~^~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1025:13: note: place parentheses around the assignment to silence this warning if(libpath=pp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1025:13: note: use '==' to turn this assignment into an equality comparison if(libpath=pp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1098:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(libenv = path_lib(shp,libpath,path)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1098:14: note: place parentheses around the assignment to silence this warning if(libenv = path_lib(shp,libpath,path)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1098:14: note: use '==' to turn this assignment into an equality comparison if(libenv = path_lib(shp,libpath,path)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1120:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (s = *xp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1120:12: note: place parentheses around the assignment to silence this warning while (s = *xp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1120:12: note: use '==' to turn this assignment into an equality comparison while (s = *xp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1272:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp=fcfile()) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1272:7: note: place parentheses around the assignment to silence this warning if(sp=fcfile()) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1272:7: note: use '==' to turn this assignment into an equality comparison if(sp=fcfile()) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1536:20: warning: '&&' within '||' [-Wlogical-op-parentheses] if(m==0 || m==6 && memcmp((void*)sp,(void*)"FPATH=",m)==0) ~~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1536:20: note: place parentheses around the '&&' expression to silence this warning if(m==0 || m==6 && memcmp((void*)sp,(void*)"FPATH=",m)==0) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1622:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1622:8: note: place parentheses around the assignment to silence this warning if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1622:8: note: use '==' to turn this assignment into an equality comparison if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1680:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(pq=pp;pq=pq->next;) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1680:15: note: place parentheses around the assignment to silence this warning for(pq=pp;pq=pq->next;) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/path.c:1680:15: note: use '==' to turn this assignment into an equality comparison for(pq=pp;pq=pq->next;) ^ == 23 warnings and 1 error generated. mamake [cmd/ksh93]: *** exit code 1 making path.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:27: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:27: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:27: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:27: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:27: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:100:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(no = *t=='n' && *(t+1)=='o' && *(t+2)!='t') ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:100:9: note: place parentheses around the assignment to silence this warning if(no = *t=='n' && *(t+1)=='o' && *(t+2)!='t') ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:100:9: note: use '==' to turn this assignment into an equality comparison if(no = *t=='n' && *(t+1)=='o' && *(t+2)!='t') ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:200:19: warning: expression result unused [-Wunused-value] int c = mbsize(sp); ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:248:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *sp) ~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:248:10: note: place parentheses around the assignment to silence this warning while(c= *sp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:248:10: note: use '==' to turn this assignment into an equality comparison while(c= *sp) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:252:31: warning: expression result unused [-Wunused-value] if(mbwide() && (len=mbsize(sp))>1) ^~ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast.h:200:65: note: expanded from macro 'mbsize' #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:283:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; c= *((unsigned char*)str1); str1++,str2++) ~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:283:9: note: place parentheses around the assignment to silence this warning for(; c= *((unsigned char*)str1); str1++,str2++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:283:9: note: use '==' to turn this assignment into an equality comparison for(; c= *((unsigned char*)str1); str1++,str2++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:312:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c=mbchar(cp)) ~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:312:9: note: place parentheses around the assignment to silence this warning while(c=mbchar(cp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:312:9: note: use '==' to turn this assignment into an equality comparison while(c=mbchar(cp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:375:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c = --cp - string) ~~^~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:375:8: note: place parentheses around the assignment to silence this warning if(c = --cp - string) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:375:8: note: use '==' to turn this assignment into an equality comparison if(c = --cp - string) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:478:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!cp || !*cp || !fold || fold && strlen(string) < fold) ~~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:478:35: note: place parentheses around the '&&' expression to silence this warning if (!cp || !*cp || !fold || fold && strlen(string) < fold) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:514:36: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((c == '#' || c == '~') && cp == vp || c == ']' || c != ':' && (c = sh_lexstates[ST_NORM][c]) && c != S_EPAT) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:514:36: note: place parentheses around the '&&' expression to silence this warning else if ((c == '#' || c == '~') && cp == vp || c == ']' || c != ':' && (c = sh_lexstates[ST_NORM][c]) && c != S_EPAT) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:514:106: warning: '&&' within '||' [-Wlogical-op-parentheses] else if ((c == '#' || c == '~') && cp == vp || c == ']' || c != ':' && (c = sh_lexstates[ST_NORM][c]) && c != S_EPAT) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:514:106: note: place parentheses around the '&&' expression to silence this warning else if ((c == '#' || c == '~') && cp == vp || c == ']' || c != ':' && (c = sh_lexstates[ST_NORM][c]) && c != S_EPAT) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:524:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = mbchar(cp)) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:524:13: note: place parentheses around the assignment to silence this warning while (c = mbchar(cp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:524:13: note: use '==' to turn this assignment into an equality comparison while (c = mbchar(cp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:604:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = mbchar(cp)) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:604:13: note: place parentheses around the assignment to silence this warning while (c = mbchar(cp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:604:13: note: use '==' to turn this assignment into an equality comparison while (c = mbchar(cp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:638:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (n = fold) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:638:14: note: place parentheses around the assignment to silence this warning else if (n = fold) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:638:14: note: use '==' to turn this assignment into an equality comparison else if (n = fold) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:641:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = mbchar(cp)) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:641:13: note: place parentheses around the assignment to silence this warning while (c = mbchar(cp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:641:13: note: use '==' to turn this assignment into an equality comparison while (c = mbchar(cp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:673:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = mbchar(cp)) ~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:673:11: note: place parentheses around the assignment to silence this warning while(c = mbchar(cp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/string.c:673:11: note: use '==' to turn this assignment into an equality comparison while(c = mbchar(cp)) ^ == 18 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making string.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:187:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *cp++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:187:10: note: place parentheses around the assignment to silence this warning while(c = *cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:187:10: note: use '==' to turn this assignment into an equality comparison while(c = *cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:244:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(node.flag = c) ~~~~~~~~~~^~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:244:17: note: place parentheses around the assignment to silence this warning if(node.flag = c) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:244:17: note: use '==' to turn this assignment into an equality comparison if(node.flag = c) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:865:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(vp->errmsg.value = lvalue.value) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:865:25: note: place parentheses around the assignment to silence this warning if(vp->errmsg.value = lvalue.value) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:865:25: note: use '==' to turn this assignment into an equality comparison if(vp->errmsg.value = lvalue.value) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:960:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(offset=staktell()) ~~~~~~^~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:960:11: note: place parentheses around the assignment to silence this warning if(offset=staktell()) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/streval.c:960:11: note: use '==' to turn this assignment into an equality comparison if(offset=staktell()) ^ == 4 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_COSHELL -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_DYNAMIC -DSHOPT_BGX -DSHOPT_KIA -DKSHELL -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:34: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:34: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:34: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:34: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:34: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:145:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(off = sftell(sfstdout)) ~~~~^~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:145:11: note: place parentheses around the assignment to silence this warning if(off = sftell(sfstdout)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:145:11: note: use '==' to turn this assignment into an equality comparison if(off = sftell(sfstdout)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:146:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(fds[1],sfsetbuf(sfstdout,(Void_t*)sfstdout,0),(size_t)off); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:193:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pid = sh_fork(shp,FSHOWME,NIL(int*))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:193:9: note: place parentheses around the assignment to silence this warning if(pid = sh_fork(shp,FSHOWME,NIL(int*))) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:193:9: note: use '==' to turn this assignment into an equality comparison if(pid = sh_fork(shp,FSHOWME,NIL(int*))) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:282:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(mp=mpnext) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:282:11: note: place parentheses around the assignment to silence this warning while(mp=mpnext) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:282:11: note: use '==' to turn this assignment into an equality comparison while(mp=mpnext) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:487:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(argsav = sh_arguse(shp)) ~~~~~~~^~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:487:12: note: place parentheses around the assignment to silence this warning if(argsav = sh_arguse(shp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/subshell.c:487:12: note: use '==' to turn this assignment into an equality comparison if(argsav = sh_arguse(shp)) ^ == 8 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making subshell.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_shell -DKSHELL -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/tdump.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/tdump.c:234:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv) ~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/tdump.c:234:11: note: place parentheses around the assignment to silence this warning while(cp = *argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/tdump.c:234:11: note: use '==' to turn this assignment into an equality comparison while(cp = *argv) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/tdump.c:239:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/tdump.c:239:12: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/tdump.c:239:12: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == 2 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/timers.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/timers.c:189:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tp=tpfree) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/timers.c:189:7: note: place parentheses around the assignment to silence this warning if(tp=tpfree) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/timers.c:189:7: note: use '==' to turn this assignment into an equality comparison if(tp=tpfree) ^ == 1 warning generated. + cc -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_BLD_shell -DKSHELL -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/trestore.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/trestore.c:245:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(iop->iodelim = r_string(shp->stk)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/trestore.c:245:19: note: place parentheses around the assignment to silence this warning if(iop->iodelim = r_string(shp->stk)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/trestore.c:245:19: note: use '==' to turn this assignment into an equality comparison if(iop->iodelim = r_string(shp->stk)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/trestore.c:281:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(com->comarg = (struct argnod*)r_comlist(shp)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/trestore.c:281:22: note: place parentheses around the assignment to silence this warning else if(com->comarg = (struct argnod*)r_comlist(shp)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/trestore.c:281:22: note: use '==' to turn this assignment into an equality comparison else if(com->comarg = (struct argnod*)r_comlist(shp)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/trestore.c:311:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*argv++ = r_string(shp->stk)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/trestore.c:311:17: note: place parentheses around the assignment to silence this warning while(*argv++ = r_string(shp->stk)); ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/trestore.c:311:17: note: use '==' to turn this assignment into an equality comparison while(*argv++ = r_string(shp->stk)); ^ == 3 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/waitevent.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_BGX -DSHOPT_TYPEDEF -DSHOPT_PFSH -DSHOPT_FILESCAN -DSHOPT_COSHELL -DSHOPT_NAMESPACE -DSHOPT_OPTIMIZE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_HISTEXPAND -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DSHOPT_DYNAMIC -DKSHELL -DSHOPT_SUID_EXEC -DSHOPT_BRACEPAT -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:126:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(subdup=shp->subdup) for(i=0; i < 10; i++) ~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:126:11: note: place parentheses around the assignment to silence this warning if(subdup=shp->subdup) for(i=0; i < 10; i++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:126:11: note: use '==' to turn this assignment into an equality comparison if(subdup=shp->subdup) for(i=0; i < 10; i++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:199:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(hr=t/60) ~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:199:7: note: place parentheses around the assignment to silence this warning if(hr=t/60) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:199:7: note: use '==' to turn this assignment into an equality comparison if(hr=t/60) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:213:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(first=format ; c= *format; format++) ~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:213:22: note: place parentheses around the assignment to silence this warning for(first=format ; c= *format; format++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:213:22: note: use '==' to turn this assignment into an equality comparison for(first=format ; c= *format; format++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:232:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(d=tm[0]) ~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:232:8: note: place parentheses around the assignment to silence this warning if(d=tm[0]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:232:8: note: use '==' to turn this assignment into an equality comparison if(d=tm[0]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:472:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(sp = sh_getscope(level,SEEK_SET)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:472:8: note: place parentheses around the assignment to silence this warning if(sp = sh_getscope(level,SEEK_SET)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:472:8: note: use '==' to turn this assignment into an equality comparison if(sp = sh_getscope(level,SEEK_SET)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:528:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:528:11: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:528:11: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:597:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(traceon=sh_isoption(SH_XTRACE)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:597:14: note: place parentheses around the assignment to silence this warning if(traceon=sh_isoption(SH_XTRACE)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:597:14: note: use '==' to turn this assignment into an equality comparison if(traceon=sh_isoption(SH_XTRACE)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:643:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *++argv) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:643:11: note: place parentheses around the assignment to silence this warning while(cp = *++argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:643:11: note: use '==' to turn this assignment into an equality comparison while(cp = *++argv) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:801:3: warning: expression result unused [-Wunused-value] (Namval_t*)dtinsert(shp->inpool,np); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:877:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cjp=coexec(csp->coshell,str,0,NULL,NULL,NULL)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:877:8: note: place parentheses around the assignment to silence this warning if(cjp=coexec(csp->coshell,str,0,NULL,NULL,NULL)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:877:8: note: use '==' to turn this assignment into an equality comparison if(cjp=coexec(csp->coshell,str,0,NULL,NULL,NULL)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1043:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mp = sh_fsearch(shp,com[0],0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1043:11: note: place parentheses around the assignment to silence this warning if(mp = sh_fsearch(shp,com[0],0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1043:11: note: use '==' to turn this assignment into an equality comparison if(mp = sh_fsearch(shp,com[0],0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1074:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(io=t->tre.treio) ~~^~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1074:10: note: place parentheses around the assignment to silence this warning if(io=t->tre.treio) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1074:10: note: use '==' to turn this assignment into an equality comparison if(io=t->tre.treio) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1079:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(argv=com+1; cp= *argv; argv++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1079:24: note: place parentheses around the assignment to silence this warning for(argv=com+1; cp= *argv; argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1079:24: note: use '==' to turn this assignment into an equality comparison for(argv=com+1; cp= *argv; argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1136:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(shp->envlist = argp = t->com.comset) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1136:20: note: place parentheses around the assignment to silence this warning if(shp->envlist = argp = t->com.comset) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1136:20: note: use '==' to turn this assignment into an equality comparison if(shp->envlist = argp = t->com.comset) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1248:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trap[SH_DEBUGTRAP]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1248:12: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1248:12: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1707:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(job.parent=parent) ~~~~~~~~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1707:17: note: place parentheses around the assignment to silence this warning if(job.parent=parent) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1707:17: note: use '==' to turn this assignment into an equality comparison if(job.parent=parent) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:1793:6: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] nice(4); ^~~~ ~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2158:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(job.waitall = waitall) ~~~~~~~~~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2158:19: note: place parentheses around the assignment to silence this warning if(job.waitall = waitall) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2158:19: note: use '==' to turn this assignment into an equality comparison if(job.waitall = waitall) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2304:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(type = *cp++) ~~~~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2304:18: note: place parentheses around the assignment to silence this warning while(type = *cp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2304:18: note: use '==' to turn this assignment into an equality comparison while(type = *cp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2324:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trap[SH_DEBUGTRAP]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2324:12: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2324:12: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2471:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] dup(savein); ^~~ ~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2489:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trap[SH_DEBUGTRAP]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2489:11: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2489:11: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2527:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trap[SH_DEBUGTRAP]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2527:11: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2527:11: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2847:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(trap=shp->st.trap[SH_DEBUGTRAP]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2847:12: note: place parentheses around the assignment to silence this warning if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2847:12: note: use '==' to turn this assignment into an equality comparison if(trap=shp->st.trap[SH_DEBUGTRAP]) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2910:6: warning: '&&' within '||' [-Wlogical-op-parentheses] t && echeck) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2910:6: note: place parentheses around the '&&' expression to silence this warning t && echeck) ^ ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2994:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *s++) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2994:10: note: place parentheses around the assignment to silence this warning while(c = *s++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:2994:10: note: use '==' to turn this assignment into an equality comparison while(c = *s++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3033:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if(*(cp=argv[0])=='[' && (!cp[1] || !cp[2]&&cp[1]=='[')) ~~ ~~~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3033:46: note: place parentheses around the '&&' expression to silence this warning if(*(cp=argv[0])=='[' && (!cp[1] || !cp[2]&&cp[1]=='[')) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3038:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *argv++) ~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3038:13: note: place parentheses around the assignment to silence this warning while(cp = *argv++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3038:13: note: use '==' to turn this assignment into an equality comparison while(cp = *argv++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3305:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(mp= *nr++) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3305:10: note: place parentheses around the assignment to silence this warning while(mp= *nr++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3305:10: note: use '==' to turn this assignment into an equality comparison while(mp= *nr++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3412:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(nref=fp->nref) ~~~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3412:11: note: place parentheses around the assignment to silence this warning if(nref=fp->nref) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/xec.c:3412:11: note: use '==' to turn this assignment into an equality comparison if(nref=fp->nref) ^ == 30 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/env.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/env.c:138:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(vp = ep->freelist) ~~~^~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/env.c:138:9: note: place parentheses around the assignment to silence this warning if(vp = ep->freelist) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/env.c:138:9: note: use '==' to turn this assignment into an equality comparison if(vp = ep->freelist) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/env.c:140:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(vp = newof((Evar_t*)0,Evar_t,2,0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/env.c:140:14: note: place parentheses around the assignment to silence this warning else if(vp = newof((Evar_t*)0,Evar_t,2,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/env.c:140:14: note: use '==' to turn this assignment into an equality comparison else if(vp = newof((Evar_t*)0,Evar_t,2,0)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/env.c:199:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(env=envp) ~~~^~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/env.c:199:8: note: place parentheses around the assignment to silence this warning if(env=envp) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/env.c:199:8: note: use '==' to turn this assignment into an equality comparison if(env=envp) ^ == 3 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -D_API_ast=20100309 -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/limits.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_SUID_EXEC -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_BGX -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_KIA -DSHOPT_BRACEPAT -DSHOPT_STATS -DSHOPT_NAMESPACE -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/msg.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/msg.c:35: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/msg.c:35: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/msg.c:35: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/msg.c:35: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/msg.c:35: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making msg.o + iffe -v -c cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro ref -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -I/<>/ksh-93u+20120801/arch/linux.i386-64/include -ldll -ldl -last /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a -last -lcmd -lutil -last -last -lm : run /<>/ksh-93u+20120801/src/cmd/ksh93/features/math.sh /<>/ksh-93u+20120801/src/cmd/ksh93/data/math.tab iffe: test: is sys/types.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is -last a library ... no iffe: test: is -lutil a library ... yes iffe: test: is -lcmd a library ... no iffe: test: is /<>/ksh-93u+20120801/arch/linux.i386-64/lib/libcoshell.a a library ... yes iffe: test: is -ldl a library ... yes iffe: test: is -ldll a library ... no iffe: test: capture output of /<>/ksh-93u+20120801/src/cmd/ksh93/features/math.sh ... iffe: test: is sys/types.h a header ... yes iffe: test: is time.h a header ... yes iffe: test: is sys/time.h a header ... yes iffe: test: is sys/times.h a header ... yes iffe: test: is stddef.h a header ... yes iffe: test: is stdlib.h a header ... yes iffe: test: is long double a type or typedef ... yes iffe: test: is sys/types.h a header ... yes iffe: test: is math.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is acos a library function ... yes iffe: test: is acosl a library function ... yes iffe: test: is acosh a library function ... yes iffe: test: is acoshl a library function ... yes iffe: test: is asin a library function ... yes iffe: test: is asinl a library function ... yes iffe: test: is asinh a library function ... yes iffe: test: is asinhl a library function ... yes iffe: test: is atan a library function ... yes iffe: test: is atanl a library function ... yes iffe: test: is atan2 a library function ... yes iffe: test: is atan2l a library function ... yes iffe: test: is atanh a library function ... yes iffe: test: is atanhl a library function ... yes iffe: test: is cbrt a library function ... yes iffe: test: is cbrtl a library function ... yes iffe: test: is ceil a library function ... yes iffe: test: is ceill a library function ... yes iffe: test: is copysign a library function ... yes iffe: test: is copysignl a library function ... yes iffe: test: is cos a library function ... yes iffe: test: is cosl a library function ... yes iffe: test: is cosh a library function ... yes iffe: test: is coshl a library function ... yes iffe: test: is erf a library function ... yes iffe: test: is erfl a library function ... yes iffe: test: is erfc a library function ... yes iffe: test: is erfcl a library function ... yes iffe: test: is exp a library function ... yes iffe: test: is expl a library function ... yes iffe: test: is exp2 a library function ... yes iffe: test: is exp2l a library function ... yes iffe: test: is expm1 a library function ... yes iffe: test: is expm1l a library function ... yes iffe: test: is fabs a library function ... yes iffe: test: is fabsl a library function ... yes iffe: test: is fdim a library function ... yes iffe: test: is fdiml a library function ... yes iffe: test: is finite a library function ... yes iffe: test: is finitel a library function ... yes iffe: test: is floor a library function ... yes iffe: test: is floorl a library function ... yes iffe: test: is fma a library function ... yes iffe: test: is fmal a library function ... yes iffe: test: is fmax a library function ... yes iffe: test: is fmaxl a library function ... yes iffe: test: is fmin a library function ... yes iffe: test: is fminl a library function ... yes iffe: test: is fmod a library function ... yes iffe: test: is fmodl a library function ... yes iffe: test: is fpclassify a library function ... yes iffe: test: is fpclassifyl a library function ... no iffe: test: is fpclass a library function ... no iffe: test: is fpclassl a library function ... no iffe: test: is hypot a library function ... yes iffe: test: is hypotl a library function ... yes iffe: test: is ilogb a library function ... yes iffe: test: is ilogbl a library function ... yes iffe: test: is isfinite a library function ... yes iffe: test: is isfinitel a library function ... no iffe: test: is isgreater a library function ... yes iffe: test: is isgreaterl a library function ... no iffe: test: is isgreaterequal a library function ... yes iffe: test: is isgreaterequall a library function ... no iffe: test: is isinf a library function ... yes iffe: test: is isinfl a library function ... yes iffe: test: is isinfinite a library function ... no iffe: test: is isinfinitel a library function ... no iffe: test: is isless a library function ... yes iffe: test: is islessl a library function ... no iffe: test: is islessequal a library function ... yes iffe: test: is islessequall a library function ... no iffe: test: is islessgreater a library function ... yes iffe: test: is islessgreaterl a library function ... no iffe: test: is isnan a library function ... yes iffe: test: is isnanl a library function ... yes iffe: test: is isnormal a library function ... yes iffe: test: is isnormall a library function ... no iffe: test: is issubnormal a library function ... yes iffe: test: is issubnormall a library function ... no iffe: test: is isunordered a library function ... yes iffe: test: is isunorderedl a library function ... no iffe: test: is iszero a library function ... yes iffe: test: is iszerol a library function ... no iffe: test: is j0 a library function ... yes iffe: test: is j0l a library function ... yes iffe: test: is j1 a library function ... yes iffe: test: is j1l a library function ... yes iffe: test: is jn a library function ... yes iffe: test: is jnl a library function ... yes iffe: test: is ldexp a library function ... yes iffe: test: is ldexpl a library function ... yes iffe: test: is lgamma a library function ... yes iffe: test: is lgammal a library function ... yes iffe: test: is log a library function ... yes iffe: test: is logl a library function ... yes iffe: test: is log10 a library function ... yes iffe: test: is log10l a library function ... yes iffe: test: is log1p a library function ... yes iffe: test: is log1pl a library function ... yes iffe: test: is log2 a library function ... yes iffe: test: is log2l a library function ... yes iffe: test: is logb a library function ... yes iffe: test: is logbl a library function ... yes iffe: test: is nearbyint a library function ... yes iffe: test: is nearbyintl a library function ... yes iffe: test: is nextafter a library function ... yes iffe: test: is nextafterl a library function ... yes iffe: test: is nexttoward a library function ... yes iffe: test: is nexttowardl a library function ... yes iffe: test: is pow a library function ... yes iffe: test: is powl a library function ... yes iffe: test: is remainder a library function ... yes iffe: test: is remainderl a library function ... yes iffe: test: is rint a library function ... yes iffe: test: is rintl a library function ... yes iffe: test: is round a library function ... yes iffe: test: is roundl a library function ... yes iffe: test: is scalb a library function ... yes iffe: test: is scalbl a library function ... yes iffe: test: is scalbn a library function ... yes iffe: test: is scalbnl a library function ... yes iffe: test: is signbit a library function ... yes iffe: test: is signbitl a library function ... no iffe: test: is sin a library function ... yes iffe: test: is sinl a library function ... yes iffe: test: is sinh a library function ... yes iffe: test: is sinhl a library function ... yes iffe: test: is sqrt a library function ... yes iffe: test: is sqrtl a library function ... yes iffe: test: is tan a library function ... yes iffe: test: is tanl a library function ... yes iffe: test: is tanh a library function ... yes iffe: test: is tanhl a library function ... yes iffe: test: is tgamma a library function ... yes iffe: test: is tgammal a library function ... yes iffe: test: is trunc a library function ... yes iffe: test: is truncl a library function ... yes iffe: test: is y0 a library function ... yes iffe: test: is y0l a library function ... yes iffe: test: is y1 a library function ... yes iffe: test: is y1l a library function ... yes iffe: test: is yn a library function ... yes iffe: test: is ynl a library function ... yes iffe: test: is sys/types.h a header ... yes iffe: test: is math.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is acosl a library data symbol ... yes iffe: test: is acoshl a library data symbol ... yes iffe: test: is asinl a library data symbol ... yes iffe: test: is asinhl a library data symbol ... yes iffe: test: is atanl a library data symbol ... yes iffe: test: is atan2l a library data symbol ... yes iffe: test: is atanhl a library data symbol ... yes iffe: test: is cbrtl a library data symbol ... yes iffe: test: is ceill a library data symbol ... yes iffe: test: is copysignl a library data symbol ... yes iffe: test: is cosl a library data symbol ... yes iffe: test: is coshl a library data symbol ... yes iffe: test: is erfl a library data symbol ... yes iffe: test: is erfcl a library data symbol ... yes iffe: test: is expl a library data symbol ... yes iffe: test: is exp2l a library data symbol ... yes iffe: test: is expm1l a library data symbol ... yes iffe: test: is fabsl a library data symbol ... yes iffe: test: is fdiml a library data symbol ... yes iffe: test: is finitel a library data symbol ... yes iffe: test: is floorl a library data symbol ... yes iffe: test: is fmal a library data symbol ... yes iffe: test: is fmaxl a library data symbol ... yes iffe: test: is fminl a library data symbol ... yes iffe: test: is fmodl a library data symbol ... yes iffe: test: is fpclassify a library data symbol ... no iffe: test: is hypotl a library data symbol ... yes iffe: test: is ilogbl a library data symbol ... yes iffe: test: is isfinite a library data symbol ... no iffe: test: is isgreater a library data symbol ... no iffe: test: is isgreaterequal a library data symbol ... no iffe: test: is isinfl a library data symbol ... yes iffe: test: is isless a library data symbol ... no iffe: test: is islessequal a library data symbol ... no iffe: test: is islessgreater a library data symbol ... no iffe: test: is isnanl a library data symbol ... yes iffe: test: is isnormal a library data symbol ... no iffe: test: is issubnormal a library data symbol ... no iffe: test: is isunordered a library data symbol ... no iffe: test: is iszero a library data symbol ... no iffe: test: is j0l a library data symbol ... yes iffe: test: is j1l a library data symbol ... yes iffe: test: is jnl a library data symbol ... yes iffe: test: is ldexpl a library data symbol ... yes iffe: test: is lgammal a library data symbol ... yes iffe: test: is logl a library data symbol ... yes iffe: test: is log10l a library data symbol ... yes iffe: test: is log1pl a library data symbol ... yes iffe: test: is log2l a library data symbol ... yes iffe: test: is logbl a library data symbol ... yes iffe: test: is nearbyintl a library data symbol ... yes iffe: test: is nextafterl a library data symbol ... yes iffe: test: is nexttowardl a library data symbol ... yes iffe: test: is powl a library data symbol ... yes iffe: test: is remainderl a library data symbol ... yes iffe: test: is rintl a library data symbol ... yes iffe: test: is roundl a library data symbol ... yes iffe: test: is scalbl a library data symbol ... yes iffe: test: is scalbnl a library data symbol ... yes iffe: test: is signbit a library data symbol ... no iffe: test: is sinl a library data symbol ... yes iffe: test: is sinhl a library data symbol ... yes iffe: test: is sqrtl a library data symbol ... yes iffe: test: is tanl a library data symbol ... yes iffe: test: is tanhl a library data symbol ... yes iffe: test: is tgammal a library data symbol ... yes iffe: test: is truncl a library data symbol ... yes iffe: test: is y0l a library data symbol ... yes iffe: test: is y1l a library data symbol ... yes iffe: test: is ynl a library data symbol ... yes iffe: test: is acosl a symbol that needs a prototype ... no iffe: test: is acoshl a symbol that needs a prototype ... no iffe: test: is asinl a symbol that needs a prototype ... no iffe: test: is asinhl a symbol that needs a prototype ... no iffe: test: is atanl a symbol that needs a prototype ... no iffe: test: is atan2l a symbol that needs a prototype ... no iffe: test: is atanhl a symbol that needs a prototype ... no iffe: test: is cbrtl a symbol that needs a prototype ... no iffe: test: is ceill a symbol that needs a prototype ... no iffe: test: is copysignl a symbol that needs a prototype ... no iffe: test: is cosl a symbol that needs a prototype ... no iffe: test: is coshl a symbol that needs a prototype ... no iffe: test: is erfl a symbol that needs a prototype ... no iffe: test: is erfcl a symbol that needs a prototype ... no iffe: test: is expl a symbol that needs a prototype ... no iffe: test: is exp2l a symbol that needs a prototype ... no iffe: test: is expm1l a symbol that needs a prototype ... no iffe: test: is fabsl a symbol that needs a prototype ... no iffe: test: is fdiml a symbol that needs a prototype ... no iffe: test: is finitel a symbol that needs a prototype ... no iffe: test: is floorl a symbol that needs a prototype ... no iffe: test: is fmal a symbol that needs a prototype ... no iffe: test: is fmaxl a symbol that needs a prototype ... no iffe: test: is fminl a symbol that needs a prototype ... no iffe: test: is fmodl a symbol that needs a prototype ... no iffe: test: is fpclassify a symbol that needs a prototype ... no iffe: test: is hypotl a symbol that needs a prototype ... no iffe: test: is ilogbl a symbol that needs a prototype ... no iffe: test: is isfinite a symbol that needs a prototype ... no iffe: test: is isgreater a symbol that needs a prototype ... no iffe: test: is isgreaterequal a symbol that needs a prototype ... no iffe: test: is isinfl a symbol that needs a prototype ... no iffe: test: is isless a symbol that needs a prototype ... no iffe: test: is islessequal a symbol that needs a prototype ... no iffe: test: is islessgreater a symbol that needs a prototype ... no iffe: test: is isnanl a symbol that needs a prototype ... no iffe: test: is isnormal a symbol that needs a prototype ... no iffe: test: is issubnormal a symbol that needs a prototype ... no iffe: test: is isunordered a symbol that needs a prototype ... no iffe: test: is iszero a symbol that needs a prototype ... no iffe: test: is j0l a symbol that needs a prototype ... no iffe: test: is j1l a symbol that needs a prototype ... no iffe: test: is jnl a symbol that needs a prototype ... no iffe: test: is ldexpl a symbol that needs a prototype ... no iffe: test: is lgammal a symbol that needs a prototype ... no iffe: test: is logl a symbol that needs a prototype ... no iffe: test: is log10l a symbol that needs a prototype ... no iffe: test: is log1pl a symbol that needs a prototype ... no iffe: test: is log2l a symbol that needs a prototype ... no iffe: test: is logbl a symbol that needs a prototype ... no iffe: test: is nearbyintl a symbol that needs a prototype ... no iffe: test: is nextafterl a symbol that needs a prototype ... no iffe: test: is nexttowardl a symbol that needs a prototype ... no iffe: test: is powl a symbol that needs a prototype ... no iffe: test: is remainderl a symbol that needs a prototype ... no iffe: test: is rintl a symbol that needs a prototype ... no iffe: test: is roundl a symbol that needs a prototype ... no iffe: test: is scalbl a symbol that needs a prototype ... no iffe: test: is scalbnl a symbol that needs a prototype ... no iffe: test: is signbit a symbol that needs a prototype ... no iffe: test: is sinl a symbol that needs a prototype ... no iffe: test: is sinhl a symbol that needs a prototype ... no iffe: test: is sqrtl a symbol that needs a prototype ... no iffe: test: is tanl a symbol that needs a prototype ... no iffe: test: is tanhl a symbol that needs a prototype ... no iffe: test: is tgammal a symbol that needs a prototype ... no iffe: test: is truncl a symbol that needs a prototype ... no iffe: test: is y0l a symbol that needs a prototype ... no iffe: test: is y1l a symbol that needs a prototype ... no iffe: test: is ynl a symbol that needs a prototype ... no iffe: test: is acosl a macro ... no iffe: test: is acoshl a macro ... no iffe: test: is asinl a macro ... no iffe: test: is asinhl a macro ... no iffe: test: is atanl a macro ... no iffe: test: is atan2l a macro ... no iffe: test: is atanhl a macro ... no iffe: test: is cbrtl a macro ... no iffe: test: is ceill a macro ... no iffe: test: is copysignl a macro ... no iffe: test: is cosl a macro ... no iffe: test: is coshl a macro ... no iffe: test: is erfl a macro ... no iffe: test: is erfcl a macro ... no iffe: test: is expl a macro ... no iffe: test: is exp2l a macro ... no iffe: test: is expm1l a macro ... no iffe: test: is fabsl a macro ... no iffe: test: is fdiml a macro ... no iffe: test: is finitel a macro ... no iffe: test: is floorl a macro ... no iffe: test: is fmal a macro ... no iffe: test: is fmaxl a macro ... no iffe: test: is fminl a macro ... no iffe: test: is fmodl a macro ... no iffe: test: is fpclassify a macro ... yes iffe: test: is hypotl a macro ... no iffe: test: is ilogbl a macro ... no iffe: test: is isfinite a macro ... yes iffe: test: is isgreater a macro ... yes iffe: test: is isgreaterequal a macro ... yes iffe: test: is isinfl a macro ... no iffe: test: is isless a macro ... yes iffe: test: is islessequal a macro ... yes iffe: test: is islessgreater a macro ... yes iffe: test: is isnanl a macro ... no iffe: test: is isnormal a macro ... yes iffe: test: is issubnormal a macro ... yes iffe: test: is isunordered a macro ... yes iffe: test: is iszero a macro ... yes iffe: test: is j0l a macro ... no iffe: test: is j1l a macro ... no iffe: test: is jnl a macro ... no iffe: test: is ldexpl a macro ... no iffe: test: is lgammal a macro ... no iffe: test: is logl a macro ... no iffe: test: is log10l a macro ... no iffe: test: is log1pl a macro ... no iffe: test: is log2l a macro ... no iffe: test: is logbl a macro ... no iffe: test: is nearbyintl a macro ... no iffe: test: is nextafterl a macro ... no iffe: test: is nexttowardl a macro ... no iffe: test: is powl a macro ... no iffe: test: is remainderl a macro ... no iffe: test: is rintl a macro ... no iffe: test: is roundl a macro ... no iffe: test: is scalbl a macro ... no iffe: test: is scalbnl a macro ... no iffe: test: is signbit a macro ... yes iffe: test: is sinl a macro ... no iffe: test: is sinhl a macro ... no iffe: test: is sqrtl a macro ... no iffe: test: is tanl a macro ... no iffe: test: is tanhl a macro ... no iffe: test: is tgammal a macro ... no iffe: test: is truncl a macro ... no iffe: test: is y0l a macro ... no iffe: test: is y1l a macro ... no iffe: test: is ynl a macro ... no iffe: test: is sys/types.h a header ... yes iffe: test: is math.h a header ... yes iffe: test: is -lm a library ... yes iffe: test: is FP_SUBNORMAL a numeric constant or enum ... yes iffe: test: is FP_ZERO a numeric constant or enum ... yes iffe: test: is FP_NZERO a numeric constant or enum ... no iffe: test: is FP_PZERO a numeric constant or enum ... no iffe: test: capture output of /<>/ksh-93u+20120801/src/cmd/ksh93/features/math.sh ... yes + cc -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/strdata.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]" -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/testops.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_NAMESPACE -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -DSHOPT_KIA -D_API_ast=20100309 -D_BLD_shell -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/keywords.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/keywords.c:22: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/keywords.c:22: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/keywords.c:22: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/keywords.c:22: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/keywords.c:22: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/shlex.h:32: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making keywords.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DSHOPT_FIXEDARRAY -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/options.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -D_PACKAGE_ast -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/signals.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -D_BLD_shell -D_API_ast=20100309 -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/aliases.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_TYPEDEF -DSHOPT_KIA -DSHOPT_PFSH -DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]" -DSHOPT_BRACEPAT -DSHOPT_HISTEXPAND -DSHOPT_COSHELL -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_BGX -DSHOPT_MULTIBYTE -D_BLD_shell -DSHOPT_DYNAMIC -DKSHELL -DSHOPT_FIXEDARRAY -DSHOPT_STATS -DSHOPT_NAMESPACE -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/builtins.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_STATS -DSHOPT_MULTIBYTE -D_BLD_shell -DSHOPT_DYNAMIC -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/variables.c + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_BRACEPAT -DSHOPT_TYPEDEF -DSHOPT_NAMESPACE -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_PFSH -c /<>/ksh-93u+20120801/src/cmd/ksh93/data/lexstates.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/lexstates.c:25: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/lexstates.c:25: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/lexstates.c:25: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/lexstates.c:25: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/data/lexstates.c:25: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ 3 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making lexstates.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DSHOPT_HISTEXPAND -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/edit/emacs.c /<>/ksh-93u+20120801/src/cmd/ksh93/edit/emacs.c:387:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = *kptr++) ~~^~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/emacs.c:387:14: note: place parentheses around the assignment to silence this warning while (i = *kptr++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/emacs.c:387:14: note: use '==' to turn this assignment into an equality comparison while (i = *kptr++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/emacs.c:767:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c= *sp++) ~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/emacs.c:767:10: note: place parentheses around the assignment to silence this warning while (c= *sp++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/emacs.c:767:10: note: use '==' to turn this assignment into an equality comparison while (c= *sp++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/emacs.c:1286:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if(ep->prevdirection == -2 && i!=2 || direction!=1) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/emacs.c:1286:29: note: place parentheses around the '&&' expression to silence this warning if(ep->prevdirection == -2 && i!=2 || direction!=1) ^ ( ) 3 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_EDPREDICT -DSHOPT_RAWONLY -DSHOPT_MULTIBYTE -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_HISTEXPAND -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -DSHOPT_PFSH -D_BLD_shell -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:59: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:43: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h:5:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE __FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:108:17: note: expanded from macro '__FILE' #define __FILE FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:59: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:113: In file included from /usr/include/../include/wchar.h:46: /usr/include/x86_64-linux-gnu/bits/types/FILE.h:7:25: error: typedef redefinition with different types ('struct _IO_FILE' vs 'struct _sfio_s') typedef struct _IO_FILE FILE; ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:103:15: note: expanded from macro 'FILE' #define FILE _sfio_FILE ^ /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_stdio.h:101:24: note: previous definition is here typedef struct _sfio_s _sfio_FILE; ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:59: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:136:9: warning: 'fwprintf' macro redefined [-Wmacro-redefined] #define fwprintf _ast_fwprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:353:11: note: previous definition is here # define fwprintf(stream, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:59: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:143:9: warning: 'swprintf' macro redefined [-Wmacro-redefined] #define swprintf _ast_swprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:296:10: note: previous definition is here # define swprintf(s, n, ...) \ ^ In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:59: In file included from /<>/ksh-93u+20120801/src/cmd/ksh93/include/lexstates.h:85: In file included from /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/wchar.h:22: /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/ast_wchar.h:152:9: warning: 'wprintf' macro redefined [-Wmacro-redefined] #define wprintf _ast_wprintf ^ /usr/include/x86_64-linux-gnu/bits/wchar2.h:351:11: note: previous definition is here # define wprintf(...) \ ^ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:741:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( c=ed_getchar(vp->ed,-1) ) ~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:741:10: note: place parentheses around the assignment to silence this warning while( c=ed_getchar(vp->ed,-1) ) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:741:10: note: use '==' to turn this assignment into an equality comparison while( c=ed_getchar(vp->ed,-1) ) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:823:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *p++) ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:823:12: note: place parentheses around the assignment to silence this warning while(c = *p++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:823:12: note: use '==' to turn this assignment into an equality comparison while(c = *p++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:2087:17: warning: '&&' within '||' [-Wlogical-op-parentheses] || (increment && (cur_window==w_size-1) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:2087:17: note: place parentheses around the '&&' expression to silence this warning || (increment && (cur_window==w_size-1) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:2493:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(i = *p++); ~~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:2493:12: note: place parentheses around the assignment to silence this warning while(i = *p++); ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:2493:12: note: use '==' to turn this assignment into an equality comparison while(i = *p++); ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:2616:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c= *p++) ~^~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:2616:11: note: place parentheses around the assignment to silence this warning while(c= *p++) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:2616:11: note: use '==' to turn this assignment into an equality comparison while(c= *p++) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/vi.c:2704:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if( islower(c) ) ^ 9 warnings and 2 errors generated. mamake [cmd/ksh93]: *** exit code 1 making vi.o + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_HISTEXPAND -DSHOPT_EDPREDICT -DSHOPT_MULTIBYTE -DKSHELL -DSHOPT_ESH -DSHOPT_VSH -D_PACKAGE_ast -DSHOPT_PFSH -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -D_BLD_shell -D_API_ast=20100309 -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -c /<>/ksh-93u+20120801/src/cmd/ksh93/edit/hexpand.c /<>/ksh-93u+20120801/src/cmd/ksh93/edit/hexpand.c:182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(off = staktell()) ~~~~^~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/hexpand.c:182:9: note: place parentheses around the assignment to silence this warning if(off = staktell()) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/hexpand.c:182:9: note: use '==' to turn this assignment into an equality comparison if(off = staktell()) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/hexpand.c:544:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cc = strchr(modifiers, c)) ~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/hexpand.c:544:10: note: place parentheses around the assignment to silence this warning if(cc = strchr(modifiers, c)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/hexpand.c:544:10: note: use '==' to turn this assignment into an equality comparison if(cc = strchr(modifiers, c)) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/edit/hexpand.c:613:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cc = strstr(str, sb.str[0])) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/edit/hexpand.c:613:12: note: place parentheses around the assignment to silence this warning if(cc = strstr(str, sb.str[0])) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/edit/hexpand.c:613:12: note: use '==' to turn this assignment into an equality comparison if(cc = strstr(str, sb.str[0])) ^ == 3 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DSHOPT_BRACEPAT -DSH_DICT="libshell" -D_API_ast=20100309 -D_PACKAGE_ast -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_PFSH -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_FIXEDARRAY -DSHOPT_ESH -DSHOPT_MULTIBYTE -DUSAGE_LICENSE="[-author?David Korn ][-copyright?Copyright (c) 1982-2012 AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libshell]" -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:79:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(n = optget(argv, usage )) switch(n) ~~^~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:79:10: note: place parentheses around the assignment to silence this warning while(n = optget(argv, usage )) switch(n) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:79:10: note: use '==' to turn this assignment into an equality comparison while(n = optget(argv, usage )) switch(n) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:103:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp= *argv) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:103:7: note: place parentheses around the assignment to silence this warning if(cp= *argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:103:7: note: use '==' to turn this assignment into an equality comparison if(cp= *argv) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:110:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(cp= *argv) ~~^~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:110:7: note: place parentheses around the assignment to silence this warning if(cp= *argv) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:110:7: note: use '==' to turn this assignment into an equality comparison if(cp= *argv) ^ == /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:138:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(t = (Shnode_t*)sh_parse(shp,in,0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:138:8: note: place parentheses around the assignment to silence this warning if(t = (Shnode_t*)sh_parse(shp,in,0)) ^ ( ) /<>/ksh-93u+20120801/src/cmd/ksh93/sh/shcomp.c:138:8: note: use '==' to turn this assignment into an equality comparison if(t = (Shnode_t*)sh_parse(shp,in,0)) ^ == 4 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<>/ksh-93u+20120801/src/cmd/ksh93 -Iinclude -I/<>/ksh-93u+20120801/src/cmd/ksh93/include -I/<>/ksh-93u+20120801/arch/linux.i386-64/include/ast -DERROR_CONTEXT_T=Error_context_t -D_API_ast=20100309 -D_PACKAGE_ast -c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/suid_exec.c /<>/ksh-93u+20120801/src/cmd/ksh93/sh/suid_exec.c:347:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setregid(rgroupid,group); ^~~~~~~~ ~~~~~~~~~~~~~~ /<>/ksh-93u+20120801/src/cmd/ksh93/sh/suid_exec.c:353:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] setreuid(ruserid,owner); ^~~~~~~~ ~~~~~~~~~~~~~ 2 warnings generated. + cc -g -O2 -fdebug-prefix-map=/<>/ksh-93u+20120801=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -L. -L/<>/ksh-93u+20120801/arch/linux.i386-64/lib -o suid_exec suid_exec.o -last -last /usr/bin/ld: cannot find -last /usr/bin/ld: cannot find -last clang: error: linker command failed with exit code 1 (use -v to see invocation) mamake [cmd/ksh93]: *** exit code 1 making suid_exec + test = sh.1 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/ksh93/sh.1 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man1/sh.1 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man1/sh.1 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man1/sh.1.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/ksh93/sh.1 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man1/sh.1 + test = shell.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/ksh93/shell.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/shell.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/shell.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/shell.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/ksh93/shell.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/shell.3 + test = nval.3 + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/ksh93/nval.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/nval.3 + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/nval.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/nval.3.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/ksh93/nval.3 /<>/ksh-93u+20120801/arch/linux.i386-64/man/man3/nval.3 + test = shell.req + /usr/bin/cmp -s shell.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/shell + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/shell /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/shell.old + true + /bin/cp shell.req /<>/ksh-93u+20120801/arch/linux.i386-64/lib/lib/shell + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1982,author=dgk /<>/ksh-93u+20120801/src/cmd/ksh93/include/nval.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/nval.h 1.17815.x + mv 1.17815.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/nval.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1982,author=dgk /<>/ksh-93u+20120801/src/cmd/ksh93/include/shell.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/shell.h 1.17820.x + mv 1.17820.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/shell.h + proto -p -s -l /<>/ksh-93u+20120801/lib/package/ast.lic -o since=1982,author=dgk /<>/ksh-93u+20120801/src/cmd/ksh93/include/history.h + cmp -s /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/history.h 1.17825.x + mv 1.17825.x /<>/ksh-93u+20120801/arch/linux.i386-64/include/ast/history.h + test = fun/dirs + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/ksh93/fun/dirs /<>/ksh-93u+20120801/arch/linux.i386-64/fun/dirs + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/fun/dirs /<>/ksh-93u+20120801/arch/linux.i386-64/fun/dirs.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/ksh93/fun/dirs /<>/ksh-93u+20120801/arch/linux.i386-64/fun/dirs + chmod ugo+x /<>/ksh-93u+20120801/arch/linux.i386-64/fun/dirs + test = fun/popd + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/ksh93/fun/popd /<>/ksh-93u+20120801/arch/linux.i386-64/fun/popd + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/fun/popd /<>/ksh-93u+20120801/arch/linux.i386-64/fun/popd.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/ksh93/fun/popd /<>/ksh-93u+20120801/arch/linux.i386-64/fun/popd + chmod ugo+x /<>/ksh-93u+20120801/arch/linux.i386-64/fun/popd + test = fun/pushd + /usr/bin/cmp -s /<>/ksh-93u+20120801/src/cmd/ksh93/fun/pushd /<>/ksh-93u+20120801/arch/linux.i386-64/fun/pushd + /bin/mv /<>/ksh-93u+20120801/arch/linux.i386-64/fun/pushd /<>/ksh-93u+20120801/arch/linux.i386-64/fun/pushd.old + true + /bin/cp /<>/ksh-93u+20120801/src/cmd/ksh93/fun/pushd /<>/ksh-93u+20120801/arch/linux.i386-64/fun/pushd + chmod ugo+x /<>/ksh-93u+20120801/arch/linux.i386-64/fun/pushd mamake: *** exit code 1 making cmd/ksh93 package: make done at Wed May 2 12:57:14 2018 in /<>/ksh-93u+20120801/arch/linux.i386-64 make[1]: Leaving directory '/<>/ksh-93u+20120801' fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a dh_installdirs -a debian/rules override_dh_auto_install make[1]: Entering directory '/<>/ksh-93u+20120801' install -p -o root -g root -m 755 arch/linux.i386-64/bin/ksh debian/ksh/bin/ksh93 install: cannot stat 'arch/linux.i386-64/bin/ksh': No such file or directory make[1]: *** [debian/rules:44: override_dh_auto_install] Error 1 make[1]: Leaving directory '/<>/ksh-93u+20120801' make: *** [debian/rules:34: binary-arch] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2018-05-02T12:57:15Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: any Build-Space: 30964 Build-Time: 283 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 6 Job: ksh_93u+20120801-3.1 Machine Architecture: amd64 Package: ksh Package-Time: 305 Source-Version: 93u+20120801-3.1 Space: 30964 Status: attempted Version: 93u+20120801-3.1 -------------------------------------------------------------------------------- Finished at 2018-05-02T12:57:15Z Build needed 00:05:05, 30964k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 305.921225989s