From: "Anton V. Denisov" <fire@kgpu.kamchatka.ru>
To: <devel@altlinux.ru>
Subject: [devel] Q: strftime and new GCC again.
Date: Fri, 06 Feb 2004 00:41:58 -0000
Message-ID: <00ed01c3ec4a$c73c78f0$0100a8c0@stone.kamchatka.ru> (raw)
Message-ID: <20040206004158.O1ztD7cHCnXnrSR5krweKXsaVO3qrPsAlyHoda5P81Y@z> (raw)
Приветствую всех.
Кто-нибудь может объяснить, почему с приходом нового GCC в Сизиф стало
происходит такое:
configure:8324: checking for strftime
configure:8367: i586-alt-linux-g++ -o
conftest -pipe -Wall -O2 -march=i586 -mcpu=i686 conftest.cc >&5
configure:8339: error: nonnull argument with out-of-range operand number
(arg 1, operand 3)
configure:8370: $? = 1
configure: failed program was:
#line 8329 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strftime (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strftime ();
char (*f) ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_strftime) || defined (__stub___strftime)
choke me
#else
f = strftime;
#endif
;
return 0;
}
configure:8386: result: no
и как это исправить? ./configure сгенерирован Autoconf 2.53a. Вот
и возникает вопрос, почему gcc3.2-3.2.3-alt1 этот кусок компилирует, а
новый - нет.
Надеюсь, GCC Development Team ответит на мой вопрос.
С уважением, Антон В. Денисов.
next reply other threads:[~2004-02-06 0:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-06 0:47 Anton V. Denisov [this message]
2004-02-06 0:41 ` Anton V. Denisov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00ed01c3ec4a$c73c78f0$0100a8c0@stone.kamchatka.ru' \
--to=fire@kgpu.kamchatka.ru \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git