Debian Bug report logs -
#21077
libc6-dev: asprintf prototype missing.
Reported by: Rob Browning <rlb@cs.utexas.edu>
Date: Mon, 13 Apr 1998 16:18:01 UTC
Severity: normal
Found in version 2.0.7pre1-4
Done: Joel Klecker <jk@espy.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Juan Cespedes <cespedes@debian.org>
:
Bug#21077
; Package libc6-dev
.
(full text, mbox, link).
Acknowledgement sent to Rob Browning <rlb@cs.utexas.edu>
:
New bug report received and forwarded. Copy sent to Juan Cespedes <cespedes@debian.org>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libc6-dev
Version: 2.0.7pre1-4
Even if you include stdio.h as the manpage indicates, the asprintf
prototype isn't found:
foo.c:74: warning: implicit declaration of function `asprintf'
It is defined in stdio.h, but it's in a __USE_GNU block. I tried
-D__USE_GNU, and asprintf was still implicitly declared.
--
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94 53 2B 97 F5 D6 4E 39 30
Information forwarded to debian-bugs-dist@lists.debian.org, Juan Cespedes <cespedes@debian.org>
:
Bug#21077
; Package libc6-dev
.
(full text, mbox, link).
Acknowledgement sent to Brent Hendricks <hendri27@egr.msu.edu>
:
Extra info received and forwarded to list. Copy sent to Juan Cespedes <cespedes@debian.org>
.
(full text, mbox, link).
Message #10 received at 21077@bugs.debian.org (full text, mbox, reply):
That's because all of the __USE_* defines get cleared in <features.h>.
It wants to set those based on other defines.
Try using -D_GNU_SOURCE. <fetaures.h> uses that to decide whether or
not to turn on __USE_GNU (among other things).
Best of luck,
Brent Hendricks
>Package: libc6-dev
>Version: 2.0.7pre1-4
>
>Even if you include stdio.h as the manpage indicates, the asprintf
>prototype isn't found:
>
> foo.c:74: warning: implicit declaration of function `asprintf'
>
>It is defined in stdio.h, but it's in a __USE_GNU block. I tried
>-D__USE_GNU, and asprintf was still implicitly declared.
Information forwarded to debian-bugs-dist@lists.debian.org, Juan Cespedes <cespedes@debian.org>
:
Bug#21077
; Package libc6-dev
.
(full text, mbox, link).
Acknowledgement sent to Rob Browning <rlb@cs.utexas.edu>
:
Extra info received and forwarded to list. Copy sent to Juan Cespedes <cespedes@debian.org>
.
(full text, mbox, link).
Message #15 received at 21077@bugs.debian.org (full text, mbox, reply):
Brent Hendricks <hendri27@egr.msu.edu> writes:
> That's because all of the __USE_* defines get cleared in <features.h>.
> It wants to set those based on other defines.
>
> Try using -D_GNU_SOURCE. <fetaures.h> uses that to decide whether or
> not to turn on __USE_GNU (among other things).
Ahh. They're trying to save me from myself again :>
I'll try _GNU_SOURCE. Thanks.
--
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94 53 2B 97 F5 D6 4E 39 30
Reply sent to Joel Klecker <jk@espy.org>
:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Rob Browning <rlb@cs.utexas.edu>
:
Bug acknowledged by developer.
(full text, mbox, link).
Message #20 received at 21077-done@bugs.debian.org (full text, mbox, reply):
Since this is a matter of not reading the docs, and since the last
message in the bug logs resolves it, I am closing this bug.
--
Joel Klecker (aka Espy) Debian GNU/Linux Developer
<URL:mailto:jk@espy.org> <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/> <URL:http://www.debian.org/>
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Mar 28 20:27:38 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.