* Compilation failure with gcc 4.4.7
@ 2015-12-19 11:21 Justus Winter
2015-12-19 11:36 ` Tomi Ollila
0 siblings, 1 reply; 2+ messages in thread
From: Justus Winter @ 2015-12-19 11:21 UTC (permalink / raw)
To: notmuch mailing list
[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]
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=$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 ‘deprecated’ attribute
lib/notmuch.h:915: error: wrong number of arguments specified for ‘deprecated’ attribute
lib/notmuch.h:1011: error: wrong number of arguments specified for ‘deprecated’ attribute
lib/notmuch.h:1048: error: wrong number of arguments specified for ‘deprecated’ 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
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
-----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-----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compilation failure with gcc 4.4.7
2015-12-19 11:21 Compilation failure with gcc 4.4.7 Justus Winter
@ 2015-12-19 11:36 ` Tomi Ollila
0 siblings, 0 replies; 2+ messages in thread
From: Tomi Ollila @ 2015-12-19 11:36 UTC (permalink / raw)
To: Justus Winter, notmuch mailing list
On Sat, Dec 19 2015, Justus Winter <4winter@informatik.uni-hamburg.de> wrote:
> 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):
see thread id:1439303834-27030-1-git-send-email-tomi.ollila@iki.fi
>
> % ./configure --prefix=$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 ‘deprecated’ attribute
> lib/notmuch.h:915: error: wrong number of arguments specified for ‘deprecated’ attribute
> lib/notmuch.h:1011: error: wrong number of arguments specified for ‘deprecated’ attribute
> lib/notmuch.h:1048: error: wrong number of arguments specified for ‘deprecated’ 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
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-19 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-19 11:21 Compilation failure with gcc 4.4.7 Justus Winter
2015-12-19 11:36 ` Tomi Ollila
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).