From aa087cd74216963265fe16340bc3ab9280eb6a60 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sat, 19 Dec 2015 12:21:19 +0100 Subject: [PATCH] Compilation failure with gcc 4.4.7 --- 8a/5270069ca63c8f63faba5abe8a97dfb8b509c0 | 116 ++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 8a/5270069ca63c8f63faba5abe8a97dfb8b509c0 diff --git a/8a/5270069ca63c8f63faba5abe8a97dfb8b509c0 b/8a/5270069ca63c8f63faba5abe8a97dfb8b509c0 new file mode 100644 index 000000000..055e88fbb --- /dev/null +++ b/8a/5270069ca63c8f63faba5abe8a97dfb8b509c0 @@ -0,0 +1,116 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id A01486DE02D6 + for ; Sat, 19 Dec 2015 03:21:28 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -1.53 +X-Spam-Level: +X-Spam-Status: No, score=-1.53 tagged_above=-999 required=5 tests=[AWL=-0.840, + RCVD_IN_DNSWL_LOW=-0.7, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id NAicZV3p0SRn for ; + Sat, 19 Dec 2015 03:21:25 -0800 (PST) +Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68]) + by arlo.cworth.org (Postfix) with ESMTPS id A31AD6DE009B + for ; Sat, 19 Dec 2015 03:21:25 -0800 (PST) +Received: from thinkbox (unknown [85.183.43.52]) + (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) + (No client certificate requested) + by mail.cryptobitch.de (Postfix) with ESMTPSA id 4E24F9819D5 + for ; Sat, 19 Dec 2015 12:21:20 +0100 (CET) +Received: from teythoon by thinkbox with local (Exim 4.84) + (envelope-from ) + id 1aAFZf-00021w-Ts + for notmuch@notmuchmail.org; Sat, 19 Dec 2015 12:21:19 +0100 +Content-Type: multipart/signed; protocol="application/pgp-signature"; + micalg="pgp-sha256"; boundary="===============4020483361536373739==" +MIME-Version: 1.0 +Content-Disposition: inline +To: notmuch mailing list +Message-ID: <20151219112119.32735.79955@thinkbox.jade-hamburg.de> +From: Justus Winter <4winter@informatik.uni-hamburg.de> +User-Agent: alot/0.3.6+ +Subject: Compilation failure with gcc 4.4.7 +Date: Sat, 19 Dec 2015 12:21:19 +0100 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 19 Dec 2015 11:21:28 -0000 + +--===============4020483361536373739== +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: quoted-printable + +Hello, + +I just tried to compile notmuch with an oldish compiler, and that +failed (if the compiler is indeed too old, then at least the error +message should be more helpful): + +% ./configure --prefix=3D$HOME/stow/notmuch +[...] +Sanity checking C compilation environment... OK. +Sanity checking C++ compilation environment... OK. +Reading libnotmuch version from source... +*** Error: Reading lib/notmuch.h failed. +Please try running configure again in a clean environment, and if the +problem persists, report a bug. +% cc -g -O2 _libversion.c -o _lib +In file included from _libversion.c:2: +lib/notmuch.h:858: error: wrong number of arguments specified for =E2=80=98= +deprecated=E2=80=99 attribute +lib/notmuch.h:915: error: wrong number of arguments specified for =E2=80=98= +deprecated=E2=80=99 attribute +lib/notmuch.h:1011: error: wrong number of arguments specified for =E2=80= +=98deprecated=E2=80=99 attribute +lib/notmuch.h:1048: error: wrong number of arguments specified for =E2=80= +=98deprecated=E2=80=99 attribute +% gcc --version +gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16) +Copyright (C) 2010 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +Cheers, +Justus + +--===============4020483361536373739== +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Description: signature +Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAABCAAGBQJWdT2sAAoJENMeiILK3jZYktwP/0K4zEo5nGurGEI/RahFdoh2 +JvVSl5daKL4PawIenpHfTJDB8i4SMQQ1dZT7ZXZdEXsHCAbEEw8tVNwGLHZAhyVd +LWA57hZ3qFJ0YbFyc2ZHTKXRZEhqmiIMcTFIQEWL8Eeno5ql9TYnQDoHLC4/thKj +26LV+Zxv+mbus16T/O+nuyD7ktCCoRAxss1i4M3qncORcCxI4sNyaWT2jccuztAO +rHia8Ru0I0Y+3yhCoz0DyRGg6bu5pknkHUsavxtOi1Z9dKvv5yuUPZ46DsDTduFt +DxGDY9A+v1JfaQRMFlicnt1hI3YGtryURifcqvUPHlyqrhKpY9lwYn1tjn40IQCf +AeKe6+wYnbsvuEDuUae6Q/gXqpSw+YVJX2RNcMDyCz/kbf9TIM0UjiSCQwimnET7 +cwUq5OrRDW+e1Ux+vczrQup013y8w3GvYHVpRzLb7ub6X5hgt0ovt5m8HW+AXB7m +/jDIRv0QZ1ycRL06XTvdTDkoUyCi4q7o3ifEhrUzf3irRIGmUX/W6COyynjuEGFi +7RPI3NkBzIfaeiljpcM44c35iC/l0jb9g0q9ojQ/pZiFIu/slN+Cr1KUjrFwLwSQ +Mj9dEDFeWQn7MghSGwnsyVTOVQGbaY07T1IMnom9gGZUhIzZF9OoYZUD9V2YB08q +3bldQ7zMvIf/GSzJtl7R +=za1O +-----END PGP SIGNATURE----- + +--===============4020483361536373739==-- -- 2.26.2