DC-Build-Header: ruby-curses 1.2.4-1 / 2020-02-25 18:16:02 +0000 DC-Task: type:rebuild-binarch-only source:ruby-curses version:1.2.4-1 chroot:unstable esttime:85 logfile:/tmp/ruby-curses_1.2.4-1_unstable_clang8.log modes:clang8:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --no-run-lintian --chroot-setup-commands=/tmp/clang8 ruby-curses_1.2.4-1' sbuild (Debian sbuild) 0.78.1 (09 February 2019) on ip-172-31-13-180.eu-central-1.compute.internal +==============================================================================+ | ruby-curses 1.2.4-1 (amd64) Tue, 25 Feb 2020 18:16:02 +0000 | +==============================================================================+ Package: ruby-curses Version: 1.2.4-1 Source Version: 1.2.4-1 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: binary I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-amd64-sbuild-e8080875-0b24-4d21-9e26-d26e474ed658' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang8 ----------- + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=8 + echo 'Install of clang-8' Install of clang-8 + apt-get update Get:1 http://127.0.0.1:12990/debian sid InRelease [142 kB] Get:2 http://127.0.0.1:12990/debian sid/main Sources.diff/Index [27.9 kB] Get:3 http://127.0.0.1:12990/debian sid/main amd64 Packages.diff/Index [27.9 kB] Get:4 http://127.0.0.1:12990/debian sid/main Sources 2020-02-24-0823.32.pdiff [11.0 kB] Get:5 http://127.0.0.1:12990/debian sid/main Sources 2020-02-24-1420.34.pdiff [30.2 kB] Get:6 http://127.0.0.1:12990/debian sid/main Sources 2020-02-24-2014.03.pdiff [16.9 kB] Get:7 http://127.0.0.1:12990/debian sid/main Sources 2020-02-25-0213.11.pdiff [23.2 kB] Get:8 http://127.0.0.1:12990/debian sid/main Sources 2020-02-25-0815.22.pdiff [9222 B] Get:9 http://127.0.0.1:12990/debian sid/main Sources 2020-02-25-1413.15.pdiff [16.3 kB] Get:10 http://127.0.0.1:12990/debian sid/main amd64 Packages 2020-02-24-0823.32.pdiff [15.5 kB] Get:11 http://127.0.0.1:12990/debian sid/main amd64 Packages 2020-02-24-1420.34.pdiff [27.5 kB] Get:12 http://127.0.0.1:12990/debian sid/main amd64 Packages 2020-02-24-2014.03.pdiff [21.6 kB] Get:13 http://127.0.0.1:12990/debian sid/main amd64 Packages 2020-02-25-0213.11.pdiff [35.0 kB] Get:14 http://127.0.0.1:12990/debian sid/main amd64 Packages 2020-02-25-0815.22.pdiff [20.1 kB] Get:15 http://127.0.0.1:12990/debian sid/main amd64 Packages 2020-02-25-1413.15.pdiff [18.4 kB] Get:9 http://127.0.0.1:12990/debian sid/main Sources 2020-02-25-1413.15.pdiff [16.3 kB] Get:15 http://127.0.0.1:12990/debian sid/main amd64 Packages 2020-02-25-1413.15.pdiff [18.4 kB] Get:16 http://127.0.0.1:12990/debian sid/main Translation-en [6195 kB] Fetched 6638 kB in 2s (3910 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-8 libomp-8-dev libobjc-9-dev Reading package lists... Building dependency tree... The following additional packages will be installed: cpp-9 g++-9 gcc-8-base gcc-9 gcc-9-base lib32gcc-s1 lib32gcc1 lib32stdc++6 libasan5 libbsd0 libc6-i386 libclang-common-8-dev libclang1-8 libedit2 libgc1c2 libgcc-8-dev libgcc-9-dev libllvm8 libmpx2 libobjc-8-dev libobjc4 libomp5-8 libstdc++-8-dev libstdc++-9-dev Suggested packages: clang-8-doc gcc-9-locales g++-9-multilib gcc-9-doc gcc-9-multilib libomp-8-doc libstdc++-8-doc libstdc++-9-doc Recommended packages: llvm-8-dev python3 The following NEW packages will be installed: clang-8 gcc-8-base lib32gcc-s1 lib32gcc1 lib32stdc++6 libbsd0 libc6-i386 libclang-common-8-dev libclang1-8 libedit2 libgc1c2 libgcc-8-dev libllvm8 libmpx2 libobjc-8-dev libobjc-9-dev libobjc4 libomp-8-dev libomp5-8 libstdc++-8-dev The following packages will be upgraded: cpp-9 g++-9 gcc-9 gcc-9-base libasan5 libgcc-9-dev libstdc++-9-dev 7 upgraded, 20 newly installed, 0 to remove and 3 not upgraded. Need to get 74.9 MB of archives. After this operation, 223 MB of additional disk space will be used. Get:1 http://127.0.0.1:12990/debian sid/main amd64 libasan5 amd64 9.2.1-30 [389 kB] Get:2 http://127.0.0.1:12990/debian sid/main amd64 g++-9 amd64 9.2.1-30 [10.7 MB] Get:3 http://127.0.0.1:12990/debian sid/main amd64 gcc-9 amd64 9.2.1-30 [10.0 MB] Get:4 http://127.0.0.1:12990/debian sid/main amd64 libstdc++-9-dev amd64 9.2.1-30 [1697 kB] Get:5 http://127.0.0.1:12990/debian sid/main amd64 libgcc-9-dev amd64 9.2.1-30 [2349 kB] Get:6 http://127.0.0.1:12990/debian sid/main amd64 cpp-9 amd64 9.2.1-30 [9711 kB] Get:7 http://127.0.0.1:12990/debian sid/main amd64 gcc-9-base amd64 9.2.1-30 [196 kB] Get:8 http://127.0.0.1:12990/debian sid/main amd64 libbsd0 amd64 0.10.0-1 [107 kB] Get:9 http://127.0.0.1:12990/debian sid/main amd64 libedit2 amd64 3.1-20191231-1 [95.4 kB] Get:10 http://127.0.0.1:12990/debian sid/main amd64 libllvm8 amd64 1:8.0.1-7 [13.8 MB] Get:11 http://127.0.0.1:12990/debian sid/main amd64 gcc-8-base amd64 8.3.0-29 [194 kB] Get:12 http://127.0.0.1:12990/debian sid/main amd64 libmpx2 amd64 8.3.0-29 [11.4 kB] Get:13 http://127.0.0.1:12990/debian sid/main amd64 libgcc-8-dev amd64 8.3.0-29 [2297 kB] Get:14 http://127.0.0.1:12990/debian sid/main amd64 libstdc++-8-dev amd64 8.3.0-29 [1543 kB] Get:15 http://127.0.0.1:12990/debian sid/main amd64 libgc1c2 amd64 1:7.6.4-0.4 [224 kB] Get:16 http://127.0.0.1:12990/debian sid/main amd64 libobjc4 amd64 10-20200222-1 [41.6 kB] Get:17 http://127.0.0.1:12990/debian sid/main amd64 libobjc-8-dev amd64 8.3.0-29 [227 kB] Get:18 http://127.0.0.1:12990/debian sid/main amd64 libc6-i386 amd64 2.29-10 [2918 kB] Get:19 http://127.0.0.1:12990/debian sid/main amd64 lib32gcc-s1 amd64 10-20200222-1 [49.4 kB] Get:20 http://127.0.0.1:12990/debian sid/main amd64 lib32gcc1 amd64 1:10-20200222-1 [1104 B] Get:21 http://127.0.0.1:12990/debian sid/main amd64 lib32stdc++6 amd64 10-20200222-1 [510 kB] Get:22 http://127.0.0.1:12990/debian sid/main amd64 libclang-common-8-dev amd64 1:8.0.1-7 [2989 kB] Get:23 http://127.0.0.1:12990/debian sid/main amd64 libclang1-8 amd64 1:8.0.1-7 [6244 kB] Get:24 http://127.0.0.1:12990/debian sid/main amd64 clang-8 amd64 1:8.0.1-7 [8010 kB] Get:25 http://127.0.0.1:12990/debian sid/main amd64 libobjc-9-dev amd64 9.2.1-30 [219 kB] Get:26 http://127.0.0.1:12990/debian sid/main amd64 libomp5-8 amd64 1:8.0.1-7 [331 kB] Get:27 http://127.0.0.1:12990/debian sid/main amd64 libomp-8-dev amd64 1:8.0.1-7 [62.3 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 74.9 MB in 1s (99.2 MB/s) (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 ... 12119 files and directories currently installed.) Preparing to unpack .../00-libasan5_9.2.1-30_amd64.deb ... Unpacking libasan5:amd64 (9.2.1-30) over (9.2.1-29) ... Preparing to unpack .../01-g++-9_9.2.1-30_amd64.deb ... Unpacking g++-9 (9.2.1-30) over (9.2.1-29) ... Preparing to unpack .../02-gcc-9_9.2.1-30_amd64.deb ... Unpacking gcc-9 (9.2.1-30) over (9.2.1-29) ... Preparing to unpack .../03-libstdc++-9-dev_9.2.1-30_amd64.deb ... Unpacking libstdc++-9-dev:amd64 (9.2.1-30) over (9.2.1-29) ... Preparing to unpack .../04-libgcc-9-dev_9.2.1-30_amd64.deb ... Unpacking libgcc-9-dev:amd64 (9.2.1-30) over (9.2.1-29) ... Preparing to unpack .../05-cpp-9_9.2.1-30_amd64.deb ... Unpacking cpp-9 (9.2.1-30) over (9.2.1-29) ... Preparing to unpack .../06-gcc-9-base_9.2.1-30_amd64.deb ... Unpacking gcc-9-base:amd64 (9.2.1-30) over (9.2.1-29) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../07-libbsd0_0.10.0-1_amd64.deb ... Unpacking libbsd0:amd64 (0.10.0-1) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../08-libedit2_3.1-20191231-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20191231-1) ... Selecting previously unselected package libllvm8:amd64. Preparing to unpack .../09-libllvm8_1%3a8.0.1-7_amd64.deb ... Unpacking libllvm8:amd64 (1:8.0.1-7) ... Selecting previously unselected package gcc-8-base:amd64. Preparing to unpack .../10-gcc-8-base_8.3.0-29_amd64.deb ... Unpacking gcc-8-base:amd64 (8.3.0-29) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../11-libmpx2_8.3.0-29_amd64.deb ... Unpacking libmpx2:amd64 (8.3.0-29) ... Selecting previously unselected package libgcc-8-dev:amd64. Preparing to unpack .../12-libgcc-8-dev_8.3.0-29_amd64.deb ... Unpacking libgcc-8-dev:amd64 (8.3.0-29) ... Selecting previously unselected package libstdc++-8-dev:amd64. Preparing to unpack .../13-libstdc++-8-dev_8.3.0-29_amd64.deb ... Unpacking libstdc++-8-dev:amd64 (8.3.0-29) ... Selecting previously unselected package libgc1c2:amd64. Preparing to unpack .../14-libgc1c2_1%3a7.6.4-0.4_amd64.deb ... Unpacking libgc1c2:amd64 (1:7.6.4-0.4) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../15-libobjc4_10-20200222-1_amd64.deb ... Unpacking libobjc4:amd64 (10-20200222-1) ... Selecting previously unselected package libobjc-8-dev:amd64. Preparing to unpack .../16-libobjc-8-dev_8.3.0-29_amd64.deb ... Unpacking libobjc-8-dev:amd64 (8.3.0-29) ... Selecting previously unselected package libc6-i386. Preparing to unpack .../17-libc6-i386_2.29-10_amd64.deb ... Unpacking libc6-i386 (2.29-10) ... Selecting previously unselected package lib32gcc-s1. Preparing to unpack .../18-lib32gcc-s1_10-20200222-1_amd64.deb ... Unpacking lib32gcc-s1 (10-20200222-1) ... Selecting previously unselected package lib32gcc1. Preparing to unpack .../19-lib32gcc1_1%3a10-20200222-1_amd64.deb ... Unpacking lib32gcc1 (1:10-20200222-1) ... Selecting previously unselected package lib32stdc++6. Preparing to unpack .../20-lib32stdc++6_10-20200222-1_amd64.deb ... Unpacking lib32stdc++6 (10-20200222-1) ... Selecting previously unselected package libclang-common-8-dev. Preparing to unpack .../21-libclang-common-8-dev_1%3a8.0.1-7_amd64.deb ... Unpacking libclang-common-8-dev (1:8.0.1-7) ... Selecting previously unselected package libclang1-8. Preparing to unpack .../22-libclang1-8_1%3a8.0.1-7_amd64.deb ... Unpacking libclang1-8 (1:8.0.1-7) ... Selecting previously unselected package clang-8. Preparing to unpack .../23-clang-8_1%3a8.0.1-7_amd64.deb ... Unpacking clang-8 (1:8.0.1-7) ... Selecting previously unselected package libobjc-9-dev:amd64. Preparing to unpack .../24-libobjc-9-dev_9.2.1-30_amd64.deb ... Unpacking libobjc-9-dev:amd64 (9.2.1-30) ... Selecting previously unselected package libomp5-8:amd64. Preparing to unpack .../25-libomp5-8_1%3a8.0.1-7_amd64.deb ... Unpacking libomp5-8:amd64 (1:8.0.1-7) ... Selecting previously unselected package libomp-8-dev. Preparing to unpack .../26-libomp-8-dev_1%3a8.0.1-7_amd64.deb ... Unpacking libomp-8-dev (1:8.0.1-7) ... Setting up libgc1c2:amd64 (1:7.6.4-0.4) ... Setting up libobjc4:amd64 (10-20200222-1) ... Setting up gcc-8-base:amd64 (8.3.0-29) ... Setting up libmpx2:amd64 (8.3.0-29) ... Setting up libc6-i386 (2.29-10) ... Setting up libbsd0:amd64 (0.10.0-1) ... Setting up libomp5-8:amd64 (1:8.0.1-7) ... Setting up libomp-8-dev (1:8.0.1-7) ... Setting up gcc-9-base:amd64 (9.2.1-30) ... Setting up libedit2:amd64 (3.1-20191231-1) ... Setting up libasan5:amd64 (9.2.1-30) ... Setting up lib32gcc-s1 (10-20200222-1) ... Setting up libgcc-8-dev:amd64 (8.3.0-29) ... Setting up cpp-9 (9.2.1-30) ... Setting up libstdc++-8-dev:amd64 (8.3.0-29) ... Setting up libllvm8:amd64 (1:8.0.1-7) ... Setting up libclang1-8 (1:8.0.1-7) ... Setting up lib32gcc1 (1:10-20200222-1) ... Setting up libgcc-9-dev:amd64 (9.2.1-30) ... Setting up libobjc-8-dev:amd64 (8.3.0-29) ... Setting up lib32stdc++6 (10-20200222-1) ... Setting up libobjc-9-dev:amd64 (9.2.1-30) ... Setting up gcc-9 (9.2.1-30) ... Setting up libstdc++-9-dev:amd64 (9.2.1-30) ... Setting up libclang-common-8-dev (1:8.0.1-7) ... Setting up g++-9 (9.2.1-30) ... Setting up clang-8 (1:8.0.1-7) ... Processing triggers for libc-bin (2.29-10) ... 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 9 10' + cd /usr/bin + for VERSION in $VERSIONS + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-8 g++-4.6 + ln -s clang-8 gcc-4.6 + ln -s clang-8 cpp-4.6 + ln -s clang-8 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++-8 g++-4.7 + ln -s clang-8 gcc-4.7 + ln -s clang-8 cpp-4.7 + ln -s clang-8 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++-8 g++-4.8 + ln -s clang-8 gcc-4.8 + ln -s clang-8 cpp-4.8 + ln -s clang-8 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++-8 g++-4.9 + ln -s clang-8 gcc-4.9 + ln -s clang-8 cpp-4.9 + ln -s clang-8 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++-8 g++-5 + ln -s clang-8 gcc-5 + ln -s clang-8 cpp-5 + ln -s clang-8 gcc + echo 'gcc-5 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-5 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++-5 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-5 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++-6 gcc-6 cpp-6 gcc + ln -s clang++-8 g++-6 + ln -s clang-8 gcc-6 + ln -s clang-8 cpp-6 + ln -s clang-8 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++-8 g++-7 + ln -s clang-8 gcc-7 + ln -s clang-8 cpp-7 + ln -s clang-8 gcc + echo 'gcc-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-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++-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-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++-8 gcc-8 cpp-8 gcc + ln -s clang++-8 g++-8 + ln -s clang-8 gcc-8 + ln -s clang-8 cpp-8 + ln -s clang-8 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 + for VERSION in $VERSIONS + rm -f g++-9 gcc-9 cpp-9 gcc + ln -s clang++-8 g++-9 + ln -s clang-8 gcc-9 + ln -s clang-8 cpp-9 + ln -s clang-8 gcc + echo 'gcc-9 hold' + dpkg --set-selections + echo 'g++-9 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-10 gcc-10 cpp-10 gcc + ln -s clang++-8 g++-10 + ln -s clang-8 gcc-10 + ln -s clang-8 cpp-10 + ln -s clang-8 gcc + echo 'gcc-10 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-10 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++-10 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-10 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/ruby-curses-J15nQR + 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/clang8'. Finished processing commands. -------------------------------------------------------------------------------- I: NOTICE: Log filtering will replace 'build/ruby-curses-J15nQR/resolver-eHAABw' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:12990/debian sid InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: bash libgmp10 zlib1g 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1722 kB of archives. After this operation, 4096 B of additional disk space will be used. Get:1 http://127.0.0.1:12990/debian sid/main amd64 bash amd64 5.0-6 [1379 kB] Get:2 http://127.0.0.1:12990/debian sid/main amd64 libgmp10 amd64 2:6.2.0+dfsg-4 [253 kB] Get:3 http://127.0.0.1:12990/debian sid/main amd64 zlib1g amd64 1:1.2.11.dfsg-2 [90.4 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1722 kB in 0s (74.2 MB/s) (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 ... 13887 files and directories currently installed.) Preparing to unpack .../archives/bash_5.0-6_amd64.deb ... Unpacking bash (5.0-6) over (5.0-5) ... Setting up bash (5.0-6) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (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 ... 13887 files and directories currently installed.) Preparing to unpack .../libgmp10_2%3a6.2.0+dfsg-4_amd64.deb ... Unpacking libgmp10:amd64 (2:6.2.0+dfsg-4) over (2:6.2.0+dfsg-3) ... Setting up libgmp10:amd64 (2:6.2.0+dfsg-4) ... (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 ... 13887 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-2_amd64.deb ... Unpacking zlib1g:amd64 (1:1.2.11.dfsg-2) over (1:1.2.11.dfsg-1.2) ... Setting up zlib1g:amd64 (1:1.2.11.dfsg-2) ... Processing triggers for libc-bin (2.29-10) ... +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... NOTICE: 'ruby-curses' packaging is maintained in the 'Git' version control system at: https://git.dgit.debian.org/ruby-curses Please use: git clone https://git.dgit.debian.org/ruby-curses to retrieve the latest (possibly unreleased) updates to the package. Need to get 36.1 kB of source archives. Get:1 http://127.0.0.1:12990/debian sid/main ruby-curses 1.2.4-1 (dsc) [1752 B] Get:2 http://127.0.0.1:12990/debian sid/main ruby-curses 1.2.4-1 (tar) [31.4 kB] Get:3 http://127.0.0.1:12990/debian sid/main ruby-curses 1.2.4-1 (diff) [2908 B] Fetched 36.1 kB in 0s (425 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/ruby-curses-J15nQR/ruby-curses-1.2.4' with '<>' I: NOTICE: Log filtering will replace 'build/ruby-curses-J15nQR' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9~), gem2deb, libncursesw5-dev, build-essential, fakeroot Filtered Build-Depends: debhelper (>= 9~), gem2deb, libncursesw5-dev, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [386 B] Get:5 copy:/<>/apt_archive ./ Packages [467 B] Fetched 1810 B in 0s (0 B/s) Reading package lists... Reading package lists... Install main 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 ca-certificates debhelper devscripts dh-autoreconf dh-strip-nondeterminism dirmngr dwz file gem2deb gem2deb-test-runner gettext gettext-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm groff-base intltool-debian libarchive-zip-perl libassuan0 libb-hooks-op-check-perl libclass-method-modifiers-perl libcroco3 libdebhelper-perl libdevel-callchecker-perl libdynaloader-functions-perl libelf1 libencode-locale-perl libexpat1 libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl libglib2.0-0 libgmp-dev libgmpxx4ldbl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libicu63 libimport-into-perl libio-html-perl libio-pty-perl libio-socket-ssl-perl libipc-run-perl libksba8 libldap-2.4-2 libldap-common liblwp-mediatypes-perl liblwp-protocol-https-perl libmagic-mgc libmagic1 libmodule-runtime-perl libmoo-perl libmpdec2 libncurses-dev libncurses6 libncursesw5-dev libnet-http-perl libnet-ssleay-perl libnpth0 libparams-classify-perl libpipeline1 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libreadline8 librole-tiny-perl libruby2.5 libruby2.7 libsasl2-2 libsasl2-modules-db libsigsegv2 libsqlite3-0 libssl1.1 libstrictures-perl libsub-override-perl libsub-quote-perl libtimedate-perl libtool libtry-tiny-perl libuchardet0 liburi-perl libwww-perl libwww-robotrules-perl libxml2 libyaml-0-2 m4 man-db mime-support netbase openssl patchutils perl-openssl-defaults pinentry-curses po-debconf python3 python3-minimal python3.7 python3.7-minimal rake readline-common ruby ruby-all-dev ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert ruby-setup ruby-test-unit ruby-xmlrpc ruby2.5 ruby2.5-dev ruby2.7 ruby2.7-dev rubygems-integration sensible-utils wdiff Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make adequate autopkgtest bls-standalone bsd-mailx | mailx check-all-the-things cvs-buildpackage devscripts-el diffoscope disorderfs dose-extra duck faketime gnuplot how-can-i-help libauthen-sasl-perl libdbd-pg-perl libfile-desktopentry-perl libnet-smtps-perl libterm-size-perl libyaml-syck-perl mozilla-devscripts mutt piuparts postgresql-client quilt ratt reprotest ssh-client svn-buildpackage w3m dbus-user-session libpam-systemd pinentry-gnome3 tor git-buildpackage pristine-tar gettext-doc libasprintf-dev libgettextpo-dev parcimonie xloadimage scdaemon groff gmp-doc libgmp10-doc libmpfr-dev libdata-dump-perl libcrypt-ssleay-perl ncurses-doc libscalar-number-perl libbareword-filehandles-perl libindirect-perl libmultidimensional-perl libtool-doc gfortran | fortran95-compiler gcj-jdk libauthen-ntlm-perl m4-doc apparmor less www-browser pinentry-doc libmail-box-perl python3-doc python3-tk python3-venv python3.7-venv python3.7-doc binfmt-support readline-doc ri ruby-dev bundler wdiff-doc Recommended packages: at dctrl-tools dput | dupload libdistro-info-perl libgit-wrapper-perl libgitlab-api-v4-perl liblist-compare-perl libstring-shellquote-perl licensecheck lintian python3-apt python3-debian python3-magic python3-requests python3-unidiff python3-xdg strace unzip wget | curl debian-keyring equivs libsoap-lite-perl apt-file curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libhtml-format-perl libclass-xsaccessor-perl libsub-name-perl libgpm2 libsasl2-modules libltdl-dev libdata-dump-perl libhtml-form-perl libhttp-daemon-perl libmailtools-perl libmail-sendmail-perl zip fonts-lato libjs-jquery ruby2.5-doc ruby2.7-doc The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils ca-certificates debhelper devscripts dh-autoreconf dh-strip-nondeterminism dirmngr dwz file gem2deb gem2deb-test-runner gettext gettext-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm groff-base intltool-debian libarchive-zip-perl libassuan0 libb-hooks-op-check-perl libclass-method-modifiers-perl libcroco3 libdebhelper-perl libdevel-callchecker-perl libdynaloader-functions-perl libelf1 libencode-locale-perl libexpat1 libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl libglib2.0-0 libgmp-dev libgmpxx4ldbl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libicu63 libimport-into-perl libio-html-perl libio-pty-perl libio-socket-ssl-perl libipc-run-perl libksba8 libldap-2.4-2 libldap-common liblwp-mediatypes-perl liblwp-protocol-https-perl libmagic-mgc libmagic1 libmodule-runtime-perl libmoo-perl libmpdec2 libncurses-dev libncurses6 libncursesw5-dev libnet-http-perl libnet-ssleay-perl libnpth0 libparams-classify-perl libpipeline1 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libreadline8 librole-tiny-perl libruby2.5 libruby2.7 libsasl2-2 libsasl2-modules-db libsigsegv2 libsqlite3-0 libssl1.1 libstrictures-perl libsub-override-perl libsub-quote-perl libtimedate-perl libtool libtry-tiny-perl libuchardet0 liburi-perl libwww-perl libwww-robotrules-perl libxml2 libyaml-0-2 m4 man-db mime-support netbase openssl patchutils perl-openssl-defaults pinentry-curses po-debconf python3 python3-minimal python3.7 python3.7-minimal rake readline-common ruby ruby-all-dev ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert ruby-setup ruby-test-unit ruby-xmlrpc ruby2.5 ruby2.5-dev ruby2.7 ruby2.7-dev rubygems-integration sbuild-build-depends-main-dummy sensible-utils wdiff 0 upgraded, 133 newly installed, 0 to remove and 0 not upgraded. Need to get 49.6 MB of archives. After this operation, 171 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [892 B] Get:2 http://127.0.0.1:12990/debian sid/main amd64 bsdmainutils amd64 11.1.2+b1 [191 kB] Get:3 http://127.0.0.1:12990/debian sid/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB] Get:4 http://127.0.0.1:12990/debian sid/main amd64 groff-base amd64 1.22.4-4 [919 kB] Get:5 http://127.0.0.1:12990/debian sid/main amd64 libpipeline1 amd64 1.5.2-2 [33.9 kB] Get:6 http://127.0.0.1:12990/debian sid/main amd64 man-db amd64 2.9.0-2 [1307 kB] Get:7 http://127.0.0.1:12990/debian sid/main amd64 libssl1.1 amd64 1.1.1d-2 [1540 kB] Get:8 http://127.0.0.1:12990/debian sid/main amd64 libpython3.7-minimal amd64 3.7.6-1+b1 [591 kB] Get:9 http://127.0.0.1:12990/debian sid/main amd64 libexpat1 amd64 2.2.9-1 [94.3 kB] Get:10 http://127.0.0.1:12990/debian sid/main amd64 python3.7-minimal amd64 3.7.6-1+b1 [1813 kB] Get:11 http://127.0.0.1:12990/debian sid/main amd64 python3-minimal amd64 3.7.5-3 [36.8 kB] Get:12 http://127.0.0.1:12990/debian sid/main amd64 mime-support all 3.64 [37.8 kB] Get:13 http://127.0.0.1:12990/debian sid/main amd64 libmpdec2 amd64 2.4.2-2 [87.2 kB] Get:14 http://127.0.0.1:12990/debian sid/main amd64 readline-common all 8.0-4 [72.5 kB] Get:15 http://127.0.0.1:12990/debian sid/main amd64 libreadline8 amd64 8.0-4 [160 kB] Get:16 http://127.0.0.1:12990/debian sid/main amd64 libsqlite3-0 amd64 3.31.1-3 [661 kB] Get:17 http://127.0.0.1:12990/debian sid/main amd64 libpython3.7-stdlib amd64 3.7.6-1+b1 [1735 kB] Get:18 http://127.0.0.1:12990/debian sid/main amd64 python3.7 amd64 3.7.6-1+b1 [351 kB] Get:19 http://127.0.0.1:12990/debian sid/main amd64 libpython3-stdlib amd64 3.7.5-3 [20.2 kB] Get:20 http://127.0.0.1:12990/debian sid/main amd64 python3 amd64 3.7.5-3 [62.1 kB] Get:21 http://127.0.0.1:12990/debian sid/main amd64 netbase all 6.1 [19.9 kB] Get:22 http://127.0.0.1:12990/debian sid/main amd64 sensible-utils all 0.0.12+nmu1 [16.0 kB] Get:23 http://127.0.0.1:12990/debian sid/main amd64 libmagic-mgc amd64 1:5.38-4 [262 kB] Get:24 http://127.0.0.1:12990/debian sid/main amd64 libmagic1 amd64 1:5.38-4 [120 kB] Get:25 http://127.0.0.1:12990/debian sid/main amd64 file amd64 1:5.38-4 [67.9 kB] Get:26 http://127.0.0.1:12990/debian sid/main amd64 gettext-base amd64 0.19.8.1-10 [123 kB] Get:27 http://127.0.0.1:12990/debian sid/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB] Get:28 http://127.0.0.1:12990/debian sid/main amd64 m4 amd64 1.4.18-4 [203 kB] Get:29 http://127.0.0.1:12990/debian sid/main amd64 autoconf all 2.69-11.1 [341 kB] Get:30 http://127.0.0.1:12990/debian sid/main amd64 autotools-dev all 20180224.1 [77.0 kB] Get:31 http://127.0.0.1:12990/debian sid/main amd64 automake all 1:1.16.1-4 [771 kB] Get:32 http://127.0.0.1:12990/debian sid/main amd64 autopoint all 0.19.8.1-10 [435 kB] Get:33 http://127.0.0.1:12990/debian sid/main amd64 openssl amd64 1.1.1d-2 [840 kB] Get:34 http://127.0.0.1:12990/debian sid/main amd64 ca-certificates all 20190110 [157 kB] Get:35 http://127.0.0.1:12990/debian sid/main amd64 libtool all 2.4.6-13 [513 kB] Get:36 http://127.0.0.1:12990/debian sid/main amd64 dh-autoreconf all 19 [16.9 kB] Get:37 http://127.0.0.1:12990/debian sid/main amd64 libdebhelper-perl all 12.9 [183 kB] Get:38 http://127.0.0.1:12990/debian sid/main amd64 libarchive-zip-perl all 1.67-1 [104 kB] Get:39 http://127.0.0.1:12990/debian sid/main amd64 libsub-override-perl all 0.09-2 [10.2 kB] Get:40 http://127.0.0.1:12990/debian sid/main amd64 libfile-stripnondeterminism-perl all 1.6.3-2 [23.7 kB] Get:41 http://127.0.0.1:12990/debian sid/main amd64 dh-strip-nondeterminism all 1.6.3-2 [14.7 kB] Get:42 http://127.0.0.1:12990/debian sid/main amd64 libelf1 amd64 0.176-1.1 [161 kB] Get:43 http://127.0.0.1:12990/debian sid/main amd64 dwz amd64 0.13-5 [151 kB] Get:44 http://127.0.0.1:12990/debian sid/main amd64 libglib2.0-0 amd64 2.62.4-2 [1319 kB] Get:45 http://127.0.0.1:12990/debian sid/main amd64 libicu63 amd64 63.2-2 [8301 kB] Get:46 http://127.0.0.1:12990/debian sid/main amd64 libxml2 amd64 2.9.10+dfsg-3 [709 kB] Get:47 http://127.0.0.1:12990/debian sid/main amd64 libcroco3 amd64 0.6.13-1 [146 kB] Get:48 http://127.0.0.1:12990/debian sid/main amd64 gettext amd64 0.19.8.1-10 [1303 kB] Get:49 http://127.0.0.1:12990/debian sid/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get:50 http://127.0.0.1:12990/debian sid/main amd64 po-debconf all 1.0.21 [248 kB] Get:51 http://127.0.0.1:12990/debian sid/main amd64 debhelper all 12.9 [994 kB] Get:52 http://127.0.0.1:12990/debian sid/main amd64 libassuan0 amd64 2.5.3-7 [50.4 kB] Get:53 http://127.0.0.1:12990/debian sid/main amd64 gpgconf amd64 2.2.19-1 [529 kB] Get:54 http://127.0.0.1:12990/debian sid/main amd64 libksba8 amd64 1.3.5-2 [99.7 kB] Get:55 http://127.0.0.1:12990/debian sid/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-2 [69.0 kB] Get:56 http://127.0.0.1:12990/debian sid/main amd64 libsasl2-2 amd64 2.1.27+dfsg-2 [106 kB] Get:57 http://127.0.0.1:12990/debian sid/main amd64 libldap-common all 2.4.49+dfsg-1 [91.9 kB] Get:58 http://127.0.0.1:12990/debian sid/main amd64 libldap-2.4-2 amd64 2.4.49+dfsg-1 [226 kB] Get:59 http://127.0.0.1:12990/debian sid/main amd64 libnpth0 amd64 1.6-1 [18.4 kB] Get:60 http://127.0.0.1:12990/debian sid/main amd64 dirmngr amd64 2.2.19-1 [736 kB] Get:61 http://127.0.0.1:12990/debian sid/main amd64 gnupg-l10n all 2.2.19-1 [1040 kB] Get:62 http://127.0.0.1:12990/debian sid/main amd64 gnupg-utils amd64 2.2.19-1 [884 kB] Get:63 http://127.0.0.1:12990/debian sid/main amd64 gpg amd64 2.2.19-1 [889 kB] Get:64 http://127.0.0.1:12990/debian sid/main amd64 pinentry-curses amd64 1.1.0-3+b1 [65.0 kB] Get:65 http://127.0.0.1:12990/debian sid/main amd64 gpg-agent amd64 2.2.19-1 [638 kB] Get:66 http://127.0.0.1:12990/debian sid/main amd64 gpg-wks-client amd64 2.2.19-1 [504 kB] Get:67 http://127.0.0.1:12990/debian sid/main amd64 gpg-wks-server amd64 2.2.19-1 [497 kB] Get:68 http://127.0.0.1:12990/debian sid/main amd64 gpgsm amd64 2.2.19-1 [624 kB] Get:69 http://127.0.0.1:12990/debian sid/main amd64 gnupg all 2.2.19-1 [745 kB] Get:70 http://127.0.0.1:12990/debian sid/main amd64 libfile-which-perl all 1.23-1 [16.6 kB] Get:71 http://127.0.0.1:12990/debian sid/main amd64 libfile-homedir-perl all 1.004-1 [42.7 kB] Get:72 http://127.0.0.1:12990/debian sid/main amd64 libio-pty-perl amd64 1:1.12-1 [36.3 kB] Get:73 http://127.0.0.1:12990/debian sid/main amd64 libipc-run-perl all 20180523.0-2 [101 kB] Get:74 http://127.0.0.1:12990/debian sid/main amd64 libclass-method-modifiers-perl all 2.13-1 [19.2 kB] Get:75 http://127.0.0.1:12990/debian sid/main amd64 libb-hooks-op-check-perl amd64 0.22-1+b2 [11.3 kB] Get:76 http://127.0.0.1:12990/debian sid/main amd64 libdynaloader-functions-perl all 0.003-1 [12.6 kB] Get:77 http://127.0.0.1:12990/debian sid/main amd64 libdevel-callchecker-perl amd64 0.008-1+b1 [15.9 kB] Get:78 http://127.0.0.1:12990/debian sid/main amd64 libparams-classify-perl amd64 0.015-1+b2 [25.6 kB] Get:79 http://127.0.0.1:12990/debian sid/main amd64 libmodule-runtime-perl all 0.016-1 [19.4 kB] Get:80 http://127.0.0.1:12990/debian sid/main amd64 libimport-into-perl all 1.002005-1 [11.6 kB] Get:81 http://127.0.0.1:12990/debian sid/main amd64 librole-tiny-perl all 2.001004-1 [20.8 kB] Get:82 http://127.0.0.1:12990/debian sid/main amd64 libstrictures-perl all 2.000006-1 [18.6 kB] Get:83 http://127.0.0.1:12990/debian sid/main amd64 libsub-quote-perl all 2.006006-1 [21.0 kB] Get:84 http://127.0.0.1:12990/debian sid/main amd64 libmoo-perl all 2.003006-1 [58.7 kB] Get:85 http://127.0.0.1:12990/debian sid/main amd64 libencode-locale-perl all 1.05-1 [13.7 kB] Get:86 http://127.0.0.1:12990/debian sid/main amd64 libtimedate-perl all 2.3100-1 [39.0 kB] Get:87 http://127.0.0.1:12990/debian sid/main amd64 libhttp-date-perl all 6.05-1 [10.4 kB] Get:88 http://127.0.0.1:12990/debian sid/main amd64 libfile-listing-perl all 6.04-1 [10.3 kB] Get:89 http://127.0.0.1:12990/debian sid/main amd64 libhtml-tagset-perl all 3.20-4 [13.0 kB] Get:90 http://127.0.0.1:12990/debian sid/main amd64 liburi-perl all 1.76-2 [90.2 kB] Get:91 http://127.0.0.1:12990/debian sid/main amd64 libhtml-parser-perl amd64 3.72-5 [105 kB] Get:92 http://127.0.0.1:12990/debian sid/main amd64 libhtml-tree-perl all 5.07-2 [213 kB] Get:93 http://127.0.0.1:12990/debian sid/main amd64 libio-html-perl all 1.001-1 [17.6 kB] Get:94 http://127.0.0.1:12990/debian sid/main amd64 liblwp-mediatypes-perl all 6.04-1 [19.9 kB] Get:95 http://127.0.0.1:12990/debian sid/main amd64 libhttp-message-perl all 6.18-1 [77.8 kB] Get:96 http://127.0.0.1:12990/debian sid/main amd64 libhttp-cookies-perl all 6.08-1 [19.3 kB] Get:97 http://127.0.0.1:12990/debian sid/main amd64 libhttp-negotiate-perl all 6.01-1 [12.8 kB] Get:98 http://127.0.0.1:12990/debian sid/main amd64 perl-openssl-defaults amd64 4 [7148 B] Get:99 http://127.0.0.1:12990/debian sid/main amd64 libnet-ssleay-perl amd64 1.88-2 [321 kB] Get:100 http://127.0.0.1:12990/debian sid/main amd64 libio-socket-ssl-perl all 2.067-1 [212 kB] Get:101 http://127.0.0.1:12990/debian sid/main amd64 libnet-http-perl all 6.19-1 [24.8 kB] Get:102 http://127.0.0.1:12990/debian sid/main amd64 liblwp-protocol-https-perl all 6.07-2 [9242 B] Get:103 http://127.0.0.1:12990/debian sid/main amd64 libtry-tiny-perl all 0.30-1 [23.3 kB] Get:104 http://127.0.0.1:12990/debian sid/main amd64 libwww-robotrules-perl all 6.02-1 [12.9 kB] Get:105 http://127.0.0.1:12990/debian sid/main amd64 libwww-perl all 6.43-1 [191 kB] Get:106 http://127.0.0.1:12990/debian sid/main amd64 patchutils amd64 0.3.4-2+b1 [91.4 kB] Get:107 http://127.0.0.1:12990/debian sid/main amd64 wdiff amd64 1.2.2-2+b1 [122 kB] Get:108 http://127.0.0.1:12990/debian sid/main amd64 devscripts amd64 2.20.2 [1053 kB] Get:109 http://127.0.0.1:12990/debian sid/main amd64 rubygems-integration all 1.16 [5632 B] Get:110 http://127.0.0.1:12990/debian sid/main amd64 ruby-did-you-mean all 1.2.1-1 [14.4 kB] Get:111 http://127.0.0.1:12990/debian sid/main amd64 ruby-minitest all 5.13.0-1 [57.3 kB] Get:112 http://127.0.0.1:12990/debian sid/main amd64 ruby-net-telnet all 0.1.1-2 [12.5 kB] Get:113 http://127.0.0.1:12990/debian sid/main amd64 ruby-power-assert all 1.1.5-1 [11.3 kB] Get:114 http://127.0.0.1:12990/debian sid/main amd64 ruby-test-unit all 3.3.4-1 [85.1 kB] Get:115 http://127.0.0.1:12990/debian sid/main amd64 ruby-xmlrpc all 0.3.0-2 [23.7 kB] Get:116 http://127.0.0.1:12990/debian sid/main amd64 libyaml-0-2 amd64 0.2.2-1 [49.6 kB] Get:117 http://127.0.0.1:12990/debian sid/main amd64 libruby2.5 amd64 2.5.7-1+b1 [3412 kB] Get:118 http://127.0.0.1:12990/debian sid/main amd64 ruby2.5 amd64 2.5.7-1+b1 [375 kB] Get:119 http://127.0.0.1:12990/debian sid/main amd64 ruby amd64 1:2.5.7.1 [11.7 kB] Get:120 http://127.0.0.1:12990/debian sid/main amd64 rake all 13.0.1-2 [67.9 kB] Get:121 http://127.0.0.1:12990/debian sid/main amd64 gem2deb-test-runner amd64 1.0.5 [25.2 kB] Get:122 http://127.0.0.1:12990/debian sid/main amd64 libgmpxx4ldbl amd64 2:6.2.0+dfsg-4 [23.0 kB] Get:123 http://127.0.0.1:12990/debian sid/main amd64 libgmp-dev amd64 2:6.2.0+dfsg-4 [643 kB] Get:124 http://127.0.0.1:12990/debian sid/main amd64 ruby2.5-dev amd64 2.5.7-1+b1 [390 kB] Get:125 http://127.0.0.1:12990/debian sid/main amd64 libruby2.7 amd64 2.7.0-4 [4080 kB] Get:126 http://127.0.0.1:12990/debian sid/main amd64 ruby2.7 amd64 2.7.0-4 [651 kB] Get:127 http://127.0.0.1:12990/debian sid/main amd64 ruby2.7-dev amd64 2.7.0-4 [738 kB] Get:128 http://127.0.0.1:12990/debian sid/main amd64 ruby-all-dev amd64 1:2.5.7.1 [11.4 kB] Get:129 http://127.0.0.1:12990/debian sid/main amd64 ruby-setup all 3.4.1-9 [34.2 kB] Get:130 http://127.0.0.1:12990/debian sid/main amd64 gem2deb amd64 1.0.5 [62.0 kB] Get:131 http://127.0.0.1:12990/debian sid/main amd64 libncurses6 amd64 6.1+20191019-1 [102 kB] Get:132 http://127.0.0.1:12990/debian sid/main amd64 libncurses-dev amd64 6.1+20191019-1 [337 kB] Get:133 http://127.0.0.1:12990/debian sid/main amd64 libncursesw5-dev amd64 6.1+20191019-1 [944 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 49.6 MB in 1s (92.2 MB/s) Selecting previously unselected package bsdmainutils. (Reading database ... 13887 files and directories currently installed.) Preparing to unpack .../0-bsdmainutils_11.1.2+b1_amd64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../1-libuchardet0_0.0.6-3_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../2-groff-base_1.22.4-4_amd64.deb ... Unpacking groff-base (1.22.4-4) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../3-libpipeline1_1.5.2-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.2-2) ... Selecting previously unselected package man-db. Preparing to unpack .../4-man-db_2.9.0-2_amd64.deb ... Unpacking man-db (2.9.0-2) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../5-libssl1.1_1.1.1d-2_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1d-2) ... Selecting previously unselected package libpython3.7-minimal:amd64. Preparing to unpack .../6-libpython3.7-minimal_3.7.6-1+b1_amd64.deb ... Unpacking libpython3.7-minimal:amd64 (3.7.6-1+b1) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../7-libexpat1_2.2.9-1_amd64.deb ... Unpacking libexpat1:amd64 (2.2.9-1) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../8-python3.7-minimal_3.7.6-1+b1_amd64.deb ... Unpacking python3.7-minimal (3.7.6-1+b1) ... Setting up libssl1.1:amd64 (1.1.1d-2) ... Setting up libpython3.7-minimal:amd64 (3.7.6-1+b1) ... Setting up libexpat1:amd64 (2.2.9-1) ... Setting up python3.7-minimal (3.7.6-1+b1) ... Selecting previously unselected package python3-minimal. (Reading database ... 14796 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.7.5-3_amd64.deb ... Unpacking python3-minimal (3.7.5-3) ... Selecting previously unselected package mime-support. Preparing to unpack .../1-mime-support_3.64_all.deb ... Unpacking mime-support (3.64) ... Selecting previously unselected package libmpdec2:amd64. Preparing to unpack .../2-libmpdec2_2.4.2-2_amd64.deb ... Unpacking libmpdec2:amd64 (2.4.2-2) ... Selecting previously unselected package readline-common. Preparing to unpack .../3-readline-common_8.0-4_all.deb ... Unpacking readline-common (8.0-4) ... Selecting previously unselected package libreadline8:amd64. Preparing to unpack .../4-libreadline8_8.0-4_amd64.deb ... Unpacking libreadline8:amd64 (8.0-4) ... Selecting previously unselected package libsqlite3-0:amd64. Preparing to unpack .../5-libsqlite3-0_3.31.1-3_amd64.deb ... Unpacking libsqlite3-0:amd64 (3.31.1-3) ... Selecting previously unselected package libpython3.7-stdlib:amd64. Preparing to unpack .../6-libpython3.7-stdlib_3.7.6-1+b1_amd64.deb ... Unpacking libpython3.7-stdlib:amd64 (3.7.6-1+b1) ... Selecting previously unselected package python3.7. Preparing to unpack .../7-python3.7_3.7.6-1+b1_amd64.deb ... Unpacking python3.7 (3.7.6-1+b1) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../8-libpython3-stdlib_3.7.5-3_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.7.5-3) ... Setting up python3-minimal (3.7.5-3) ... Selecting previously unselected package python3. (Reading database ... 15267 files and directories currently installed.) Preparing to unpack .../000-python3_3.7.5-3_amd64.deb ... Unpacking python3 (3.7.5-3) ... Selecting previously unselected package netbase. Preparing to unpack .../001-netbase_6.1_all.deb ... Unpacking netbase (6.1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../002-sensible-utils_0.0.12+nmu1_all.deb ... Unpacking sensible-utils (0.0.12+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../003-libmagic-mgc_1%3a5.38-4_amd64.deb ... Unpacking libmagic-mgc (1:5.38-4) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../004-libmagic1_1%3a5.38-4_amd64.deb ... Unpacking libmagic1:amd64 (1:5.38-4) ... Selecting previously unselected package file. Preparing to unpack .../005-file_1%3a5.38-4_amd64.deb ... Unpacking file (1:5.38-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../006-gettext-base_0.19.8.1-10_amd64.deb ... Unpacking gettext-base (0.19.8.1-10) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../007-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../008-m4_1.4.18-4_amd64.deb ... Unpacking m4 (1.4.18-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../009-autoconf_2.69-11.1_all.deb ... Unpacking autoconf (2.69-11.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../010-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../011-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../012-autopoint_0.19.8.1-10_all.deb ... Unpacking autopoint (0.19.8.1-10) ... Selecting previously unselected package openssl. Preparing to unpack .../013-openssl_1.1.1d-2_amd64.deb ... Unpacking openssl (1.1.1d-2) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../014-ca-certificates_20190110_all.deb ... Unpacking ca-certificates (20190110) ... Selecting previously unselected package libtool. Preparing to unpack .../015-libtool_2.4.6-13_all.deb ... Unpacking libtool (2.4.6-13) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../016-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../017-libdebhelper-perl_12.9_all.deb ... Unpacking libdebhelper-perl (12.9) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../018-libarchive-zip-perl_1.67-1_all.deb ... Unpacking libarchive-zip-perl (1.67-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../019-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../020-libfile-stripnondeterminism-perl_1.6.3-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.6.3-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../021-dh-strip-nondeterminism_1.6.3-2_all.deb ... Unpacking dh-strip-nondeterminism (1.6.3-2) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../022-libelf1_0.176-1.1_amd64.deb ... Unpacking libelf1:amd64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../023-dwz_0.13-5_amd64.deb ... Unpacking dwz (0.13-5) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../024-libglib2.0-0_2.62.4-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.62.4-2) ... Selecting previously unselected package libicu63:amd64. Preparing to unpack .../025-libicu63_63.2-2_amd64.deb ... Unpacking libicu63:amd64 (63.2-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../026-libxml2_2.9.10+dfsg-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.10+dfsg-3) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../027-libcroco3_0.6.13-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.13-1) ... Selecting previously unselected package gettext. Preparing to unpack .../028-gettext_0.19.8.1-10_amd64.deb ... Unpacking gettext (0.19.8.1-10) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../029-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../030-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../031-debhelper_12.9_all.deb ... Unpacking debhelper (12.9) ... Selecting previously unselected package libassuan0:amd64. Preparing to unpack .../032-libassuan0_2.5.3-7_amd64.deb ... Unpacking libassuan0:amd64 (2.5.3-7) ... Selecting previously unselected package gpgconf. Preparing to unpack .../033-gpgconf_2.2.19-1_amd64.deb ... Unpacking gpgconf (2.2.19-1) ... Selecting previously unselected package libksba8:amd64. Preparing to unpack .../034-libksba8_1.3.5-2_amd64.deb ... Unpacking libksba8:amd64 (1.3.5-2) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../035-libsasl2-modules-db_2.1.27+dfsg-2_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../036-libsasl2-2_2.1.27+dfsg-2_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.27+dfsg-2) ... Selecting previously unselected package libldap-common. Preparing to unpack .../037-libldap-common_2.4.49+dfsg-1_all.deb ... Unpacking libldap-common (2.4.49+dfsg-1) ... Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack .../038-libldap-2.4-2_2.4.49+dfsg-1_amd64.deb ... Unpacking libldap-2.4-2:amd64 (2.4.49+dfsg-1) ... Selecting previously unselected package libnpth0:amd64. Preparing to unpack .../039-libnpth0_1.6-1_amd64.deb ... Unpacking libnpth0:amd64 (1.6-1) ... Selecting previously unselected package dirmngr. Preparing to unpack .../040-dirmngr_2.2.19-1_amd64.deb ... Unpacking dirmngr (2.2.19-1) ... Selecting previously unselected package gnupg-l10n. Preparing to unpack .../041-gnupg-l10n_2.2.19-1_all.deb ... Unpacking gnupg-l10n (2.2.19-1) ... Selecting previously unselected package gnupg-utils. Preparing to unpack .../042-gnupg-utils_2.2.19-1_amd64.deb ... Unpacking gnupg-utils (2.2.19-1) ... Selecting previously unselected package gpg. Preparing to unpack .../043-gpg_2.2.19-1_amd64.deb ... Unpacking gpg (2.2.19-1) ... Selecting previously unselected package pinentry-curses. Preparing to unpack .../044-pinentry-curses_1.1.0-3+b1_amd64.deb ... Unpacking pinentry-curses (1.1.0-3+b1) ... Selecting previously unselected package gpg-agent. Preparing to unpack .../045-gpg-agent_2.2.19-1_amd64.deb ... Unpacking gpg-agent (2.2.19-1) ... Selecting previously unselected package gpg-wks-client. Preparing to unpack .../046-gpg-wks-client_2.2.19-1_amd64.deb ... Unpacking gpg-wks-client (2.2.19-1) ... Selecting previously unselected package gpg-wks-server. Preparing to unpack .../047-gpg-wks-server_2.2.19-1_amd64.deb ... Unpacking gpg-wks-server (2.2.19-1) ... Selecting previously unselected package gpgsm. Preparing to unpack .../048-gpgsm_2.2.19-1_amd64.deb ... Unpacking gpgsm (2.2.19-1) ... Selecting previously unselected package gnupg. Preparing to unpack .../049-gnupg_2.2.19-1_all.deb ... Unpacking gnupg (2.2.19-1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../050-libfile-which-perl_1.23-1_all.deb ... Unpacking libfile-which-perl (1.23-1) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../051-libfile-homedir-perl_1.004-1_all.deb ... Unpacking libfile-homedir-perl (1.004-1) ... Selecting previously unselected package libio-pty-perl. Preparing to unpack .../052-libio-pty-perl_1%3a1.12-1_amd64.deb ... Unpacking libio-pty-perl (1:1.12-1) ... Selecting previously unselected package libipc-run-perl. Preparing to unpack .../053-libipc-run-perl_20180523.0-2_all.deb ... Unpacking libipc-run-perl (20180523.0-2) ... Selecting previously unselected package libclass-method-modifiers-perl. Preparing to unpack .../054-libclass-method-modifiers-perl_2.13-1_all.deb ... Unpacking libclass-method-modifiers-perl (2.13-1) ... Selecting previously unselected package libb-hooks-op-check-perl. Preparing to unpack .../055-libb-hooks-op-check-perl_0.22-1+b2_amd64.deb ... Unpacking libb-hooks-op-check-perl (0.22-1+b2) ... Selecting previously unselected package libdynaloader-functions-perl. Preparing to unpack .../056-libdynaloader-functions-perl_0.003-1_all.deb ... Unpacking libdynaloader-functions-perl (0.003-1) ... Selecting previously unselected package libdevel-callchecker-perl. Preparing to unpack .../057-libdevel-callchecker-perl_0.008-1+b1_amd64.deb ... Unpacking libdevel-callchecker-perl (0.008-1+b1) ... Selecting previously unselected package libparams-classify-perl. Preparing to unpack .../058-libparams-classify-perl_0.015-1+b2_amd64.deb ... Unpacking libparams-classify-perl (0.015-1+b2) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../059-libmodule-runtime-perl_0.016-1_all.deb ... Unpacking libmodule-runtime-perl (0.016-1) ... Selecting previously unselected package libimport-into-perl. Preparing to unpack .../060-libimport-into-perl_1.002005-1_all.deb ... Unpacking libimport-into-perl (1.002005-1) ... Selecting previously unselected package librole-tiny-perl. Preparing to unpack .../061-librole-tiny-perl_2.001004-1_all.deb ... Unpacking librole-tiny-perl (2.001004-1) ... Selecting previously unselected package libstrictures-perl. Preparing to unpack .../062-libstrictures-perl_2.000006-1_all.deb ... Unpacking libstrictures-perl (2.000006-1) ... Selecting previously unselected package libsub-quote-perl. Preparing to unpack .../063-libsub-quote-perl_2.006006-1_all.deb ... Unpacking libsub-quote-perl (2.006006-1) ... Selecting previously unselected package libmoo-perl. Preparing to unpack .../064-libmoo-perl_2.003006-1_all.deb ... Unpacking libmoo-perl (2.003006-1) ... Selecting previously unselected package libencode-locale-perl. Preparing to unpack .../065-libencode-locale-perl_1.05-1_all.deb ... Unpacking libencode-locale-perl (1.05-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../066-libtimedate-perl_2.3100-1_all.deb ... Unpacking libtimedate-perl (2.3100-1) ... Selecting previously unselected package libhttp-date-perl. Preparing to unpack .../067-libhttp-date-perl_6.05-1_all.deb ... Unpacking libhttp-date-perl (6.05-1) ... Selecting previously unselected package libfile-listing-perl. Preparing to unpack .../068-libfile-listing-perl_6.04-1_all.deb ... Unpacking libfile-listing-perl (6.04-1) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../069-libhtml-tagset-perl_3.20-4_all.deb ... Unpacking libhtml-tagset-perl (3.20-4) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../070-liburi-perl_1.76-2_all.deb ... Unpacking liburi-perl (1.76-2) ... Selecting previously unselected package libhtml-parser-perl. Preparing to unpack .../071-libhtml-parser-perl_3.72-5_amd64.deb ... Unpacking libhtml-parser-perl (3.72-5) ... Selecting previously unselected package libhtml-tree-perl. Preparing to unpack .../072-libhtml-tree-perl_5.07-2_all.deb ... Unpacking libhtml-tree-perl (5.07-2) ... Selecting previously unselected package libio-html-perl. Preparing to unpack .../073-libio-html-perl_1.001-1_all.deb ... Unpacking libio-html-perl (1.001-1) ... Selecting previously unselected package liblwp-mediatypes-perl. Preparing to unpack .../074-liblwp-mediatypes-perl_6.04-1_all.deb ... Unpacking liblwp-mediatypes-perl (6.04-1) ... Selecting previously unselected package libhttp-message-perl. Preparing to unpack .../075-libhttp-message-perl_6.18-1_all.deb ... Unpacking libhttp-message-perl (6.18-1) ... Selecting previously unselected package libhttp-cookies-perl. Preparing to unpack .../076-libhttp-cookies-perl_6.08-1_all.deb ... Unpacking libhttp-cookies-perl (6.08-1) ... Selecting previously unselected package libhttp-negotiate-perl. Preparing to unpack .../077-libhttp-negotiate-perl_6.01-1_all.deb ... Unpacking libhttp-negotiate-perl (6.01-1) ... Selecting previously unselected package perl-openssl-defaults:amd64. Preparing to unpack .../078-perl-openssl-defaults_4_amd64.deb ... Unpacking perl-openssl-defaults:amd64 (4) ... Selecting previously unselected package libnet-ssleay-perl. Preparing to unpack .../079-libnet-ssleay-perl_1.88-2_amd64.deb ... Unpacking libnet-ssleay-perl (1.88-2) ... Selecting previously unselected package libio-socket-ssl-perl. Preparing to unpack .../080-libio-socket-ssl-perl_2.067-1_all.deb ... Unpacking libio-socket-ssl-perl (2.067-1) ... Selecting previously unselected package libnet-http-perl. Preparing to unpack .../081-libnet-http-perl_6.19-1_all.deb ... Unpacking libnet-http-perl (6.19-1) ... Selecting previously unselected package liblwp-protocol-https-perl. Preparing to unpack .../082-liblwp-protocol-https-perl_6.07-2_all.deb ... Unpacking liblwp-protocol-https-perl (6.07-2) ... Selecting previously unselected package libtry-tiny-perl. Preparing to unpack .../083-libtry-tiny-perl_0.30-1_all.deb ... Unpacking libtry-tiny-perl (0.30-1) ... Selecting previously unselected package libwww-robotrules-perl. Preparing to unpack .../084-libwww-robotrules-perl_6.02-1_all.deb ... Unpacking libwww-robotrules-perl (6.02-1) ... Selecting previously unselected package libwww-perl. Preparing to unpack .../085-libwww-perl_6.43-1_all.deb ... Unpacking libwww-perl (6.43-1) ... Selecting previously unselected package patchutils. Preparing to unpack .../086-patchutils_0.3.4-2+b1_amd64.deb ... Unpacking patchutils (0.3.4-2+b1) ... Selecting previously unselected package wdiff. Preparing to unpack .../087-wdiff_1.2.2-2+b1_amd64.deb ... Unpacking wdiff (1.2.2-2+b1) ... Selecting previously unselected package devscripts. Preparing to unpack .../088-devscripts_2.20.2_amd64.deb ... Unpacking devscripts (2.20.2) ... Selecting previously unselected package rubygems-integration. Preparing to unpack .../089-rubygems-integration_1.16_all.deb ... Unpacking rubygems-integration (1.16) ... Selecting previously unselected package ruby-did-you-mean. Preparing to unpack .../090-ruby-did-you-mean_1.2.1-1_all.deb ... Unpacking ruby-did-you-mean (1.2.1-1) ... Selecting previously unselected package ruby-minitest. Preparing to unpack .../091-ruby-minitest_5.13.0-1_all.deb ... Unpacking ruby-minitest (5.13.0-1) ... Selecting previously unselected package ruby-net-telnet. Preparing to unpack .../092-ruby-net-telnet_0.1.1-2_all.deb ... Unpacking ruby-net-telnet (0.1.1-2) ... Selecting previously unselected package ruby-power-assert. Preparing to unpack .../093-ruby-power-assert_1.1.5-1_all.deb ... Unpacking ruby-power-assert (1.1.5-1) ... Selecting previously unselected package ruby-test-unit. Preparing to unpack .../094-ruby-test-unit_3.3.4-1_all.deb ... Unpacking ruby-test-unit (3.3.4-1) ... Selecting previously unselected package ruby-xmlrpc. Preparing to unpack .../095-ruby-xmlrpc_0.3.0-2_all.deb ... Unpacking ruby-xmlrpc (0.3.0-2) ... Selecting previously unselected package libyaml-0-2:amd64. Preparing to unpack .../096-libyaml-0-2_0.2.2-1_amd64.deb ... Unpacking libyaml-0-2:amd64 (0.2.2-1) ... Selecting previously unselected package libruby2.5:amd64. Preparing to unpack .../097-libruby2.5_2.5.7-1+b1_amd64.deb ... Unpacking libruby2.5:amd64 (2.5.7-1+b1) ... Selecting previously unselected package ruby2.5. Preparing to unpack .../098-ruby2.5_2.5.7-1+b1_amd64.deb ... Unpacking ruby2.5 (2.5.7-1+b1) ... Selecting previously unselected package ruby. Preparing to unpack .../099-ruby_1%3a2.5.7.1_amd64.deb ... Unpacking ruby (1:2.5.7.1) ... Selecting previously unselected package rake. Preparing to unpack .../100-rake_13.0.1-2_all.deb ... Unpacking rake (13.0.1-2) ... Selecting previously unselected package gem2deb-test-runner. Preparing to unpack .../101-gem2deb-test-runner_1.0.5_amd64.deb ... Unpacking gem2deb-test-runner (1.0.5) ... Selecting previously unselected package libgmpxx4ldbl:amd64. Preparing to unpack .../102-libgmpxx4ldbl_2%3a6.2.0+dfsg-4_amd64.deb ... Unpacking libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4) ... Selecting previously unselected package libgmp-dev:amd64. Preparing to unpack .../103-libgmp-dev_2%3a6.2.0+dfsg-4_amd64.deb ... Unpacking libgmp-dev:amd64 (2:6.2.0+dfsg-4) ... Selecting previously unselected package ruby2.5-dev:amd64. Preparing to unpack .../104-ruby2.5-dev_2.5.7-1+b1_amd64.deb ... Unpacking ruby2.5-dev:amd64 (2.5.7-1+b1) ... Selecting previously unselected package libruby2.7:amd64. Preparing to unpack .../105-libruby2.7_2.7.0-4_amd64.deb ... Unpacking libruby2.7:amd64 (2.7.0-4) ... Selecting previously unselected package ruby2.7. Preparing to unpack .../106-ruby2.7_2.7.0-4_amd64.deb ... Unpacking ruby2.7 (2.7.0-4) ... Selecting previously unselected package ruby2.7-dev:amd64. Preparing to unpack .../107-ruby2.7-dev_2.7.0-4_amd64.deb ... Unpacking ruby2.7-dev:amd64 (2.7.0-4) ... Selecting previously unselected package ruby-all-dev:amd64. Preparing to unpack .../108-ruby-all-dev_1%3a2.5.7.1_amd64.deb ... Unpacking ruby-all-dev:amd64 (1:2.5.7.1) ... Selecting previously unselected package ruby-setup. Preparing to unpack .../109-ruby-setup_3.4.1-9_all.deb ... Unpacking ruby-setup (3.4.1-9) ... Selecting previously unselected package gem2deb. Preparing to unpack .../110-gem2deb_1.0.5_amd64.deb ... Unpacking gem2deb (1.0.5) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../111-libncurses6_6.1+20191019-1_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20191019-1) ... Selecting previously unselected package libncurses-dev:amd64. Preparing to unpack .../112-libncurses-dev_6.1+20191019-1_amd64.deb ... Unpacking libncurses-dev:amd64 (6.1+20191019-1) ... Selecting previously unselected package libncursesw5-dev:amd64. Preparing to unpack .../113-libncursesw5-dev_6.1+20191019-1_amd64.deb ... Unpacking libncursesw5-dev:amd64 (6.1+20191019-1) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../114-sbuild-build-depends-main-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libksba8:amd64 (1.3.5-2) ... Setting up libpipeline1:amd64 (1.5.2-2) ... Setting up wdiff (1.2.2-2+b1) ... Setting up libfile-which-perl (1.23-1) ... Setting up mime-support (3.64) ... Setting up libdynaloader-functions-perl (0.003-1) ... Setting up libclass-method-modifiers-perl (2.13-1) ... Setting up ruby-power-assert (1.1.5-1) ... Setting up libio-pty-perl (1:1.12-1) ... Setting up libmagic-mgc (1:5.38-4) ... Setting up libarchive-zip-perl (1.67-1) ... Setting up libyaml-0-2:amd64 (0.2.2-1) ... Setting up libglib2.0-0:amd64 (2.62.4-2) ... No schema files found: doing nothing. Setting up libhtml-tagset-perl (3.20-4) ... Setting up libdebhelper-perl (12.9) ... Setting up libsqlite3-0:amd64 (3.31.1-3) ... Setting up liblwp-mediatypes-perl (6.04-1) ... Setting up libtry-tiny-perl (0.30-1) ... Setting up libmagic1:amd64 (1:5.38-4) ... Setting up perl-openssl-defaults:amd64 (4) ... Setting up gettext-base (0.19.8.1-10) ... Setting up libencode-locale-perl (1.05-1) ... Setting up libnpth0:amd64 (1.6-1) ... Setting up file (1:5.38-4) ... Setting up libassuan0:amd64 (2.5.3-7) ... Setting up libldap-common (2.4.49+dfsg-1) ... Setting up libicu63:amd64 (63.2-2) ... Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ... Setting up ruby-minitest (5.13.0-1) ... Setting up patchutils (0.3.4-2+b1) ... Setting up autotools-dev (20180224.1) ... Setting up libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4) ... Setting up ruby-test-unit (3.3.4-1) ... Setting up gnupg-l10n (2.2.19-1) ... Setting up libncurses6:amd64 (6.1+20191019-1) ... Setting up ruby-net-telnet (0.1.1-2) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up bsdmainutils (11.1.2+b1) ... 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 libio-html-perl (1.001-1) ... Setting up autopoint (0.19.8.1-10) ... Setting up libb-hooks-op-check-perl (0.22-1+b2) ... Setting up libipc-run-perl (20180523.0-2) ... Setting up libsasl2-2:amd64 (2.1.27+dfsg-2) ... Setting up libtimedate-perl (2.3100-1) ... Setting up sensible-utils (0.0.12+nmu1) ... Setting up libuchardet0:amd64 (0.0.6-3) ... Setting up librole-tiny-perl (2.001004-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up netbase (6.1) ... Setting up libstrictures-perl (2.000006-1) ... Setting up libsub-quote-perl (2.006006-1) ... Setting up libmpdec2:amd64 (2.4.2-2) ... Setting up ruby-did-you-mean (1.2.1-1) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up openssl (1.1.1d-2) ... Setting up libelf1:amd64 (0.176-1.1) ... Setting up readline-common (8.0-4) ... Setting up ruby-xmlrpc (0.3.0-2) ... Setting up libxml2:amd64 (2.9.10+dfsg-3) ... Setting up liburi-perl (1.76-2) ... Setting up libnet-ssleay-perl (1.88-2) ... Setting up pinentry-curses (1.1.0-3+b1) ... Setting up libfile-stripnondeterminism-perl (1.6.3-2) ... Setting up libhttp-date-perl (6.05-1) ... Setting up libncurses-dev:amd64 (6.1+20191019-1) ... Setting up libgmp-dev:amd64 (2:6.2.0+dfsg-4) ... Setting up libfile-listing-perl (6.04-1) ... Setting up libncursesw5-dev:amd64 (6.1+20191019-1) ... Setting up libtool (2.4.6-13) ... Setting up libreadline8:amd64 (8.0-4) ... Setting up libldap-2.4-2:amd64 (2.4.49+dfsg-1) ... Setting up libnet-http-perl (6.19-1) ... Setting up m4 (1.4.18-4) ... Setting up libdevel-callchecker-perl (0.008-1+b1) ... Setting up ca-certificates (20190110) ... Updating certificates in /etc/ssl/certs... 128 added, 0 removed; done. Setting up libcroco3:amd64 (0.6.13-1) ... Setting up autoconf (2.69-11.1) ... Setting up dh-strip-nondeterminism (1.6.3-2) ... Setting up libwww-robotrules-perl (6.02-1) ... Setting up dwz (0.13-5) ... Setting up groff-base (1.22.4-4) ... Setting up libhtml-parser-perl (3.72-5) ... Setting up gpgconf (2.2.19-1) ... Setting up libio-socket-ssl-perl (2.067-1) ... Setting up gpg (2.2.19-1) ... Setting up gnupg-utils (2.2.19-1) ... Setting up libhttp-message-perl (6.18-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libhttp-negotiate-perl (6.01-1) ... Setting up libpython3.7-stdlib:amd64 (3.7.6-1+b1) ... Setting up gettext (0.19.8.1-10) ... Setting up gpg-agent (2.2.19-1) ... Setting up libhttp-cookies-perl (6.08-1) ... Setting up libhtml-tree-perl (5.07-2) ... Setting up libparams-classify-perl (0.015-1+b2) ... Setting up gpgsm (2.2.19-1) ... Setting up rubygems-integration (1.16) ... Setting up man-db (2.9.0-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up dirmngr (2.2.19-1) ... Setting up libmodule-runtime-perl (0.016-1) ... Setting up gpg-wks-server (2.2.19-1) ... Setting up libpython3-stdlib:amd64 (3.7.5-3) ... Setting up python3.7 (3.7.6-1+b1) ... Setting up gpg-wks-client (2.2.19-1) ... Setting up libimport-into-perl (1.002005-1) ... Setting up libmoo-perl (2.003006-1) ... Setting up po-debconf (1.0.21) ... Setting up python3 (3.7.5-3) ... Setting up gnupg (2.2.19-1) ... Setting up libwww-perl (6.43-1) ... Setting up dh-autoreconf (19) ... Setting up devscripts (2.20.2) ... Setting up rake (13.0.1-2) ... Setting up liblwp-protocol-https-perl (6.07-2) ... Setting up libruby2.5:amd64 (2.5.7-1+b1) ... Setting up debhelper (12.9) ... Setting up libruby2.7:amd64 (2.7.0-4) ... Setting up ruby2.5-dev:amd64 (2.5.7-1+b1) ... Setting up ruby2.7-dev:amd64 (2.7.0-4) ... Setting up ruby2.5 (2.5.7-1+b1) ... Setting up ruby2.7 (2.7.0-4) ... Setting up ruby-all-dev:amd64 (1:2.5.7.1) ... Setting up ruby (1:2.5.7.1) ... Setting up ruby-setup (3.4.1-9) ... Setting up gem2deb-test-runner (1.0.5) ... Setting up gem2deb (1.0.5) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.29-10) ... Processing triggers for ca-certificates (20190110) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.19.0-6-cloud-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) amd64 (x86_64) Toolchain package versions: binutils_2.34-3 dpkg-dev_1.19.7 g++-9_9.2.1-30 gcc-9_9.2.1-30 libc6-dev_2.29-10 libstdc++-8-dev_8.3.0-29 libstdc++-9-dev_9.2.1-30 libstdc++6_10-20200222-1 linux-libc-dev_5.4.19-1 Package versions: adduser_3.118 apt_1.8.4 autoconf_2.69-11.1 automake_1:1.16.1-4 autopoint_0.19.8.1-10 autotools-dev_20180224.1 base-files_11 base-passwd_3.5.47 bash_5.0-6 binutils_2.34-3 binutils-common_2.34-3 binutils-x86-64-linux-gnu_2.34-3 bsdmainutils_11.1.2+b1 bsdutils_1:2.34-0.1 build-essential_12.8 bzip2_1.0.8-2 ca-certificates_20190110 clang-8_1:8.0.1-7 coreutils_8.30-3+b1 cpp_4:9.2.1-3.1 cpp-9_9.2.1-30 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.9 debian-archive-keyring_2019.1 debianutils_4.9.1 devscripts_2.20.2 dh-autoreconf_19 dh-strip-nondeterminism_1.6.3-2 diffutils_1:3.7-3 dirmngr_2.2.19-1 dpkg_1.19.7 dpkg-dev_1.19.7 dwz_0.13-5 e2fsprogs_1.45.5-2 fakeroot_1.24-1 fdisk_2.34-0.1 file_1:5.38-4 findutils_4.7.0-1 g++_4:9.2.1-3.1 g++-9_9.2.1-30 gcc_4:9.2.1-3.1 gcc-10-base_10-20200222-1 gcc-8-base_8.3.0-29 gcc-9_9.2.1-30 gcc-9-base_9.2.1-30 gem2deb_1.0.5 gem2deb-test-runner_1.0.5 gettext_0.19.8.1-10 gettext-base_0.19.8.1-10 gnupg_2.2.19-1 gnupg-l10n_2.2.19-1 gnupg-utils_2.2.19-1 gpg_2.2.19-1 gpg-agent_2.2.19-1 gpg-wks-client_2.2.19-1 gpg-wks-server_2.2.19-1 gpgconf_2.2.19-1 gpgsm_2.2.19-1 gpgv_2.2.19-1 grep_3.4-1 groff-base_1.22.4-4 gzip_1.9-3+b1 hostname_3.23 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 lib32gcc-s1_10-20200222-1 lib32gcc1_1:10-20200222-1 lib32stdc++6_10-20200222-1 libacl1_2.2.53-5 libapt-pkg5.0_1.8.4 libarchive-zip-perl_1.67-1 libasan5_9.2.1-30 libassuan0_2.5.3-7 libatomic1_10-20200222-1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2 libaudit1_1:2.8.5-2+b1 libb-hooks-op-check-perl_0.22-1+b2 libbinutils_2.34-3 libblkid1_2.34-0.1 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.29-10 libc-dev-bin_2.29-10 libc6_2.29-10 libc6-dev_2.29-10 libc6-i386_2.29-10 libcap-ng0_0.7.9-2.1+b1 libcc1-0_10-20200222-1 libclang-common-8-dev_1:8.0.1-7 libclang1-8_1:8.0.1-7 libclass-method-modifiers-perl_2.13-1 libcom-err2_1.45.5-2 libcroco3_0.6.13-1 libcrypt-dev_1:4.4.10-10 libcrypt1_1:4.4.10-10 libctf-nobfd0_2.34-3 libctf0_2.34-3 libdb5.3_5.3.28+dfsg1-0.6 libdebconfclient0_0.251 libdebhelper-perl_12.9 libdevel-callchecker-perl_0.008-1+b1 libdpkg-perl_1.19.7 libdynaloader-functions-perl_0.003-1 libedit2_3.1-20191231-1 libelf1_0.176-1.1 libencode-locale-perl_1.05-1 libexpat1_2.2.9-1 libext2fs2_1.45.5-2 libfakeroot_1.24-1 libfdisk1_2.34-0.1 libffi7_3.3-3 libfile-homedir-perl_1.004-1 libfile-listing-perl_6.04-1 libfile-stripnondeterminism-perl_1.6.3-2 libfile-which-perl_1.23-1 libgc1c2_1:7.6.4-0.4 libgcc-8-dev_8.3.0-29 libgcc-9-dev_9.2.1-30 libgcc-s1_10-20200222-1 libgcc1_1:10-20200222-1 libgcrypt20_1.8.5-5 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.62.4-2 libgmp-dev_2:6.2.0+dfsg-4 libgmp10_2:6.2.0+dfsg-4 libgmpxx4ldbl_2:6.2.0+dfsg-4 libgnutls30_3.6.12-2 libgomp1_10-20200222-1 libgpg-error0_1.37-1 libhogweed5_3.5.1+really3.5.1-2 libhtml-parser-perl_3.72-5 libhtml-tagset-perl_3.20-4 libhtml-tree-perl_5.07-2 libhttp-cookies-perl_6.08-1 libhttp-date-perl_6.05-1 libhttp-message-perl_6.18-1 libhttp-negotiate-perl_6.01-1 libicu63_63.2-2 libidn2-0_2.2.0-2 libimport-into-perl_1.002005-1 libio-html-perl_1.001-1 libio-pty-perl_1:1.12-1 libio-socket-ssl-perl_2.067-1 libipc-run-perl_20180523.0-2 libisl22_0.22.1-1 libitm1_10-20200222-1 libksba8_1.3.5-2 libldap-2.4-2_2.4.49+dfsg-1 libldap-common_2.4.49+dfsg-1 libllvm8_1:8.0.1-7 liblsan0_10-20200222-1 liblwp-mediatypes-perl_6.04-1 liblwp-protocol-https-perl_6.07-2 liblz4-1_1.9.2-2 liblzma5_5.2.4-1+b1 libmagic-mgc_1:5.38-4 libmagic1_1:5.38-4 libmodule-runtime-perl_0.016-1 libmoo-perl_2.003006-1 libmount1_2.34-0.1 libmpc3_1.1.0-1 libmpdec2_2.4.2-2 libmpfr6_4.0.2-1 libmpx2_8.3.0-29 libncurses-dev_6.1+20191019-1 libncurses6_6.1+20191019-1 libncursesw5-dev_6.1+20191019-1 libncursesw6_6.1+20191019-1 libnet-http-perl_6.19-1 libnet-ssleay-perl_1.88-2 libnettle7_3.5.1+really3.5.1-2 libnpth0_1.6-1 libobjc-8-dev_8.3.0-29 libobjc-9-dev_9.2.1-30 libobjc4_10-20200222-1 libomp-8-dev_1:8.0.1-7 libomp5-8_1:8.0.1-7 libp11-kit0_0.23.20-1 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libparams-classify-perl_0.015-1+b2 libpcre2-8-0_10.34-7 libpcre3_2:8.39-12+b1 libperl5.30_5.30.0-9 libpipeline1_1.5.2-2 libpython3-stdlib_3.7.5-3 libpython3.7-minimal_3.7.6-1+b1 libpython3.7-stdlib_3.7.6-1+b1 libquadmath0_10-20200222-1 libreadline8_8.0-4 librole-tiny-perl_2.001004-1 libruby2.5_2.5.7-1+b1 libruby2.7_2.7.0-4 libsasl2-2_2.1.27+dfsg-2 libsasl2-modules-db_2.1.27+dfsg-2 libseccomp2_2.4.2-2 libselinux1_3.0-1+b1 libsemanage-common_3.0-1 libsemanage1_3.0-1+b1 libsepol1_3.0-1 libsigsegv2_2.12-2 libsmartcols1_2.34-0.1 libsqlite3-0_3.31.1-3 libss2_1.45.5-2 libssl1.1_1.1.1d-2 libstdc++-8-dev_8.3.0-29 libstdc++-9-dev_9.2.1-30 libstdc++6_10-20200222-1 libstrictures-perl_2.000006-1 libsub-override-perl_0.09-2 libsub-quote-perl_2.006006-1 libsystemd0_244.3-1 libtasn1-6_4.16.0-2 libtimedate-perl_2.3100-1 libtinfo6_6.1+20191019-1 libtool_2.4.6-13 libtry-tiny-perl_0.30-1 libtsan0_10-20200222-1 libubsan1_10-20200222-1 libuchardet0_0.0.6-3 libudev1_244.3-1 libunistring2_0.9.10-2 liburi-perl_1.76-2 libuuid1_2.34-0.1 libwww-perl_6.43-1 libwww-robotrules-perl_6.02-1 libxml2_2.9.10+dfsg-3 libyaml-0-2_0.2.2-1 libzstd1_1.4.4+dfsg-3 linux-libc-dev_5.4.19-1 login_1:4.8.1-1 logsave_1.45.5-2 lsb-base_11.1.0 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.0-2 mawk_1.3.4.20200120-2 mime-support_3.64 mount_2.34-0.1 ncurses-base_6.1+20191019-1 ncurses-bin_6.1+20191019-1 netbase_6.1 openssl_1.1.1d-2 passwd_1:4.8.1-1 patch_2.7.6-6 patchutils_0.3.4-2+b1 perl_5.30.0-9 perl-base_5.30.0-9 perl-modules-5.30_5.30.0-9 perl-openssl-defaults_4 pinentry-curses_1.1.0-3+b1 po-debconf_1.0.21 python3_3.7.5-3 python3-minimal_3.7.5-3 python3.7_3.7.6-1+b1 python3.7-minimal_3.7.6-1+b1 rake_13.0.1-2 readline-common_8.0-4 ruby_1:2.5.7.1 ruby-all-dev_1:2.5.7.1 ruby-did-you-mean_1.2.1-1 ruby-minitest_5.13.0-1 ruby-net-telnet_0.1.1-2 ruby-power-assert_1.1.5-1 ruby-setup_3.4.1-9 ruby-test-unit_3.3.4-1 ruby-xmlrpc_0.3.0-2 ruby2.5_2.5.7-1+b1 ruby2.5-dev_2.5.7-1+b1 ruby2.7_2.7.0-4 ruby2.7-dev_2.7.0-4 rubygems-integration_1.16 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 sysvinit-utils_2.96-2.1 tar_1.30+dfsg-6+b1 tzdata_2019c-3 util-linux_2.34-0.1 wdiff_1.2.2-2+b1 xz-utils_5.2.4-1+b1 zlib1g_1:1.2.11.dfsg-2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: ruby-curses Binary: ruby-curses Architecture: any Version: 1.2.4-1 Maintainer: Debian Ruby Extras Maintainers Uploaders: Andrej Shadura Homepage: http://github.com/ruby/curses Standards-Version: 3.9.7 Vcs-Browser: https://browse.dgit.debian.org/ruby-curses.git/ Vcs-Git: https://git.dgit.debian.org/ruby-curses Testsuite: autopkgtest-pkg-ruby Build-Depends: debhelper (>= 9~), gem2deb, libncursesw5-dev Package-List: ruby-curses deb ruby optional arch=any Checksums-Sha1: dbcd4f4ff0a69f5269c8af68f2524525e0183fe4 31399 ruby-curses_1.2.4.orig.tar.gz e2605bea1b74f81f5621d06ce87137590cdbc5e7 2908 ruby-curses_1.2.4-1.debian.tar.xz Checksums-Sha256: 85ccdc5ac87aeccdf940cb7b0335826530d8325047f9bc5ac283ede9fcb83ed3 31399 ruby-curses_1.2.4.orig.tar.gz 8fca5f9367b1538441b33427d008efe93c02bdf8ad13d07c44ae9ec9c5aeafed 2908 ruby-curses_1.2.4-1.debian.tar.xz Files: 866cd65ade499eaedbbaab7e35887b22 31399 ruby-curses_1.2.4.orig.tar.gz e21b2f8e218d1b13966a30f9e44c073c 2908 ruby-curses_1.2.4-1.debian.tar.xz Ruby-Versions: all Dgit: 4eab6fe2b7f725fc089335ad43387e234bd1bb02 debian archive/debian/1.2.4-1 https://git.dgit.debian.org/ruby-curses -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJa31BYAAoJEF5AjNkc2DnSWm4H/2yHrKqKIjrsMmia1s29pZO+ A2+IjZ+TwcwdtLOTyGAIwDpLS5gWH9JCtMNo2tcos8SmTLigd6S9kcw7zyMwJmX3 8r0oYUYNbHeQp7/2Bq/VnlKgSPVckw9pEVON8fIsBziv+wLIm8ZqI9pcJTfqS7Zr 0gpOLJORhwT2mNj2HlJmjriohhyuxXFI8r+4O8Ea5QmEDURvyoo6Gp5pDDhs6riw eTmwC6bTktzw+UX3FimAXl+HsRAwIoLa34sjHE7uX8ZDsAxyay5W9szoQjKS7dgt 9Hi1SANTVYaMm9X0BYAURANJPCVDSc3c39ZcTppIbNAhCTjo9ResLfvbcHwX0uU= =JNvc -----END PGP SIGNATURE----- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Tue Apr 24 15:42:16 2018 UTC gpgv: using RSA key 5E408CD91CD839D2 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-curses_1.2.4-1.dsc dpkg-source: info: extracting ruby-curses in /<> dpkg-source: info: unpacking ruby-curses_1.2.4.orig.tar.gz dpkg-source: info: unpacking ruby-curses_1.2.4-1.debian.tar.xz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=user42 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable SCHROOT_CHROOT_NAME=sid-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1001 SCHROOT_GROUP=user42 SCHROOT_SESSION_ID=sid-amd64-sbuild-e8080875-0b24-4d21-9e26-d26e474ed658 SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -b -rfakeroot dpkg-buildpackage: info: source package ruby-curses dpkg-buildpackage: info: source version 1.2.4-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andrej Shadura dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_ruby --clean Invalid gemspec in [curses.gemspec]: No such file or directory - git dh_clean -O--buildsystem=ruby debian/rules build dh build --buildsystem=ruby --with ruby dh_update_autotools_config -O--buildsystem=ruby dh_auto_configure -O--buildsystem=ruby dh_ruby --configure dh_auto_build -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -O--buildsystem=ruby dh_ruby --test fakeroot debian/rules binary dh binary --buildsystem=ruby --with ruby dh_testroot -O--buildsystem=ruby dh_prep -O--buildsystem=ruby dh_auto_install -O--buildsystem=ruby dh_ruby --install /<>/debian/ruby-curses dh_ruby --install Invalid gemspec in [curses.gemspec]: No such file or directory - git ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /<>/debian/ruby-curses/usr/lib/ruby/vendor_ruby install -D -m644 /<>/lib/curses.rb /<>/debian/ruby-curses/usr/lib/ruby/vendor_ruby/curses.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build native extensions for ruby2.5 │ └──────────────────────────────────────────────────────────────────────────────┘ /usr/bin/ruby2.5 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /<> debian/ruby-curses Invalid gemspec in [curses.gemspec]: No such file or directory - git current directory: /<>/ext/curses /usr/bin/ruby2.5 -r ./siteconf20200225-9179-1kcmduw.rb extconf.rb checking for tgetent() in -ltinfo... yes checking for ncursesw/curses.h... yes checking for initscr() in -lncursesw... yes header: ncursesw/curses.h library: ncursesw checking for beep()... yes checking for bkgd()... yes checking for bkgdset()... yes checking for curs_set()... yes checking for deleteln()... yes checking for doupdate()... yes checking for flash()... yes checking for getbkgd()... yes checking for getnstr()... yes checking for init()... no checking for init in ncursesw/curses.h... no checking for isendwin()... yes checking for keyname()... yes checking for keypad()... yes checking for resizeterm()... yes checking for scrl()... yes checking for set()... no checking for set in ncursesw/curses.h... no checking for setscrreg()... yes checking for ungetch()... yes checking for addnwstr()... yes checking for wattroff()... yes checking for wattron()... yes checking for wattrset()... yes checking for wbkgd()... yes checking for wbkgdset()... yes checking for wdeleteln()... yes checking for wgetnstr()... yes checking for wresize()... yes checking for wscrl()... yes checking for wsetscrreg()... yes checking for werase()... yes checking for redrawwin()... yes checking for waddnwstr()... yes checking for touchwin()... yes checking for untouchwin()... yes checking for wtouchln()... yes checking for is_linetouched()... yes checking for is_wintouched()... yes checking for def_prog_mode()... yes checking for reset_prog_mode()... yes checking for timeout()... yes checking for wtimeout()... yes checking for nodelay()... yes checking for init_color()... yes checking for wcolor_set()... yes checking for use_default_colors()... yes checking for assume_default_colors()... yes checking for newpad()... yes checking for unget_wch()... yes checking for get_wch()... yes checking for wget_wch()... yes checking for PDC_get_key_modifiers()... no checking for PDC_get_key_modifiers in ncursesw/curses.h... no checking for convertible type of chtype... failed *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/$(RUBY_BASE_NAME)2.5 --with-curses-dir --without-curses-dir --with-curses-include --without-curses-include=${curses-dir}/include --with-curses-lib --without-curses-lib=${curses-dir}/lib --with-ncurses-dir --without-ncurses-dir --with-ncurses-include --without-ncurses-include=${ncurses-dir}/include --with-ncurses-lib --without-ncurses-lib=${ncurses-dir}/lib --with-termcap-dir --without-termcap-dir --with-termcap-include --without-termcap-include=${termcap-dir}/include --with-termcap-lib --without-termcap-lib=${termcap-dir}/lib --with-tinfolib --without-tinfolib --with-ncurseswlib --without-ncurseswlib ~~~~~~~~~~~~~~~~~~~~~ ↓ mkmf.log ~~~~~~~~~~~~~~~~~~~~~ have_library: checking for tgetent() in -ltinfo... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.5 -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return 0; 6: } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.5 -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'tgetent' int t(void) { void ((*volatile p)()); p = (void ((*)()))tgetent; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))tgetent; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.5 -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void tgetent(); 14: int t(void) { tgetent(); return 0; } /* end */ -------------------- have_header: checking for ncursesw/curses.h... -------------------- yes "gcc -E -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_library: checking for initscr() in -lncursesw... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: extern int t(void); 7: int main(int argc, char **argv) 8: { 9: if (argc > 1000000) { 10: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))initscr; return !p; } /* end */ -------------------- have_func: checking for beep()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'beep' int t(void) { void ((*volatile p)()); p = (void ((*)()))beep; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))beep; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void beep(); 14: int t(void) { beep(); return 0; } /* end */ -------------------- have_func: checking for bkgd()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'bkgd' int t(void) { void ((*volatile p)()); p = (void ((*)()))bkgd; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))bkgd; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void bkgd(); 14: int t(void) { bkgd(); return 0; } /* end */ -------------------- have_func: checking for bkgdset()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'bkgdset' int t(void) { void ((*volatile p)()); p = (void ((*)()))bkgdset; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))bkgdset; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void bkgdset(); 14: int t(void) { bkgdset(); return 0; } /* end */ -------------------- have_func: checking for curs_set()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'curs_set' int t(void) { void ((*volatile p)()); p = (void ((*)()))curs_set; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))curs_set; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void curs_set(); 14: int t(void) { curs_set(); return 0; } /* end */ -------------------- have_func: checking for deleteln()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'deleteln' int t(void) { void ((*volatile p)()); p = (void ((*)()))deleteln; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))deleteln; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void deleteln(); 14: int t(void) { deleteln(); return 0; } /* end */ -------------------- have_func: checking for doupdate()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'doupdate' int t(void) { void ((*volatile p)()); p = (void ((*)()))doupdate; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))doupdate; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void doupdate(); 14: int t(void) { doupdate(); return 0; } /* end */ -------------------- have_func: checking for flash()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'flash' int t(void) { void ((*volatile p)()); p = (void ((*)()))flash; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))flash; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void flash(); 14: int t(void) { flash(); return 0; } /* end */ -------------------- have_func: checking for getbkgd()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'getbkgd' int t(void) { void ((*volatile p)()); p = (void ((*)()))getbkgd; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))getbkgd; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void getbkgd(); 14: int t(void) { getbkgd(); return 0; } /* end */ -------------------- have_func: checking for getnstr()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'getnstr' int t(void) { void ((*volatile p)()); p = (void ((*)()))getnstr; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))getnstr; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void getnstr(); 14: int t(void) { getnstr(); return 0; } /* end */ -------------------- have_func: checking for init()... -------------------- no "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'init'; did you mean 'int'? int t(void) { void ((*volatile p)()); p = (void ((*)()))init; return !p; } ^~~~ int conftest.c:13:57: error: expected expression 19 warnings and 2 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))init; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. /usr/bin/ld: /tmp/conftest-f7a4fd.o: in function `t': /<>/ext/curses/conftest.c:14: undefined reference to `init' clang: error: linker command failed with exit code 1 (use -v to see invocation) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void init(); 14: int t(void) { init(); return 0; } /* end */ -------------------- have_macro: checking for init in ncursesw/curses.h... -------------------- no "gcc -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -c conftest.c" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:6:3: error: # error ^ conftest.c:7:1: error: expected identifier or '(' |:/ === init undefined === /:| ^ 19 warnings and 2 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: /*top*/ 5: #ifndef init 6: # error 7: |:/ === init undefined === /:| 8: #endif /* end */ -------------------- have_func: checking for isendwin()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'isendwin' int t(void) { void ((*volatile p)()); p = (void ((*)()))isendwin; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))isendwin; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void isendwin(); 14: int t(void) { isendwin(); return 0; } /* end */ -------------------- have_func: checking for keyname()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'keyname' int t(void) { void ((*volatile p)()); p = (void ((*)()))keyname; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))keyname; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void keyname(); 14: int t(void) { keyname(); return 0; } /* end */ -------------------- have_func: checking for keypad()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'keypad' int t(void) { void ((*volatile p)()); p = (void ((*)()))keypad; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))keypad; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void keypad(); 14: int t(void) { keypad(); return 0; } /* end */ -------------------- have_func: checking for resizeterm()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'resizeterm' int t(void) { void ((*volatile p)()); p = (void ((*)()))resizeterm; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))resizeterm; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void resizeterm(); 14: int t(void) { resizeterm(); return 0; } /* end */ -------------------- have_func: checking for scrl()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'scrl' int t(void) { void ((*volatile p)()); p = (void ((*)()))scrl; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))scrl; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void scrl(); 14: int t(void) { scrl(); return 0; } /* end */ -------------------- have_func: checking for set()... -------------------- no "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'set' int t(void) { void ((*volatile p)()); p = (void ((*)()))set; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))set; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. /usr/bin/ld: /tmp/conftest-ca6158.o: in function `t': /<>/ext/curses/conftest.c:14: undefined reference to `set' clang: error: linker command failed with exit code 1 (use -v to see invocation) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void set(); 14: int t(void) { set(); return 0; } /* end */ -------------------- have_macro: checking for set in ncursesw/curses.h... -------------------- no "gcc -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -c conftest.c" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:6:3: error: # error ^ conftest.c:7:1: error: expected identifier or '(' |:/ === set undefined === /:| ^ 19 warnings and 2 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: /*top*/ 5: #ifndef set 6: # error 7: |:/ === set undefined === /:| 8: #endif /* end */ -------------------- have_func: checking for setscrreg()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'setscrreg' int t(void) { void ((*volatile p)()); p = (void ((*)()))setscrreg; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))setscrreg; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void setscrreg(); 14: int t(void) { setscrreg(); return 0; } /* end */ -------------------- have_func: checking for ungetch()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'ungetch' int t(void) { void ((*volatile p)()); p = (void ((*)()))ungetch; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))ungetch; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void ungetch(); 14: int t(void) { ungetch(); return 0; } /* end */ -------------------- have_func: checking for addnwstr()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'addnwstr' int t(void) { void ((*volatile p)()); p = (void ((*)()))addnwstr; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))addnwstr; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void addnwstr(); 14: int t(void) { addnwstr(); return 0; } /* end */ -------------------- have_func: checking for wattroff()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wattroff' int t(void) { void ((*volatile p)()); p = (void ((*)()))wattroff; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wattroff; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wattroff(); 14: int t(void) { wattroff(); return 0; } /* end */ -------------------- have_func: checking for wattron()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wattron' int t(void) { void ((*volatile p)()); p = (void ((*)()))wattron; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wattron; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wattron(); 14: int t(void) { wattron(); return 0; } /* end */ -------------------- have_func: checking for wattrset()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wattrset' int t(void) { void ((*volatile p)()); p = (void ((*)()))wattrset; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wattrset; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wattrset(); 14: int t(void) { wattrset(); return 0; } /* end */ -------------------- have_func: checking for wbkgd()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wbkgd' int t(void) { void ((*volatile p)()); p = (void ((*)()))wbkgd; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wbkgd; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wbkgd(); 14: int t(void) { wbkgd(); return 0; } /* end */ -------------------- have_func: checking for wbkgdset()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wbkgdset' int t(void) { void ((*volatile p)()); p = (void ((*)()))wbkgdset; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wbkgdset; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wbkgdset(); 14: int t(void) { wbkgdset(); return 0; } /* end */ -------------------- have_func: checking for wdeleteln()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wdeleteln' int t(void) { void ((*volatile p)()); p = (void ((*)()))wdeleteln; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wdeleteln; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wdeleteln(); 14: int t(void) { wdeleteln(); return 0; } /* end */ -------------------- have_func: checking for wgetnstr()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wgetnstr' int t(void) { void ((*volatile p)()); p = (void ((*)()))wgetnstr; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wgetnstr; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wgetnstr(); 14: int t(void) { wgetnstr(); return 0; } /* end */ -------------------- have_func: checking for wresize()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wresize' int t(void) { void ((*volatile p)()); p = (void ((*)()))wresize; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wresize; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wresize(); 14: int t(void) { wresize(); return 0; } /* end */ -------------------- have_func: checking for wscrl()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wscrl' int t(void) { void ((*volatile p)()); p = (void ((*)()))wscrl; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wscrl; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wscrl(); 14: int t(void) { wscrl(); return 0; } /* end */ -------------------- have_func: checking for wsetscrreg()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wsetscrreg' int t(void) { void ((*volatile p)()); p = (void ((*)()))wsetscrreg; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wsetscrreg; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wsetscrreg(); 14: int t(void) { wsetscrreg(); return 0; } /* end */ -------------------- have_func: checking for werase()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'werase' int t(void) { void ((*volatile p)()); p = (void ((*)()))werase; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))werase; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void werase(); 14: int t(void) { werase(); return 0; } /* end */ -------------------- have_func: checking for redrawwin()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'redrawwin' int t(void) { void ((*volatile p)()); p = (void ((*)()))redrawwin; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))redrawwin; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void redrawwin(); 14: int t(void) { redrawwin(); return 0; } /* end */ -------------------- have_func: checking for waddnwstr()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'waddnwstr' int t(void) { void ((*volatile p)()); p = (void ((*)()))waddnwstr; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))waddnwstr; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void waddnwstr(); 14: int t(void) { waddnwstr(); return 0; } /* end */ -------------------- have_func: checking for touchwin()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'touchwin' int t(void) { void ((*volatile p)()); p = (void ((*)()))touchwin; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))touchwin; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void touchwin(); 14: int t(void) { touchwin(); return 0; } /* end */ -------------------- have_func: checking for untouchwin()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'untouchwin' int t(void) { void ((*volatile p)()); p = (void ((*)()))untouchwin; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))untouchwin; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void untouchwin(); 14: int t(void) { untouchwin(); return 0; } /* end */ -------------------- have_func: checking for wtouchln()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wtouchln' int t(void) { void ((*volatile p)()); p = (void ((*)()))wtouchln; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wtouchln; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wtouchln(); 14: int t(void) { wtouchln(); return 0; } /* end */ -------------------- have_func: checking for is_linetouched()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'is_linetouched' int t(void) { void ((*volatile p)()); p = (void ((*)()))is_linetouched; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))is_linetouched; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void is_linetouched(); 14: int t(void) { is_linetouched(); return 0; } /* end */ -------------------- have_func: checking for is_wintouched()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'is_wintouched' int t(void) { void ((*volatile p)()); p = (void ((*)()))is_wintouched; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))is_wintouched; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void is_wintouched(); 14: int t(void) { is_wintouched(); return 0; } /* end */ -------------------- have_func: checking for def_prog_mode()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'def_prog_mode' int t(void) { void ((*volatile p)()); p = (void ((*)()))def_prog_mode; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))def_prog_mode; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void def_prog_mode(); 14: int t(void) { def_prog_mode(); return 0; } /* end */ -------------------- have_func: checking for reset_prog_mode()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'reset_prog_mode' int t(void) { void ((*volatile p)()); p = (void ((*)()))reset_prog_mode; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))reset_prog_mode; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void reset_prog_mode(); 14: int t(void) { reset_prog_mode(); return 0; } /* end */ -------------------- have_func: checking for timeout()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'timeout' int t(void) { void ((*volatile p)()); p = (void ((*)()))timeout; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))timeout; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void timeout(); 14: int t(void) { timeout(); return 0; } /* end */ -------------------- have_func: checking for wtimeout()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wtimeout' int t(void) { void ((*volatile p)()); p = (void ((*)()))wtimeout; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wtimeout; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wtimeout(); 14: int t(void) { wtimeout(); return 0; } /* end */ -------------------- have_func: checking for nodelay()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'nodelay' int t(void) { void ((*volatile p)()); p = (void ((*)()))nodelay; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))nodelay; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void nodelay(); 14: int t(void) { nodelay(); return 0; } /* end */ -------------------- have_func: checking for init_color()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'init_color' int t(void) { void ((*volatile p)()); p = (void ((*)()))init_color; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))init_color; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void init_color(); 14: int t(void) { init_color(); return 0; } /* end */ -------------------- have_func: checking for wcolor_set()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wcolor_set' int t(void) { void ((*volatile p)()); p = (void ((*)()))wcolor_set; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wcolor_set; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wcolor_set(); 14: int t(void) { wcolor_set(); return 0; } /* end */ -------------------- have_func: checking for use_default_colors()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'use_default_colors' int t(void) { void ((*volatile p)()); p = (void ((*)()))use_default_colors; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))use_default_colors; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void use_default_colors(); 14: int t(void) { use_default_colors(); return 0; } /* end */ -------------------- have_func: checking for assume_default_colors()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'assume_default_colors' int t(void) { void ((*volatile p)()); p = (void ((*)()))assume_default_colors; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))assume_default_colors; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void assume_default_colors(); 14: int t(void) { assume_default_colors(); return 0; } /* end */ -------------------- have_func: checking for newpad()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'newpad' int t(void) { void ((*volatile p)()); p = (void ((*)()))newpad; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))newpad; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void newpad(); 14: int t(void) { newpad(); return 0; } /* end */ -------------------- have_func: checking for unget_wch()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'unget_wch' int t(void) { void ((*volatile p)()); p = (void ((*)()))unget_wch; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))unget_wch; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void unget_wch(); 14: int t(void) { unget_wch(); return 0; } /* end */ -------------------- have_func: checking for get_wch()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'get_wch' int t(void) { void ((*volatile p)()); p = (void ((*)()))get_wch; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))get_wch; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void get_wch(); 14: int t(void) { get_wch(); return 0; } /* end */ -------------------- have_func: checking for wget_wch()... -------------------- yes "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'wget_wch' int t(void) { void ((*volatile p)()); p = (void ((*)()))wget_wch; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))wget_wch; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void wget_wch(); 14: int t(void) { wget_wch(); return 0; } /* end */ -------------------- have_func: checking for PDC_get_key_modifiers()... -------------------- no "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:13:57: error: use of undeclared identifier 'PDC_get_key_modifiers' int t(void) { void ((*volatile p)()); p = (void ((*)()))PDC_get_key_modifiers; return !p; } ^ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PDC_get_key_modifiers; return !p; } /* end */ "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lncursesw -ltinfo -lruby-2.5 -lncursesw -ltinfo -lpthread -lgmp -ldl -lcrypt -lm -lc" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. /usr/bin/ld: /tmp/conftest-357120.o: in function `t': /<>/ext/curses/conftest.c:14: undefined reference to `PDC_get_key_modifiers' clang: error: linker command failed with exit code 1 (use -v to see invocation) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void PDC_get_key_modifiers(); 14: int t(void) { PDC_get_key_modifiers(); return 0; } /* end */ -------------------- have_macro: checking for PDC_get_key_modifiers in ncursesw/curses.h... -------------------- no "gcc -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -c conftest.c" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:6:3: error: # error ^ conftest.c:7:1: error: expected identifier or '(' |:/ === PDC_get_key_modifiers undefined === /:| ^ 19 warnings and 2 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: /*top*/ 5: #ifndef PDC_get_key_modifiers 6: # error 7: |:/ === PDC_get_key_modifiers undefined === /:| 8: #endif /* end */ -------------------- convertible_int: checking for convertible type of chtype... -------------------- failed "gcc -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -c conftest.c" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ conftest.c:8:20: error: 'conftest_const' declared as an array with a negative size int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings and 1 error generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #undef MOUSE_MOVED 4: #include 5: typedef chtype rbcv_typedef_; 6: 7: /*top*/ 8: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1]; /* end */ "gcc -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -c conftest.c" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 warnings generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #undef MOUSE_MOVED 4: #include 5: typedef chtype rbcv_typedef_; 6: 7: /*top*/ 8: int conftest_const[((rbcv_typedef_)-1 > 0) ? 1 : -1]; /* end */ "gcc -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Werror -c conftest.c" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: error: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ 19 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #undef MOUSE_MOVED 4: 5: #include 6: 7: typedef chtype rbcv_typedef_; 8: 9: extern rbcv_typedef_ foo(); 10: extern unsigned int foo(); /* end */ "gcc -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Werror -c conftest.c" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: error: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #undef MOUSE_MOVED 4: 5: #include 6: 7: typedef chtype rbcv_typedef_; 8: 9: extern rbcv_typedef_ foo(); 10: extern unsigned short foo(); /* end */ "gcc -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Werror -c conftest.c" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: error: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #undef MOUSE_MOVED 4: 5: #include 6: 7: typedef chtype rbcv_typedef_; 8: 9: extern rbcv_typedef_ foo(); 10: extern unsigned long foo(); /* end */ "gcc -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ILMKEn/ruby2.5-2.5.7=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Werror -c conftest.c" In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:1771:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2187:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC(("bad scan arg format"), int rb_scan_args_bad_format(const char*)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: /usr/include/ruby-2.5.0/ruby/ruby.h:2188:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] ERRORFUNC(("variable argument length doesn't match"), int rb_scan_args_length_mismatch(const char*,int)); ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:6:1: error: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes] DEPRECATED_TYPE(("RClass is internal use only"), ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:132:49: note: expanded from macro 'DEPRECATED_TYPE' #define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:16:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_real); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:17:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_complex_set_imag); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:20:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:21:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:24:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:25:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:28:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:29:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:35:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:36:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop); ^ /usr/include/ruby-2.5.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE' NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:42:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:43:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:44:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:47:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ In file included from conftest.c:1: In file included from /usr/include/ruby-2.5.0/ruby.h:33: In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:2550: /usr/include/ruby-2.5.0/ruby/backward.h:50:1: error: unknown attribute '__error__' ignored [-Werror,-Wunknown-attributes] DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table); ^ /usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE' NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void)))) ^ /usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:137:43: note: expanded from macro 'ERRORFUNC' #define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #undef MOUSE_MOVED 4: 5: #include 6: 7: typedef chtype rbcv_typedef_; 8: 9: extern rbcv_typedef_ foo(); 10: extern unsigned long long foo(); /* end */ -------------------- /usr/lib/ruby/2.5.0/rubygems/ext/builder.rb:92:in `run': extconf failed, exit code 1 (Gem::InstallError) from /usr/lib/ruby/2.5.0/rubygems/ext/ext_conf_builder.rb:46:in `block in build' from /usr/lib/ruby/2.5.0/tempfile.rb:295:in `open' from /usr/lib/ruby/2.5.0/rubygems/ext/ext_conf_builder.rb:30:in `build' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:79:in `block in build_and_install' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:71:in `chdir' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:71:in `build_and_install' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:115:in `block in build_all_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:112:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:112:in `build_all_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:128:in `
' ~~~~~~~~~~~~~~~~~~~~~ ↑ mkmf.log ~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ruby/vendor_ruby/gem2deb.rb:56:in `run': /usr/bin/ruby2.5 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /<> debian/ruby-curses (Gem2Deb::CommandFailed) from /usr/lib/ruby/vendor_ruby/gem2deb.rb:67:in `run_ruby' from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:37:in `block in install_files_and_build_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:34:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:34:in `install_files_and_build_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `block in install' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:82:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:82:in `install' from /usr/bin/dh_ruby:94:in `
' dh_auto_install: error: dh_ruby --install /<>/debian/ruby-curses returned exit code 1 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2020-02-25T18:16:44Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: binary Build-Space: 1912 Build-Time: 15 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 10 Job: ruby-curses_1.2.4-1 Machine Architecture: amd64 Package: ruby-curses Package-Time: 42 Source-Version: 1.2.4-1 Space: 1912 Status: attempted Version: 1.2.4-1 -------------------------------------------------------------------------------- Finished at 2020-02-25T18:16:44Z Build needed 00:00:42, 1912k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 42.712329757s