* [devel] Q: strftime and new GCC again.
@ 2004-02-06 0:47 Anton V. Denisov
2004-02-06 0:41 ` Anton V. Denisov
0 siblings, 1 reply; 2+ messages in thread
From: Anton V. Denisov @ 2004-02-06 0:47 UTC (permalink / raw)
To: devel
Приветствую всех.
Кто-нибудь может объяснить, почему с приходом нового 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 ответит на мой вопрос.
С уважением, Антон В. Денисов.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [devel] Q: strftime and new GCC again.
2004-02-06 0:47 [devel] Q: strftime and new GCC again Anton V. Denisov
@ 2004-02-06 0:41 ` Anton V. Denisov
0 siblings, 0 replies; 2+ messages in thread
From: Anton V. Denisov @ 2004-02-06 0:41 UTC (permalink / raw)
To: devel
Приветствую всех.
Кто-нибудь может объяснить, почему с приходом нового 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 ответит на мой вопрос.
С уважением, Антон В. Денисов.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-06 0:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-06 0:47 [devel] Q: strftime and new GCC again Anton V. Denisov
2004-02-06 0:41 ` Anton V. Denisov
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