public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/13775] New: dprintf and vdprintf are undefined if -D_GNU_SOURCE
@ 2012-02-27 21:18 msm at freescale dot com
  2012-02-27 21:23 ` [Bug stdio/13775] " roland at gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: msm at freescale dot com @ 2012-02-27 21:18 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13775

             Bug #: 13775
           Summary: dprintf and vdprintf are undefined if -D_GNU_SOURCE
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: normal
          Priority: P2
         Component: stdio
        AssignedTo: unassigned@sourceware.org
        ReportedBy: msm@freescale.com
    Classification: Unclassified


See the following errors:

# gcc -o test -D_GNU_SOURCE  test.c    
In file included from /usr/include/stdio.h:933:0,
                 from test.c:1:
/usr/include/bits/stdio-ldbl.h:67:1: error: 'vdprintf' undeclared here (not in
a function)
/usr/include/bits/stdio-ldbl.h:68:1: error: 'dprintf' undeclared here (not in a
function)
test.c: In function 'main':
test.c:9:16: error: called object 'dprintf' is not a function

Seems to be related to in appropriate ifdef. Full test case below:

https://gist.github.com/1927104

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-26 14:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-27 21:18 [Bug stdio/13775] New: dprintf and vdprintf are undefined if -D_GNU_SOURCE msm at freescale dot com
2012-02-27 21:23 ` [Bug stdio/13775] " roland at gnu dot org
2012-02-27 22:04 ` roland at gnu dot org
2012-02-28 17:01 ` msm at freescale dot com
2012-02-28 17:36 ` roland at gnu dot org
2014-06-26 14:18 ` fweimer at redhat dot com

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).