DC-Build-Header: ruby-curses 1.2.4-1 / 2019-01-09 22:27:36 +0000 DC-Task: type:rebuild-binarch-only source:ruby-curses version:1.2.4-1 chroot:unstable esttime:47 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 --chroot-setup-commands=/tmp/clang8 ruby-curses_1.2.4-1' sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on ip-172-31-0-237.eu-central-1.compute.internal +==============================================================================+ | ruby-curses 1.2.4-1 (amd64) Wed, 09 Jan 2019 22:27:36 +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: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-amd64-sbuild-6b85ef5b-94e2-4ddb-a5ea-bd5ef3855e6c' 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 + echo deb http://127.0.0.1:9999/debian experimental main + apt-get update Get:1 http://127.0.0.1:9999/debian sid InRelease [238 kB] Get:2 http://127.0.0.1:9999/debian experimental InRelease [101 kB] Get:3 http://127.0.0.1:9999/debian sid/main Sources.diff/Index [27.9 kB] Get:4 http://127.0.0.1:9999/debian sid/main amd64 Packages.diff/Index [27.9 kB] Get:5 http://127.0.0.1:9999/debian sid/main Sources 2019-01-09-1430.36.pdiff [24.1 kB] Get:6 http://127.0.0.1:9999/debian sid/main Sources 2019-01-09-2026.40.pdiff [16.8 kB] Get:7 http://127.0.0.1:9999/debian sid/main amd64 Packages 2019-01-09-1430.36.pdiff [40.9 kB] Get:8 http://127.0.0.1:9999/debian sid/main amd64 Packages 2019-01-09-2026.40.pdiff [32.0 kB] Get:6 http://127.0.0.1:9999/debian sid/main Sources 2019-01-09-2026.40.pdiff [16.8 kB] Get:8 http://127.0.0.1:9999/debian sid/main amd64 Packages 2019-01-09-2026.40.pdiff [32.0 kB] Get:9 http://127.0.0.1:9999/debian sid/main Translation-en [6274 kB] Get:10 http://127.0.0.1:9999/debian experimental/main amd64 Packages [248 kB] Get:11 http://127.0.0.1:9999/debian experimental/main Translation-en [173 kB] Fetched 7204 kB in 2s (3533 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-8 libomp-8-dev libobjc-8-dev Reading package lists... Building dependency tree... The following additional packages will be installed: lib32gcc1 lib32stdc++6 libbsd0 libc6-i386 libclang-common-8-dev libclang1-8 libedit2 libgc1c2 libllvm8 libobjc4 libomp5-8 Suggested packages: clang-8-doc libomp-8-doc Recommended packages: llvm-8-dev python The following NEW packages will be installed: clang-8 lib32gcc1 lib32stdc++6 libbsd0 libc6-i386 libclang-common-8-dev libclang1-8 libedit2 libgc1c2 libllvm8 libobjc-8-dev libobjc4 libomp-8-dev libomp5-8 0 upgraded, 14 newly installed, 0 to remove and 5 not upgraded. Need to get 35.8 MB of archives. After this operation, 191 MB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian sid/main amd64 libbsd0 amd64 0.9.1-1 [99.3 kB] Get:2 http://127.0.0.1:9999/debian sid/main amd64 libedit2 amd64 3.1-20181209-1 [94.0 kB] Get:3 http://127.0.0.1:9999/debian experimental/main amd64 libllvm8 amd64 1:8~svn350193-1~exp1 [13.8 MB] Get:4 http://127.0.0.1:9999/debian sid/main amd64 libgc1c2 amd64 1:7.6.4-0.4 [224 kB] Get:5 http://127.0.0.1:9999/debian sid/main amd64 libobjc4 amd64 8.2.0-14 [50.4 kB] Get:6 http://127.0.0.1:9999/debian sid/main amd64 libobjc-8-dev amd64 8.2.0-14 [225 kB] Get:7 http://127.0.0.1:9999/debian sid/main amd64 libc6-i386 amd64 2.28-4 [2873 kB] Get:8 http://127.0.0.1:9999/debian sid/main amd64 lib32gcc1 amd64 1:8.2.0-14 [47.9 kB] Get:9 http://127.0.0.1:9999/debian sid/main amd64 lib32stdc++6 amd64 8.2.0-14 [406 kB] Get:10 http://127.0.0.1:9999/debian experimental/main amd64 libclang-common-8-dev amd64 1:8~svn350193-1~exp1 [3350 kB] Get:11 http://127.0.0.1:9999/debian experimental/main amd64 libclang1-8 amd64 1:8~svn350193-1~exp1 [6255 kB] Get:12 http://127.0.0.1:9999/debian experimental/main amd64 clang-8 amd64 1:8~svn350193-1~exp1 [8025 kB] Get:13 http://127.0.0.1:9999/debian experimental/main amd64 libomp5-8 amd64 1:8~svn350193-1~exp1 [328 kB] Get:14 http://127.0.0.1:9999/debian experimental/main amd64 libomp-8-dev amd64 1:8~svn350193-1~exp1 [58.5 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 35.8 MB in 0s (116 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11802 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-1_amd64.deb ... Unpacking libbsd0:amd64 (0.9.1-1) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../01-libedit2_3.1-20181209-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20181209-1) ... Selecting previously unselected package libllvm8:amd64. Preparing to unpack .../02-libllvm8_1%3a8~svn350193-1~exp1_amd64.deb ... Unpacking libllvm8:amd64 (1:8~svn350193-1~exp1) ... Selecting previously unselected package libgc1c2:amd64. Preparing to unpack .../03-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 .../04-libobjc4_8.2.0-14_amd64.deb ... Unpacking libobjc4:amd64 (8.2.0-14) ... Selecting previously unselected package libobjc-8-dev:amd64. Preparing to unpack .../05-libobjc-8-dev_8.2.0-14_amd64.deb ... Unpacking libobjc-8-dev:amd64 (8.2.0-14) ... Selecting previously unselected package libc6-i386. Preparing to unpack .../06-libc6-i386_2.28-4_amd64.deb ... Unpacking libc6-i386 (2.28-4) ... Selecting previously unselected package lib32gcc1. Preparing to unpack .../07-lib32gcc1_1%3a8.2.0-14_amd64.deb ... Unpacking lib32gcc1 (1:8.2.0-14) ... Selecting previously unselected package lib32stdc++6. Preparing to unpack .../08-lib32stdc++6_8.2.0-14_amd64.deb ... Unpacking lib32stdc++6 (8.2.0-14) ... Selecting previously unselected package libclang-common-8-dev. Preparing to unpack .../09-libclang-common-8-dev_1%3a8~svn350193-1~exp1_amd64.deb ... Unpacking libclang-common-8-dev (1:8~svn350193-1~exp1) ... Selecting previously unselected package libclang1-8:amd64. Preparing to unpack .../10-libclang1-8_1%3a8~svn350193-1~exp1_amd64.deb ... Unpacking libclang1-8:amd64 (1:8~svn350193-1~exp1) ... Selecting previously unselected package clang-8. Preparing to unpack .../11-clang-8_1%3a8~svn350193-1~exp1_amd64.deb ... Unpacking clang-8 (1:8~svn350193-1~exp1) ... Selecting previously unselected package libomp5-8:amd64. Preparing to unpack .../12-libomp5-8_1%3a8~svn350193-1~exp1_amd64.deb ... Unpacking libomp5-8:amd64 (1:8~svn350193-1~exp1) ... Selecting previously unselected package libomp-8-dev. Preparing to unpack .../13-libomp-8-dev_1%3a8~svn350193-1~exp1_amd64.deb ... Unpacking libomp-8-dev (1:8~svn350193-1~exp1) ... Setting up libomp5-8:amd64 (1:8~svn350193-1~exp1) ... Setting up libgc1c2:amd64 (1:7.6.4-0.4) ... Setting up libc6-i386 (2.28-4) ... Setting up libbsd0:amd64 (0.9.1-1) ... Setting up libomp-8-dev (1:8~svn350193-1~exp1) ... Processing triggers for libc-bin (2.28-4) ... Setting up lib32gcc1 (1:8.2.0-14) ... Setting up libedit2:amd64 (3.1-20181209-1) ... Setting up libobjc4:amd64 (8.2.0-14) ... Setting up libobjc-8-dev:amd64 (8.2.0-14) ... Setting up libllvm8:amd64 (1:8~svn350193-1~exp1) ... Setting up libclang1-8:amd64 (1:8~svn350193-1~exp1) ... Setting up lib32stdc++6 (8.2.0-14) ... Setting up libclang-common-8-dev (1:8~svn350193-1~exp1) ... Setting up clang-8 (1:8~svn350193-1~exp1) ... Processing triggers for libc-bin (2.28-4) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5 6 7 8' + cd /usr/bin + for VERSION in $VERSIONS + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-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 + echo 'g++-8 hold' + dpkg --set-selections + cd - /build/ruby-curses-BQFQrz + 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. -------------------------------------------------------------------------------- +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:9999/debian sid InRelease Hit:2 http://127.0.0.1:9999/debian experimental InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: libmpfr6 libpam-modules libpam-modules-bin libpam-runtime libpam0g 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1519 kB of archives. After this operation, 7168 B of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian sid/main amd64 libpam0g amd64 1.1.8-4 [124 kB] Get:2 http://127.0.0.1:9999/debian sid/main amd64 libpam-modules-bin amd64 1.1.8-4 [106 kB] Get:3 http://127.0.0.1:9999/debian sid/main amd64 libpam-modules amd64 1.1.8-4 [305 kB] Get:4 http://127.0.0.1:9999/debian sid/main amd64 libpam-runtime all 1.1.8-4 [211 kB] Get:5 http://127.0.0.1:9999/debian sid/main amd64 libmpfr6 amd64 4.0.2~rc1-1 [773 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1519 kB in 0s (77.7 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 ... 12592 files and directories currently installed.) Preparing to unpack .../libpam0g_1.1.8-4_amd64.deb ... Unpacking libpam0g:amd64 (1.1.8-4) over (1.1.8-3.8) ... Setting up libpam0g:amd64 (1.1.8-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 ... 12592 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.1.8-4_amd64.deb ... Unpacking libpam-modules-bin (1.1.8-4) over (1.1.8-3.8) ... Setting up libpam-modules-bin (1.1.8-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 ... 12592 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.1.8-4_amd64.deb ... Unpacking libpam-modules:amd64 (1.1.8-4) over (1.1.8-3.8) ... Setting up libpam-modules:amd64 (1.1.8-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 ... 12592 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.1.8-4_all.deb ... Unpacking libpam-runtime (1.1.8-4) over (1.1.8-3.8) ... Setting up libpam-runtime (1.1.8-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 ... 12592 files and directories currently installed.) Preparing to unpack .../libmpfr6_4.0.2~rc1-1_amd64.deb ... Unpacking libmpfr6:amd64 (4.0.2~rc1-1) over (4.0.1-2) ... Setting up libmpfr6:amd64 (4.0.2~rc1-1) ... Processing triggers for libc-bin (2.28-4) ... +------------------------------------------------------------------------------+ | 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:9999/debian sid/main ruby-curses 1.2.4-1 (dsc) [1752 B] Get:2 http://127.0.0.1:9999/debian sid/main ruby-curses 1.2.4-1 (tar) [31.4 kB] Get:3 http://127.0.0.1:9999/debian sid/main ruby-curses 1.2.4-1 (diff) [2908 B] Fetched 36.1 kB in 0s (641 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/ruby-curses-BQFQrz/ruby-curses-1.2.4' with '<>' I: NOTICE: Log filtering will replace 'build/ruby-curses-BQFQrz' with '<>' +------------------------------------------------------------------------------+ | Install build-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-TrRpJC/apt_archive/sbuild-build-depends-core-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-TrRpJC/apt_archive ./ InRelease Get:2 copy:/<>/resolver-TrRpJC/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-TrRpJC/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-TrRpJC/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-TrRpJC/apt_archive ./ Packages [432 B] Fetched 1738 B in 0s (0 B/s) Reading package lists... Reading package lists... Install core build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 860 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-TrRpJC/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [860 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 860 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 12592 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in any) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9~), gem2deb, libncursesw5-dev Filtered Build-Depends: debhelper (>= 9~), gem2deb, libncursesw5-dev dpkg-deb: building package 'sbuild-build-depends-ruby-curses-dummy' in '/<>/resolver-TrRpJC/apt_archive/sbuild-build-depends-ruby-curses-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-ruby-curses-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-TrRpJC/apt_archive ./ InRelease Get:2 copy:/<>/resolver-TrRpJC/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-TrRpJC/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-TrRpJC/apt_archive ./ Sources [506 B] Get:5 copy:/<>/resolver-TrRpJC/apt_archive ./ Packages [587 B] Fetched 2056 B in 0s (0 B/s) Reading package lists... Reading package lists... Install ruby-curses 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 libdevel-callchecker-perl libdevel-globaldestruction-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 libgssapi-krb5-2 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 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 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 libreadline7 librole-tiny-perl libruby2.5 libsasl2-2 libsasl2-modules-db libsigsegv2 libsqlite3-0 libssl1.1 libstrictures-perl libsub-exporter-progressive-perl libsub-quote-perl libtimedate-perl libtool libtry-tiny-perl libuchardet0 liburi-perl libwww-perl libwww-robotrules-perl libxml2 libyaml-0-2 lsb-base 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 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 gettext-doc libasprintf-dev libgettextpo-dev parcimonie xloadimage scdaemon groff gmp-doc libgmp10-doc libmpfr-dev krb5-doc krb5-user 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 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 krb5-locales 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 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 libdevel-callchecker-perl libdevel-globaldestruction-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 libgssapi-krb5-2 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 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 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 libreadline7 librole-tiny-perl libruby2.5 libsasl2-2 libsasl2-modules-db libsigsegv2 libsqlite3-0 libssl1.1 libstrictures-perl libsub-exporter-progressive-perl libsub-quote-perl libtimedate-perl libtool libtry-tiny-perl libuchardet0 liburi-perl libwww-perl libwww-robotrules-perl libxml2 libyaml-0-2 lsb-base 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 rubygems-integration sbuild-build-depends-ruby-curses-dummy sensible-utils wdiff 0 upgraded, 136 newly installed, 0 to remove and 0 not upgraded. Need to get 44.0 MB of archives. After this operation, 150 MB of additional disk space will be used. Get:1 copy:/<>/resolver-TrRpJC/apt_archive ./ sbuild-build-depends-ruby-curses-dummy 0.invalid.0 [880 B] Get:2 http://127.0.0.1:9999/debian sid/main amd64 bsdmainutils amd64 11.1.2+b1 [191 kB] Get:3 http://127.0.0.1:9999/debian sid/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB] Get:4 http://127.0.0.1:9999/debian sid/main amd64 groff-base amd64 1.22.4-2 [917 kB] Get:5 http://127.0.0.1:9999/debian sid/main amd64 libpipeline1 amd64 1.5.0-2 [29.5 kB] Get:6 http://127.0.0.1:9999/debian sid/main amd64 man-db amd64 2.8.5-1 [1274 kB] Get:7 http://127.0.0.1:9999/debian sid/main amd64 libssl1.1 amd64 1.1.1a-1 [1527 kB] Get:8 http://127.0.0.1:9999/debian sid/main amd64 libpython3.7-minimal amd64 3.7.2-1 [588 kB] Get:9 http://127.0.0.1:9999/debian sid/main amd64 libexpat1 amd64 2.2.6-1 [105 kB] Get:10 http://127.0.0.1:9999/debian sid/main amd64 python3.7-minimal amd64 3.7.2-1 [1732 kB] Get:11 http://127.0.0.1:9999/debian sid/main amd64 python3-minimal amd64 3.7.1-3 [36.5 kB] Get:12 http://127.0.0.1:9999/debian sid/main amd64 mime-support all 3.61 [37.1 kB] Get:13 http://127.0.0.1:9999/debian sid/main amd64 libmpdec2 amd64 2.4.2-2 [87.2 kB] Get:14 http://127.0.0.1:9999/debian sid/main amd64 readline-common all 7.0-5 [70.6 kB] Get:15 http://127.0.0.1:9999/debian sid/main amd64 libreadline7 amd64 7.0-5 [151 kB] Get:16 http://127.0.0.1:9999/debian sid/main amd64 libsqlite3-0 amd64 3.26.0+fossilbc891ac6b-1 [634 kB] Get:17 http://127.0.0.1:9999/debian sid/main amd64 libpython3.7-stdlib amd64 3.7.2-1 [1733 kB] Get:18 http://127.0.0.1:9999/debian sid/main amd64 python3.7 amd64 3.7.2-1 [323 kB] Get:19 http://127.0.0.1:9999/debian sid/main amd64 libpython3-stdlib amd64 3.7.1-3 [20.0 kB] Get:20 http://127.0.0.1:9999/debian sid/main amd64 python3 amd64 3.7.1-3 [61.5 kB] Get:21 http://127.0.0.1:9999/debian sid/main amd64 netbase all 5.5 [19.3 kB] Get:22 http://127.0.0.1:9999/debian sid/main amd64 sensible-utils all 0.0.12 [15.8 kB] Get:23 http://127.0.0.1:9999/debian sid/main amd64 libmagic-mgc amd64 1:5.34-2 [239 kB] Get:24 http://127.0.0.1:9999/debian sid/main amd64 libmagic1 amd64 1:5.34-2 [116 kB] Get:25 http://127.0.0.1:9999/debian sid/main amd64 file amd64 1:5.34-2 [65.8 kB] Get:26 http://127.0.0.1:9999/debian sid/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB] Get:27 http://127.0.0.1:9999/debian sid/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB] Get:28 http://127.0.0.1:9999/debian sid/main amd64 m4 amd64 1.4.18-2 [203 kB] Get:29 http://127.0.0.1:9999/debian sid/main amd64 autoconf all 2.69-11 [341 kB] Get:30 http://127.0.0.1:9999/debian sid/main amd64 autotools-dev all 20180224.1 [77.0 kB] Get:31 http://127.0.0.1:9999/debian sid/main amd64 automake all 1:1.16.1-4 [771 kB] Get:32 http://127.0.0.1:9999/debian sid/main amd64 autopoint all 0.19.8.1-9 [434 kB] Get:33 http://127.0.0.1:9999/debian sid/main amd64 openssl amd64 1.1.1a-1 [836 kB] Get:34 http://127.0.0.1:9999/debian sid/main amd64 ca-certificates all 20180409 [161 kB] Get:35 http://127.0.0.1:9999/debian sid/main amd64 libtool all 2.4.6-6 [547 kB] Get:36 http://127.0.0.1:9999/debian sid/main amd64 dh-autoreconf all 19 [16.9 kB] Get:37 http://127.0.0.1:9999/debian sid/main amd64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get:38 http://127.0.0.1:9999/debian sid/main amd64 libfile-stripnondeterminism-perl all 1.0.0-1 [19.5 kB] Get:39 http://127.0.0.1:9999/debian sid/main amd64 dh-strip-nondeterminism all 1.0.0-1 [12.5 kB] Get:40 http://127.0.0.1:9999/debian sid/main amd64 libelf1 amd64 0.175-2 [160 kB] Get:41 http://127.0.0.1:9999/debian sid/main amd64 dwz amd64 0.12-3 [78.0 kB] Get:42 http://127.0.0.1:9999/debian sid/main amd64 libglib2.0-0 amd64 2.58.2-3 [1257 kB] Get:43 http://127.0.0.1:9999/debian sid/main amd64 libicu63 amd64 63.1-5 [8293 kB] Get:44 http://127.0.0.1:9999/debian sid/main amd64 libxml2 amd64 2.9.4+dfsg1-7+b3 [687 kB] Get:45 http://127.0.0.1:9999/debian sid/main amd64 libcroco3 amd64 0.6.12-3 [145 kB] Get:46 http://127.0.0.1:9999/debian sid/main amd64 libncurses6 amd64 6.1+20181013-1 [102 kB] Get:47 http://127.0.0.1:9999/debian sid/main amd64 gettext amd64 0.19.8.1-9 [1303 kB] Get:48 http://127.0.0.1:9999/debian sid/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:49 http://127.0.0.1:9999/debian sid/main amd64 po-debconf all 1.0.21 [248 kB] Get:50 http://127.0.0.1:9999/debian sid/main amd64 debhelper all 12 [1002 kB] Get:51 http://127.0.0.1:9999/debian sid/main amd64 libassuan0 amd64 2.5.2-1 [49.4 kB] Get:52 http://127.0.0.1:9999/debian sid/main amd64 gpgconf amd64 2.2.12-1 [509 kB] Get:53 http://127.0.0.1:9999/debian sid/main amd64 lsb-base all 10.2018112800 [28.3 kB] Get:54 http://127.0.0.1:9999/debian sid/main amd64 libksba8 amd64 1.3.5-2 [99.7 kB] Get:55 http://127.0.0.1:9999/debian sid/main amd64 libkeyutils1 amd64 1.5.9-9.3 [13.0 kB] Get:56 http://127.0.0.1:9999/debian sid/main amd64 libkrb5support0 amd64 1.16.2-1 [63.3 kB] Get:57 http://127.0.0.1:9999/debian sid/main amd64 libk5crypto3 amd64 1.16.2-1 [121 kB] Get:58 http://127.0.0.1:9999/debian sid/main amd64 libkrb5-3 amd64 1.16.2-1 [320 kB] Get:59 http://127.0.0.1:9999/debian sid/main amd64 libgssapi-krb5-2 amd64 1.16.2-1 [158 kB] Get:60 http://127.0.0.1:9999/debian sid/main amd64 libsasl2-modules-db amd64 2.1.27~rc8-1 [68.4 kB] Get:61 http://127.0.0.1:9999/debian sid/main amd64 libsasl2-2 amd64 2.1.27~rc8-1 [105 kB] Get:62 http://127.0.0.1:9999/debian sid/main amd64 libldap-common all 2.4.47+dfsg-1 [88.8 kB] Get:63 http://127.0.0.1:9999/debian sid/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-1 [224 kB] Get:64 http://127.0.0.1:9999/debian sid/main amd64 libnpth0 amd64 1.6-1 [18.4 kB] Get:65 http://127.0.0.1:9999/debian sid/main amd64 dirmngr amd64 2.2.12-1 [711 kB] Get:66 http://127.0.0.1:9999/debian sid/main amd64 gnupg-l10n all 2.2.12-1 [1008 kB] Get:67 http://127.0.0.1:9999/debian sid/main amd64 gnupg-utils amd64 2.2.12-1 [857 kB] Get:68 http://127.0.0.1:9999/debian sid/main amd64 gpg amd64 2.2.12-1 [862 kB] Get:69 http://127.0.0.1:9999/debian sid/main amd64 pinentry-curses amd64 1.1.0-1+b1 [64.5 kB] Get:70 http://127.0.0.1:9999/debian sid/main amd64 gpg-agent amd64 2.2.12-1 [617 kB] Get:71 http://127.0.0.1:9999/debian sid/main amd64 gpg-wks-client amd64 2.2.12-1 [484 kB] Get:72 http://127.0.0.1:9999/debian sid/main amd64 gpg-wks-server amd64 2.2.12-1 [477 kB] Get:73 http://127.0.0.1:9999/debian sid/main amd64 gpgsm amd64 2.2.12-1 [602 kB] Get:74 http://127.0.0.1:9999/debian sid/main amd64 gnupg all 2.2.12-1 [715 kB] Get:75 http://127.0.0.1:9999/debian sid/main amd64 libfile-which-perl all 1.23-1 [16.6 kB] Get:76 http://127.0.0.1:9999/debian sid/main amd64 libfile-homedir-perl all 1.004-1 [42.7 kB] Get:77 http://127.0.0.1:9999/debian sid/main amd64 libio-pty-perl amd64 1:1.08-1.1+b5 [33.7 kB] Get:78 http://127.0.0.1:9999/debian sid/main amd64 libipc-run-perl all 20180523.0-1 [101 kB] Get:79 http://127.0.0.1:9999/debian sid/main amd64 libclass-method-modifiers-perl all 2.12-1 [18.6 kB] Get:80 http://127.0.0.1:9999/debian sid/main amd64 libsub-exporter-progressive-perl all 0.001013-1 [7588 B] Get:81 http://127.0.0.1:9999/debian sid/main amd64 libdevel-globaldestruction-perl all 0.14-1 [8084 B] Get:82 http://127.0.0.1:9999/debian sid/main amd64 libb-hooks-op-check-perl amd64 0.22-1+b1 [11.4 kB] Get:83 http://127.0.0.1:9999/debian sid/main amd64 libdynaloader-functions-perl all 0.003-1 [12.6 kB] Get:84 http://127.0.0.1:9999/debian sid/main amd64 libdevel-callchecker-perl amd64 0.007-2+b2 [17.9 kB] Get:85 http://127.0.0.1:9999/debian sid/main amd64 libparams-classify-perl amd64 0.015-1+b1 [25.5 kB] Get:86 http://127.0.0.1:9999/debian sid/main amd64 libmodule-runtime-perl all 0.016-1 [19.4 kB] Get:87 http://127.0.0.1:9999/debian sid/main amd64 libimport-into-perl all 1.002005-1 [11.6 kB] Get:88 http://127.0.0.1:9999/debian sid/main amd64 librole-tiny-perl all 2.000006-1 [19.4 kB] Get:89 http://127.0.0.1:9999/debian sid/main amd64 libstrictures-perl all 2.000005-1 [18.3 kB] Get:90 http://127.0.0.1:9999/debian sid/main amd64 libsub-quote-perl all 2.005001-1 [17.9 kB] Get:91 http://127.0.0.1:9999/debian sid/main amd64 libmoo-perl all 2.003004-2 [57.4 kB] Get:92 http://127.0.0.1:9999/debian sid/main amd64 libencode-locale-perl all 1.05-1 [13.7 kB] Get:93 http://127.0.0.1:9999/debian sid/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:94 http://127.0.0.1:9999/debian sid/main amd64 libhttp-date-perl all 6.02-1 [10.7 kB] Get:95 http://127.0.0.1:9999/debian sid/main amd64 libfile-listing-perl all 6.04-1 [10.3 kB] Get:96 http://127.0.0.1:9999/debian sid/main amd64 libhtml-tagset-perl all 3.20-3 [12.7 kB] Get:97 http://127.0.0.1:9999/debian sid/main amd64 liburi-perl all 1.74-1 [89.4 kB] Get:98 http://127.0.0.1:9999/debian sid/main amd64 libhtml-parser-perl amd64 3.72-3+b3 [105 kB] Get:99 http://127.0.0.1:9999/debian sid/main amd64 libhtml-tree-perl all 5.07-1 [213 kB] Get:100 http://127.0.0.1:9999/debian sid/main amd64 libio-html-perl all 1.001-1 [17.6 kB] Get:101 http://127.0.0.1:9999/debian sid/main amd64 liblwp-mediatypes-perl all 6.02-1 [22.1 kB] Get:102 http://127.0.0.1:9999/debian sid/main amd64 libhttp-message-perl all 6.18-1 [77.8 kB] Get:103 http://127.0.0.1:9999/debian sid/main amd64 libhttp-cookies-perl all 6.04-1 [17.8 kB] Get:104 http://127.0.0.1:9999/debian sid/main amd64 libhttp-negotiate-perl all 6.01-1 [12.8 kB] Get:105 http://127.0.0.1:9999/debian sid/main amd64 perl-openssl-defaults amd64 3 [6782 B] Get:106 http://127.0.0.1:9999/debian sid/main amd64 libnet-ssleay-perl amd64 1.85-2+b1 [308 kB] Get:107 http://127.0.0.1:9999/debian sid/main amd64 libio-socket-ssl-perl all 2.060-3 [207 kB] Get:108 http://127.0.0.1:9999/debian sid/main amd64 libnet-http-perl all 6.18-1 [24.5 kB] Get:109 http://127.0.0.1:9999/debian sid/main amd64 liblwp-protocol-https-perl all 6.07-2 [9242 B] Get:110 http://127.0.0.1:9999/debian sid/main amd64 libtry-tiny-perl all 0.30-1 [23.3 kB] Get:111 http://127.0.0.1:9999/debian sid/main amd64 libwww-robotrules-perl all 6.02-1 [12.9 kB] Get:112 http://127.0.0.1:9999/debian sid/main amd64 libwww-perl all 6.36-1 [188 kB] Get:113 http://127.0.0.1:9999/debian sid/main amd64 patchutils amd64 0.3.4-2 [90.4 kB] Get:114 http://127.0.0.1:9999/debian sid/main amd64 wdiff amd64 1.2.2-2+b1 [122 kB] Get:115 http://127.0.0.1:9999/debian sid/main amd64 devscripts amd64 2.18.10 [1019 kB] Get:116 http://127.0.0.1:9999/debian sid/main amd64 rubygems-integration all 1.11 [4994 B] Get:117 http://127.0.0.1:9999/debian sid/main amd64 ruby-did-you-mean all 1.2.1-1 [14.4 kB] Get:118 http://127.0.0.1:9999/debian sid/main amd64 ruby-minitest all 5.11.3-1 [54.8 kB] Get:119 http://127.0.0.1:9999/debian sid/main amd64 ruby-net-telnet all 0.1.1-2 [12.5 kB] Get:120 http://127.0.0.1:9999/debian sid/main amd64 ruby-power-assert all 1.1.1-1 [10.9 kB] Get:121 http://127.0.0.1:9999/debian sid/main amd64 ruby-test-unit all 3.2.8-1 [72.4 kB] Get:122 http://127.0.0.1:9999/debian sid/main amd64 ruby-xmlrpc all 0.3.0-2 [23.7 kB] Get:123 http://127.0.0.1:9999/debian sid/main amd64 libyaml-0-2 amd64 0.2.1-1 [47.2 kB] Get:124 http://127.0.0.1:9999/debian sid/main amd64 libruby2.5 amd64 2.5.3-3 [3429 kB] Get:125 http://127.0.0.1:9999/debian sid/main amd64 ruby2.5 amd64 2.5.3-3 [393 kB] Get:126 http://127.0.0.1:9999/debian sid/main amd64 ruby amd64 1:2.5.1 [11.3 kB] Get:127 http://127.0.0.1:9999/debian sid/main amd64 rake all 12.3.1-3 [66.9 kB] Get:128 http://127.0.0.1:9999/debian sid/main amd64 gem2deb-test-runner amd64 0.40 [21.5 kB] Get:129 http://127.0.0.1:9999/debian sid/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-4 [22.9 kB] Get:130 http://127.0.0.1:9999/debian sid/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-4 [628 kB] Get:131 http://127.0.0.1:9999/debian sid/main amd64 ruby2.5-dev amd64 2.5.3-3 [407 kB] Get:132 http://127.0.0.1:9999/debian sid/main amd64 ruby-all-dev amd64 1:2.5.1 [10.9 kB] Get:133 http://127.0.0.1:9999/debian sid/main amd64 ruby-setup all 3.4.1-9 [34.2 kB] Get:134 http://127.0.0.1:9999/debian sid/main amd64 gem2deb amd64 0.40 [58.8 kB] Get:135 http://127.0.0.1:9999/debian sid/main amd64 libncurses-dev amd64 6.1+20181013-1 [333 kB] Get:136 http://127.0.0.1:9999/debian sid/main amd64 libncursesw5-dev amd64 6.1+20181013-1 [944 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 44.0 MB in 1s (82.8 MB/s) Selecting previously unselected package bsdmainutils. (Reading database ... 12592 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-2_amd64.deb ... Unpacking groff-base (1.22.4-2) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../3-libpipeline1_1.5.0-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.0-2) ... Selecting previously unselected package man-db. Preparing to unpack .../4-man-db_2.8.5-1_amd64.deb ... Unpacking man-db (2.8.5-1) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../5-libssl1.1_1.1.1a-1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1a-1) ... Selecting previously unselected package libpython3.7-minimal:amd64. Preparing to unpack .../6-libpython3.7-minimal_3.7.2-1_amd64.deb ... Unpacking libpython3.7-minimal:amd64 (3.7.2-1) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../7-libexpat1_2.2.6-1_amd64.deb ... Unpacking libexpat1:amd64 (2.2.6-1) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../8-python3.7-minimal_3.7.2-1_amd64.deb ... Unpacking python3.7-minimal (3.7.2-1) ... Setting up libssl1.1:amd64 (1.1.1a-1) ... Setting up libpython3.7-minimal:amd64 (3.7.2-1) ... Setting up libexpat1:amd64 (2.2.6-1) ... Setting up python3.7-minimal (3.7.2-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 13481 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.7.1-3_amd64.deb ... Unpacking python3-minimal (3.7.1-3) ... Selecting previously unselected package mime-support. Preparing to unpack .../1-mime-support_3.61_all.deb ... Unpacking mime-support (3.61) ... 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_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package libreadline7:amd64. Preparing to unpack .../4-libreadline7_7.0-5_amd64.deb ... Unpacking libreadline7:amd64 (7.0-5) ... Selecting previously unselected package libsqlite3-0:amd64. Preparing to unpack .../5-libsqlite3-0_3.26.0+fossilbc891ac6b-1_amd64.deb ... Unpacking libsqlite3-0:amd64 (3.26.0+fossilbc891ac6b-1) ... Selecting previously unselected package libpython3.7-stdlib:amd64. Preparing to unpack .../6-libpython3.7-stdlib_3.7.2-1_amd64.deb ... Unpacking libpython3.7-stdlib:amd64 (3.7.2-1) ... Selecting previously unselected package python3.7. Preparing to unpack .../7-python3.7_3.7.2-1_amd64.deb ... Unpacking python3.7 (3.7.2-1) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../8-libpython3-stdlib_3.7.1-3_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.7.1-3) ... Setting up python3-minimal (3.7.1-3) ... Selecting previously unselected package python3. (Reading database ... 13947 files and directories currently installed.) Preparing to unpack .../000-python3_3.7.1-3_amd64.deb ... Unpacking python3 (3.7.1-3) ... Selecting previously unselected package netbase. Preparing to unpack .../001-netbase_5.5_all.deb ... Unpacking netbase (5.5) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../002-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../003-libmagic-mgc_1%3a5.34-2_amd64.deb ... Unpacking libmagic-mgc (1:5.34-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../004-libmagic1_1%3a5.34-2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.34-2) ... Selecting previously unselected package file. Preparing to unpack .../005-file_1%3a5.34-2_amd64.deb ... Unpacking file (1:5.34-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../006-gettext-base_0.19.8.1-9_amd64.deb ... Unpacking gettext-base (0.19.8.1-9) ... 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-2_amd64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../009-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... 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-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package openssl. Preparing to unpack .../013-openssl_1.1.1a-1_amd64.deb ... Unpacking openssl (1.1.1a-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../014-ca-certificates_20180409_all.deb ... Unpacking ca-certificates (20180409) ... Selecting previously unselected package libtool. Preparing to unpack .../015-libtool_2.4.6-6_all.deb ... Unpacking libtool (2.4.6-6) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../016-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../017-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../018-libfile-stripnondeterminism-perl_1.0.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.0.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../019-dh-strip-nondeterminism_1.0.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.0.0-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../020-libelf1_0.175-2_amd64.deb ... Unpacking libelf1:amd64 (0.175-2) ... Selecting previously unselected package dwz. Preparing to unpack .../021-dwz_0.12-3_amd64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../022-libglib2.0-0_2.58.2-3_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.58.2-3) ... Selecting previously unselected package libicu63:amd64. Preparing to unpack .../023-libicu63_63.1-5_amd64.deb ... Unpacking libicu63:amd64 (63.1-5) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../024-libxml2_2.9.4+dfsg1-7+b3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../025-libcroco3_0.6.12-3_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-3) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../026-libncurses6_6.1+20181013-1_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20181013-1) ... Selecting previously unselected package gettext. Preparing to unpack .../027-gettext_0.19.8.1-9_amd64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../028-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../029-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../030-debhelper_12_all.deb ... Unpacking debhelper (12) ... Selecting previously unselected package libassuan0:amd64. Preparing to unpack .../031-libassuan0_2.5.2-1_amd64.deb ... Unpacking libassuan0:amd64 (2.5.2-1) ... Selecting previously unselected package gpgconf. Preparing to unpack .../032-gpgconf_2.2.12-1_amd64.deb ... Unpacking gpgconf (2.2.12-1) ... Selecting previously unselected package lsb-base. Preparing to unpack .../033-lsb-base_10.2018112800_all.deb ... Unpacking lsb-base (10.2018112800) ... 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 libkeyutils1:amd64. Preparing to unpack .../035-libkeyutils1_1.5.9-9.3_amd64.deb ... Unpacking libkeyutils1:amd64 (1.5.9-9.3) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../036-libkrb5support0_1.16.2-1_amd64.deb ... Unpacking libkrb5support0:amd64 (1.16.2-1) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../037-libk5crypto3_1.16.2-1_amd64.deb ... Unpacking libk5crypto3:amd64 (1.16.2-1) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../038-libkrb5-3_1.16.2-1_amd64.deb ... Unpacking libkrb5-3:amd64 (1.16.2-1) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../039-libgssapi-krb5-2_1.16.2-1_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.16.2-1) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../040-libsasl2-modules-db_2.1.27~rc8-1_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.27~rc8-1) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../041-libsasl2-2_2.1.27~rc8-1_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.27~rc8-1) ... Selecting previously unselected package libldap-common. Preparing to unpack .../042-libldap-common_2.4.47+dfsg-1_all.deb ... Unpacking libldap-common (2.4.47+dfsg-1) ... Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack .../043-libldap-2.4-2_2.4.47+dfsg-1_amd64.deb ... Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-1) ... Selecting previously unselected package libnpth0:amd64. Preparing to unpack .../044-libnpth0_1.6-1_amd64.deb ... Unpacking libnpth0:amd64 (1.6-1) ... Selecting previously unselected package dirmngr. Preparing to unpack .../045-dirmngr_2.2.12-1_amd64.deb ... Unpacking dirmngr (2.2.12-1) ... Selecting previously unselected package gnupg-l10n. Preparing to unpack .../046-gnupg-l10n_2.2.12-1_all.deb ... Unpacking gnupg-l10n (2.2.12-1) ... Selecting previously unselected package gnupg-utils. Preparing to unpack .../047-gnupg-utils_2.2.12-1_amd64.deb ... Unpacking gnupg-utils (2.2.12-1) ... Selecting previously unselected package gpg. Preparing to unpack .../048-gpg_2.2.12-1_amd64.deb ... Unpacking gpg (2.2.12-1) ... Selecting previously unselected package pinentry-curses. Preparing to unpack .../049-pinentry-curses_1.1.0-1+b1_amd64.deb ... Unpacking pinentry-curses (1.1.0-1+b1) ... Selecting previously unselected package gpg-agent. Preparing to unpack .../050-gpg-agent_2.2.12-1_amd64.deb ... Unpacking gpg-agent (2.2.12-1) ... Selecting previously unselected package gpg-wks-client. Preparing to unpack .../051-gpg-wks-client_2.2.12-1_amd64.deb ... Unpacking gpg-wks-client (2.2.12-1) ... Selecting previously unselected package gpg-wks-server. Preparing to unpack .../052-gpg-wks-server_2.2.12-1_amd64.deb ... Unpacking gpg-wks-server (2.2.12-1) ... Selecting previously unselected package gpgsm. Preparing to unpack .../053-gpgsm_2.2.12-1_amd64.deb ... Unpacking gpgsm (2.2.12-1) ... Selecting previously unselected package gnupg. Preparing to unpack .../054-gnupg_2.2.12-1_all.deb ... Unpacking gnupg (2.2.12-1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../055-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 .../056-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 .../057-libio-pty-perl_1%3a1.08-1.1+b5_amd64.deb ... Unpacking libio-pty-perl (1:1.08-1.1+b5) ... Selecting previously unselected package libipc-run-perl. Preparing to unpack .../058-libipc-run-perl_20180523.0-1_all.deb ... Unpacking libipc-run-perl (20180523.0-1) ... Selecting previously unselected package libclass-method-modifiers-perl. Preparing to unpack .../059-libclass-method-modifiers-perl_2.12-1_all.deb ... Unpacking libclass-method-modifiers-perl (2.12-1) ... Selecting previously unselected package libsub-exporter-progressive-perl. Preparing to unpack .../060-libsub-exporter-progressive-perl_0.001013-1_all.deb ... Unpacking libsub-exporter-progressive-perl (0.001013-1) ... Selecting previously unselected package libdevel-globaldestruction-perl. Preparing to unpack .../061-libdevel-globaldestruction-perl_0.14-1_all.deb ... Unpacking libdevel-globaldestruction-perl (0.14-1) ... Selecting previously unselected package libb-hooks-op-check-perl. Preparing to unpack .../062-libb-hooks-op-check-perl_0.22-1+b1_amd64.deb ... Unpacking libb-hooks-op-check-perl (0.22-1+b1) ... Selecting previously unselected package libdynaloader-functions-perl. Preparing to unpack .../063-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 .../064-libdevel-callchecker-perl_0.007-2+b2_amd64.deb ... Unpacking libdevel-callchecker-perl (0.007-2+b2) ... Selecting previously unselected package libparams-classify-perl. Preparing to unpack .../065-libparams-classify-perl_0.015-1+b1_amd64.deb ... Unpacking libparams-classify-perl (0.015-1+b1) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../066-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 .../067-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 .../068-librole-tiny-perl_2.000006-1_all.deb ... Unpacking librole-tiny-perl (2.000006-1) ... Selecting previously unselected package libstrictures-perl. Preparing to unpack .../069-libstrictures-perl_2.000005-1_all.deb ... Unpacking libstrictures-perl (2.000005-1) ... Selecting previously unselected package libsub-quote-perl. Preparing to unpack .../070-libsub-quote-perl_2.005001-1_all.deb ... Unpacking libsub-quote-perl (2.005001-1) ... Selecting previously unselected package libmoo-perl. Preparing to unpack .../071-libmoo-perl_2.003004-2_all.deb ... Unpacking libmoo-perl (2.003004-2) ... Selecting previously unselected package libencode-locale-perl. Preparing to unpack .../072-libencode-locale-perl_1.05-1_all.deb ... Unpacking libencode-locale-perl (1.05-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../073-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package libhttp-date-perl. Preparing to unpack .../074-libhttp-date-perl_6.02-1_all.deb ... Unpacking libhttp-date-perl (6.02-1) ... Selecting previously unselected package libfile-listing-perl. Preparing to unpack .../075-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 .../076-libhtml-tagset-perl_3.20-3_all.deb ... Unpacking libhtml-tagset-perl (3.20-3) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../077-liburi-perl_1.74-1_all.deb ... Unpacking liburi-perl (1.74-1) ... Selecting previously unselected package libhtml-parser-perl. Preparing to unpack .../078-libhtml-parser-perl_3.72-3+b3_amd64.deb ... Unpacking libhtml-parser-perl (3.72-3+b3) ... Selecting previously unselected package libhtml-tree-perl. Preparing to unpack .../079-libhtml-tree-perl_5.07-1_all.deb ... Unpacking libhtml-tree-perl (5.07-1) ... Selecting previously unselected package libio-html-perl. Preparing to unpack .../080-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 .../081-liblwp-mediatypes-perl_6.02-1_all.deb ... Unpacking liblwp-mediatypes-perl (6.02-1) ... Selecting previously unselected package libhttp-message-perl. Preparing to unpack .../082-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 .../083-libhttp-cookies-perl_6.04-1_all.deb ... Unpacking libhttp-cookies-perl (6.04-1) ... Selecting previously unselected package libhttp-negotiate-perl. Preparing to unpack .../084-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 .../085-perl-openssl-defaults_3_amd64.deb ... Unpacking perl-openssl-defaults:amd64 (3) ... Selecting previously unselected package libnet-ssleay-perl. Preparing to unpack .../086-libnet-ssleay-perl_1.85-2+b1_amd64.deb ... Unpacking libnet-ssleay-perl (1.85-2+b1) ... Selecting previously unselected package libio-socket-ssl-perl. Preparing to unpack .../087-libio-socket-ssl-perl_2.060-3_all.deb ... Unpacking libio-socket-ssl-perl (2.060-3) ... Selecting previously unselected package libnet-http-perl. Preparing to unpack .../088-libnet-http-perl_6.18-1_all.deb ... Unpacking libnet-http-perl (6.18-1) ... Selecting previously unselected package liblwp-protocol-https-perl. Preparing to unpack .../089-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 .../090-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 .../091-libwww-robotrules-perl_6.02-1_all.deb ... Unpacking libwww-robotrules-perl (6.02-1) ... Selecting previously unselected package libwww-perl. Preparing to unpack .../092-libwww-perl_6.36-1_all.deb ... Unpacking libwww-perl (6.36-1) ... Selecting previously unselected package patchutils. Preparing to unpack .../093-patchutils_0.3.4-2_amd64.deb ... Unpacking patchutils (0.3.4-2) ... Selecting previously unselected package wdiff. Preparing to unpack .../094-wdiff_1.2.2-2+b1_amd64.deb ... Unpacking wdiff (1.2.2-2+b1) ... Selecting previously unselected package devscripts. Preparing to unpack .../095-devscripts_2.18.10_amd64.deb ... Unpacking devscripts (2.18.10) ... Selecting previously unselected package rubygems-integration. Preparing to unpack .../096-rubygems-integration_1.11_all.deb ... Unpacking rubygems-integration (1.11) ... Selecting previously unselected package ruby-did-you-mean. Preparing to unpack .../097-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 .../098-ruby-minitest_5.11.3-1_all.deb ... Unpacking ruby-minitest (5.11.3-1) ... Selecting previously unselected package ruby-net-telnet. Preparing to unpack .../099-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 .../100-ruby-power-assert_1.1.1-1_all.deb ... Unpacking ruby-power-assert (1.1.1-1) ... Selecting previously unselected package ruby-test-unit. Preparing to unpack .../101-ruby-test-unit_3.2.8-1_all.deb ... Unpacking ruby-test-unit (3.2.8-1) ... Selecting previously unselected package ruby-xmlrpc. Preparing to unpack .../102-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 .../103-libyaml-0-2_0.2.1-1_amd64.deb ... Unpacking libyaml-0-2:amd64 (0.2.1-1) ... Selecting previously unselected package libruby2.5:amd64. Preparing to unpack .../104-libruby2.5_2.5.3-3_amd64.deb ... Unpacking libruby2.5:amd64 (2.5.3-3) ... Selecting previously unselected package ruby2.5. Preparing to unpack .../105-ruby2.5_2.5.3-3_amd64.deb ... Unpacking ruby2.5 (2.5.3-3) ... Selecting previously unselected package ruby. Preparing to unpack .../106-ruby_1%3a2.5.1_amd64.deb ... Unpacking ruby (1:2.5.1) ... Selecting previously unselected package rake. Preparing to unpack .../107-rake_12.3.1-3_all.deb ... Unpacking rake (12.3.1-3) ... Selecting previously unselected package gem2deb-test-runner. Preparing to unpack .../108-gem2deb-test-runner_0.40_amd64.deb ... Unpacking gem2deb-test-runner (0.40) ... Selecting previously unselected package libgmpxx4ldbl:amd64. Preparing to unpack .../109-libgmpxx4ldbl_2%3a6.1.2+dfsg-4_amd64.deb ... Unpacking libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-4) ... Selecting previously unselected package libgmp-dev:amd64. Preparing to unpack .../110-libgmp-dev_2%3a6.1.2+dfsg-4_amd64.deb ... Unpacking libgmp-dev:amd64 (2:6.1.2+dfsg-4) ... Selecting previously unselected package ruby2.5-dev:amd64. Preparing to unpack .../111-ruby2.5-dev_2.5.3-3_amd64.deb ... Unpacking ruby2.5-dev:amd64 (2.5.3-3) ... Selecting previously unselected package ruby-all-dev:amd64. Preparing to unpack .../112-ruby-all-dev_1%3a2.5.1_amd64.deb ... Unpacking ruby-all-dev:amd64 (1:2.5.1) ... Selecting previously unselected package ruby-setup. Preparing to unpack .../113-ruby-setup_3.4.1-9_all.deb ... Unpacking ruby-setup (3.4.1-9) ... Selecting previously unselected package gem2deb. Preparing to unpack .../114-gem2deb_0.40_amd64.deb ... Unpacking gem2deb (0.40) ... Selecting previously unselected package libncurses-dev:amd64. Preparing to unpack .../115-libncurses-dev_6.1+20181013-1_amd64.deb ... Unpacking libncurses-dev:amd64 (6.1+20181013-1) ... Selecting previously unselected package libncursesw5-dev:amd64. Preparing to unpack .../116-libncursesw5-dev_6.1+20181013-1_amd64.deb ... Unpacking libncursesw5-dev:amd64 (6.1+20181013-1) ... Selecting previously unselected package sbuild-build-depends-ruby-curses-dummy. Preparing to unpack .../117-sbuild-build-depends-ruby-curses-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-ruby-curses-dummy (0.invalid.0) ... Setting up libnpth0:amd64 (1.6-1) ... Setting up libhtml-tagset-perl (3.20-3) ... Setting up readline-common (7.0-5) ... Setting up libsub-exporter-progressive-perl (0.001013-1) ... Setting up libtry-tiny-perl (0.30-1) ... Setting up libclass-method-modifiers-perl (2.12-1) ... Setting up ruby-xmlrpc (0.3.0-2) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up mime-support (3.61) ... Setting up libicu63:amd64 (63.1-5) ... Setting up libio-pty-perl (1:1.08-1.1+b5) ... Setting up libfile-which-perl (1.23-1) ... Setting up libencode-locale-perl (1.05-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up librole-tiny-perl (2.000006-1) ... Setting up libldap-common (2.4.47+dfsg-1) ... Setting up libreadline7:amd64 (7.0-5) ... Setting up perl-openssl-defaults:amd64 (3) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up libelf1:amd64 (0.175-2) ... Setting up libb-hooks-op-check-perl (0.22-1+b1) ... Setting up libglib2.0-0:amd64 (2.58.2-3) ... No schema files found: doing nothing. Setting up libio-html-perl (1.001-1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up libpipeline1:amd64 (1.5.0-2) ... Setting up libksba8:amd64 (1.3.5-2) ... Setting up m4 (1.4.18-2) ... Setting up libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Setting up libdynaloader-functions-perl (0.003-1) ... Setting up libuchardet0:amd64 (0.0.6-3) ... Setting up libmagic-mgc (1:5.34-2) ... Setting up gnupg-l10n (2.2.12-1) ... Setting up libmagic1:amd64 (1:5.34-2) ... Setting up lsb-base (10.2018112800) ... Setting up libcroco3:amd64 (0.6.12-3) ... Setting up libstrictures-perl (2.000005-1) ... Setting up ruby-did-you-mean (1.2.1-1) ... Setting up libyaml-0-2:amd64 (0.2.1-1) ... Setting up sensible-utils (0.0.12) ... Setting up liblwp-mediatypes-perl (6.02-1) ... Processing triggers for libc-bin (2.28-4) ... Setting up dwz (0.12-3) ... Setting up patchutils (0.3.4-2) ... Setting up autotools-dev (20180224.1) ... Setting up liburi-perl (1.74-1) ... Setting up libhtml-parser-perl (3.72-3+b3) ... Setting up libipc-run-perl (20180523.0-1) ... Setting up openssl (1.1.1a-1) ... Setting up ruby-net-telnet (0.1.1-2) ... Setting up libdevel-globaldestruction-perl (0.14-1) ... Setting up libsqlite3-0:amd64 (3.26.0+fossilbc891ac6b-1) ... Setting up wdiff (1.2.2-2+b1) ... Setting up libnet-http-perl (6.18-1) ... Setting up libkeyutils1:amd64 (1.5.9-9.3) ... 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 libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-4) ... Setting up ruby-minitest (5.11.3-1) ... Setting up ca-certificates (20180409) ... Updating certificates in /etc/ssl/certs... 133 added, 0 removed; done. Setting up libsub-quote-perl (2.005001-1) ... Setting up libassuan0:amd64 (2.5.2-1) ... Setting up libncurses6:amd64 (6.1+20181013-1) ... Setting up libwww-robotrules-perl (6.02-1) ... Setting up autopoint (0.19.8.1-9) ... Setting up libmpdec2:amd64 (2.4.2-2) ... Setting up ruby-power-assert (1.1.1-1) ... Setting up netbase (5.5) ... Setting up libfile-stripnondeterminism-perl (1.0.0-1) ... Setting up libgmp-dev:amd64 (2:6.1.2+dfsg-4) ... Setting up libpython3.7-stdlib:amd64 (3.7.2-1) ... Setting up libhttp-date-perl (6.02-1) ... Setting up ruby-test-unit (3.2.8-1) ... Setting up gettext (0.19.8.1-9) ... Setting up libnet-ssleay-perl (1.85-2+b1) ... Setting up gpgconf (2.2.12-1) ... Setting up groff-base (1.22.4-2) ... Setting up libdevel-callchecker-perl (0.007-2+b2) ... Setting up python3.7 (3.7.2-1) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.34-2) ... Setting up libkrb5support0:amd64 (1.16.2-1) ... Setting up libio-socket-ssl-perl (2.060-3) ... Setting up libhtml-tree-perl (5.07-1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up gpgsm (2.2.12-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 gnupg-utils (2.2.12-1) ... Setting up libfile-listing-perl (6.04-1) ... Setting up rubygems-integration (1.11) ... Setting up man-db (2.8.5-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libhttp-message-perl (6.18-1) ... Setting up pinentry-curses (1.1.0-1+b1) ... Setting up libncurses-dev:amd64 (6.1+20181013-1) ... Setting up libparams-classify-perl (0.015-1+b1) ... Setting up gpg (2.2.12-1) ... Setting up libhttp-negotiate-perl (6.01-1) ... Setting up libtool (2.4.6-6) ... Setting up libpython3-stdlib:amd64 (3.7.1-3) ... Setting up libk5crypto3:amd64 (1.16.2-1) ... Setting up po-debconf (1.0.21) ... Setting up python3 (3.7.1-3) ... Setting up libhttp-cookies-perl (6.04-1) ... Setting up libmodule-runtime-perl (0.016-1) ... Setting up gpg-agent (2.2.12-1) ... Setting up gpg-wks-server (2.2.12-1) ... Setting up libncursesw5-dev:amd64 (6.1+20181013-1) ... Setting up libkrb5-3:amd64 (1.16.2-1) ... Setting up libimport-into-perl (1.002005-1) ... Setting up libgssapi-krb5-2:amd64 (1.16.2-1) ... Setting up libmoo-perl (2.003004-2) ... Setting up libsasl2-modules-db:amd64 (2.1.27~rc8-1) ... Setting up libsasl2-2:amd64 (2.1.27~rc8-1) ... Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-1) ... Setting up dirmngr (2.2.12-1) ... Setting up gpg-wks-client (2.2.12-1) ... Setting up gnupg (2.2.12-1) ... Setting up ruby2.5 (2.5.3-3) ... Setting up dh-autoreconf (19) ... Setting up liblwp-protocol-https-perl (6.07-2) ... Setting up dh-strip-nondeterminism (1.0.0-1) ... Setting up ruby (1:2.5.1) ... Setting up libwww-perl (6.36-1) ... Setting up debhelper (12) ... Setting up rake (12.3.1-3) ... Setting up ruby-setup (3.4.1-9) ... Setting up devscripts (2.18.10) ... Setting up gem2deb-test-runner (0.40) ... Setting up libruby2.5:amd64 (2.5.3-3) ... Setting up ruby2.5-dev:amd64 (2.5.3-3) ... Setting up ruby-all-dev:amd64 (1:2.5.1) ... Setting up gem2deb (0.40) ... Setting up sbuild-build-depends-ruby-curses-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.28-4) ... Processing triggers for ca-certificates (20180409) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-8-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.31.1-11 dpkg-dev_1.19.2 g++-8_8.2.0-14 gcc-8_8.2.0-14 libc6-dev_2.28-4 libstdc++-8-dev_8.2.0-14 libstdc++6_8.2.0-14 linux-libc-dev_4.19.13-1 Package versions: adduser_3.118 apt_1.8.0~alpha3 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_10.1 base-passwd_3.5.45 bash_4.4.18-3.1 binutils_2.31.1-11 binutils-common_2.31.1-11 binutils-x86-64-linux-gnu_2.31.1-11 bsdmainutils_11.1.2+b1 bsdutils_1:2.33-0.2 build-essential_12.5 bzip2_1.0.6-9 ca-certificates_20180409 clang-8_1:8~svn350193-1~exp1 coreutils_8.30-1 cpp_4:8.2.0-2 cpp-8_8.2.0-14 dash_0.5.10.2-4 debconf_1.5.69 debhelper_12 debian-archive-keyring_2018.1 debianutils_4.8.6 devscripts_2.18.10 dh-autoreconf_19 dh-strip-nondeterminism_1.0.0-1 diffutils_1:3.6-1 dirmngr_2.2.12-1 dpkg_1.19.2 dpkg-dev_1.19.2 dwz_0.12-3 e2fsprogs_1.44.5-1 fakeroot_1.23-1 fdisk_2.33-0.2 file_1:5.34-2 findutils_4.6.0+git+20181018-1 g++_4:8.2.0-2 g++-8_8.2.0-14 gcc_4:8.2.0-2 gcc-8_8.2.0-14 gcc-8-base_8.2.0-14 gem2deb_0.40 gem2deb-test-runner_0.40 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gnupg_2.2.12-1 gnupg-l10n_2.2.12-1 gnupg-utils_2.2.12-1 gpg_2.2.12-1 gpg-agent_2.2.12-1 gpg-wks-client_2.2.12-1 gpg-wks-server_2.2.12-1 gpgconf_2.2.12-1 gpgsm_2.2.12-1 gpgv_2.2.12-1 grep_3.3-1 groff-base_1.22.4-2 gzip_1.9-3 hostname_3.21 init-system-helpers_1.56+nmu1 intltool-debian_0.35.0+20060710.4 lib32gcc1_1:8.2.0-14 lib32stdc++6_8.2.0-14 libacl1_2.2.52-3+b1 libapt-pkg5.0_1.8.0~alpha3 libarchive-zip-perl_1.64-1 libasan5_8.2.0-14 libassuan0_2.5.2-1 libatomic1_8.2.0-14 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.8.4-2 libaudit1_1:2.8.4-2 libb-hooks-op-check-perl_0.22-1+b1 libbinutils_2.31.1-11 libblkid1_2.33-0.2 libbsd0_0.9.1-1 libbz2-1.0_1.0.6-9 libc-bin_2.28-4 libc-dev-bin_2.28-4 libc6_2.28-4 libc6-dev_2.28-4 libc6-i386_2.28-4 libcap-ng0_0.7.9-1+b1 libcc1-0_8.2.0-14 libclang-common-8-dev_1:8~svn350193-1~exp1 libclang1-8_1:8~svn350193-1~exp1 libclass-method-modifiers-perl_2.12-1 libcom-err2_1.44.5-1 libcroco3_0.6.12-3 libdb5.3_5.3.28+dfsg1-0.2 libdebconfclient0_0.246 libdevel-callchecker-perl_0.007-2+b2 libdevel-globaldestruction-perl_0.14-1 libdpkg-perl_1.19.2 libdynaloader-functions-perl_0.003-1 libedit2_3.1-20181209-1 libelf1_0.175-2 libencode-locale-perl_1.05-1 libexpat1_2.2.6-1 libext2fs2_1.44.5-1 libfakeroot_1.23-1 libfdisk1_2.33-0.2 libffi6_3.2.1-9 libfile-homedir-perl_1.004-1 libfile-listing-perl_6.04-1 libfile-stripnondeterminism-perl_1.0.0-1 libfile-which-perl_1.23-1 libgc1c2_1:7.6.4-0.4 libgcc-8-dev_8.2.0-14 libgcc1_1:8.2.0-14 libgcrypt20_1.8.4-4 libgdbm-compat4_1.18.1-2 libgdbm6_1.18.1-2 libglib2.0-0_2.58.2-3 libgmp-dev_2:6.1.2+dfsg-4 libgmp10_2:6.1.2+dfsg-4 libgmpxx4ldbl_2:6.1.2+dfsg-4 libgnutls30_3.6.5-2 libgomp1_8.2.0-14 libgpg-error0_1.33-3 libgssapi-krb5-2_1.16.2-1 libhogweed4_3.4.1~rc1-1 libhtml-parser-perl_3.72-3+b3 libhtml-tagset-perl_3.20-3 libhtml-tree-perl_5.07-1 libhttp-cookies-perl_6.04-1 libhttp-date-perl_6.02-1 libhttp-message-perl_6.18-1 libhttp-negotiate-perl_6.01-1 libicu63_63.1-5 libidn2-0_2.0.5-1 libimport-into-perl_1.002005-1 libio-html-perl_1.001-1 libio-pty-perl_1:1.08-1.1+b5 libio-socket-ssl-perl_2.060-3 libipc-run-perl_20180523.0-1 libisl19_0.20-2 libitm1_8.2.0-14 libk5crypto3_1.16.2-1 libkeyutils1_1.5.9-9.3 libkrb5-3_1.16.2-1 libkrb5support0_1.16.2-1 libksba8_1.3.5-2 libldap-2.4-2_2.4.47+dfsg-1 libldap-common_2.4.47+dfsg-1 libllvm8_1:8~svn350193-1~exp1 liblsan0_8.2.0-14 liblwp-mediatypes-perl_6.02-1 liblwp-protocol-https-perl_6.07-2 liblz4-1_1.8.3-1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.34-2 libmagic1_1:5.34-2 libmodule-runtime-perl_0.016-1 libmoo-perl_2.003004-2 libmount1_2.33-0.2 libmpc3_1.1.0-1 libmpdec2_2.4.2-2 libmpfr6_4.0.2~rc1-1 libmpx2_8.2.0-14 libncurses-dev_6.1+20181013-1 libncurses6_6.1+20181013-1 libncursesw5-dev_6.1+20181013-1 libncursesw6_6.1+20181013-1 libnet-http-perl_6.18-1 libnet-ssleay-perl_1.85-2+b1 libnettle6_3.4.1~rc1-1 libnpth0_1.6-1 libobjc-8-dev_8.2.0-14 libobjc4_8.2.0-14 libomp-8-dev_1:8~svn350193-1~exp1 libomp5-8_1:8~svn350193-1~exp1 libp11-kit0_0.23.14-2 libpam-modules_1.1.8-4 libpam-modules-bin_1.1.8-4 libpam-runtime_1.1.8-4 libpam0g_1.1.8-4 libparams-classify-perl_0.015-1+b1 libpcre3_2:8.39-11 libperl5.28_5.28.1-3 libpipeline1_1.5.0-2 libpython3-stdlib_3.7.1-3 libpython3.7-minimal_3.7.2-1 libpython3.7-stdlib_3.7.2-1 libquadmath0_8.2.0-14 libreadline7_7.0-5 librole-tiny-perl_2.000006-1 libruby2.5_2.5.3-3 libsasl2-2_2.1.27~rc8-1 libsasl2-modules-db_2.1.27~rc8-1 libseccomp2_2.3.3-3 libselinux1_2.8-1+b1 libsemanage-common_2.8-2 libsemanage1_2.8-2 libsepol1_2.8-1 libsigsegv2_2.12-2 libsmartcols1_2.33-0.2 libsqlite3-0_3.26.0+fossilbc891ac6b-1 libss2_1.44.5-1 libssl1.1_1.1.1a-1 libstdc++-8-dev_8.2.0-14 libstdc++6_8.2.0-14 libstrictures-perl_2.000005-1 libsub-exporter-progressive-perl_0.001013-1 libsub-quote-perl_2.005001-1 libsystemd0_240-2 libtasn1-6_4.13-3 libtimedate-perl_2.3000-2 libtinfo6_6.1+20181013-1 libtool_2.4.6-6 libtry-tiny-perl_0.30-1 libtsan0_8.2.0-14 libubsan1_8.2.0-14 libuchardet0_0.0.6-3 libudev1_240-2 libunistring2_0.9.10-1 liburi-perl_1.74-1 libuuid1_2.33-0.2 libwww-perl_6.36-1 libwww-robotrules-perl_6.02-1 libxml2_2.9.4+dfsg1-7+b3 libyaml-0-2_0.2.1-1 libzstd1_1.3.8+dfsg-3 linux-libc-dev_4.19.13-1 login_1:4.5-1.1 lsb-base_10.2018112800 m4_1.4.18-2 make_4.2.1-1.2 man-db_2.8.5-1 mawk_1.3.3-17+b3 mime-support_3.61 mount_2.33-0.2 ncurses-base_6.1+20181013-1 ncurses-bin_6.1+20181013-1 netbase_5.5 openssl_1.1.1a-1 passwd_1:4.5-1.1 patch_2.7.6-3 patchutils_0.3.4-2 perl_5.28.1-3 perl-base_5.28.1-3 perl-modules-5.28_5.28.1-3 perl-openssl-defaults_3 pinentry-curses_1.1.0-1+b1 po-debconf_1.0.21 python3_3.7.1-3 python3-minimal_3.7.1-3 python3.7_3.7.2-1 python3.7-minimal_3.7.2-1 rake_12.3.1-3 readline-common_7.0-5 ruby_1:2.5.1 ruby-all-dev_1:2.5.1 ruby-did-you-mean_1.2.1-1 ruby-minitest_5.11.3-1 ruby-net-telnet_0.1.1-2 ruby-power-assert_1.1.1-1 ruby-setup_3.4.1-9 ruby-test-unit_3.2.8-1 ruby-xmlrpc_0.3.0-2 ruby2.5_2.5.3-3 ruby2.5-dev_2.5.3-3 rubygems-integration_1.11 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-ruby-curses-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 sysvinit-utils_2.93-3 tar_1.30+dfsg-4 tzdata_2018i-1 util-linux_2.33-0.2 wdiff_1.2.2-2+b1 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made 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=en_US.UTF-8 LC_ALL=POSIX LOGNAME=user42 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable SCHROOT_CHROOT_NAME=sid-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1001 SCHROOT_GROUP=user42 SCHROOT_SESSION_ID=sid-amd64-sbuild-6b85ef5b-94e2-4ddb-a5ea-bd5ef3855e6c SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- 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-arch dh build-arch --buildsystem=ruby --with ruby dh_update_autotools_config -a -O--buildsystem=ruby dh_auto_configure -a -O--buildsystem=ruby dh_ruby --configure dh_auto_build -a -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -a -O--buildsystem=ruby dh_ruby --test fakeroot debian/rules binary-arch dh binary-arch --buildsystem=ruby --with ruby dh_testroot -a -O--buildsystem=ruby dh_prep -a -O--buildsystem=ruby dh_auto_install -a -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 ./siteconf20190109-8971-2tctmo.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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-b5a9a3.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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-dd41eb.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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-57fd97.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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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-amG7uo/ruby2.5-2.5.3=. -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:76:in `block in build_and_install' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:70:in `chdir' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:70:in `build_and_install' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:108:in `block in build_all_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:105:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:105:in `build_all_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:121: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: dh_ruby --install /<>/debian/ruby-curses returned exit code 1 make: *** [debian/rules:6: binary-arch] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2019-01-09T22:28:18Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: any Build-Space: 1912 Build-Time: 13 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 15 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 2019-01-09T22:28:18Z Build needed 00:00:42, 1912k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 43.016788864s