This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4681] declaring “strcmp()” as an extern function with inclusion of “string.h” is causing compilation error
- From: "jakub at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Jun 2007 09:37:21 -0000
- Subject: [Bug libc/4681] declaring “strcmp()” as an extern function with inclusion of “string.h” is causing compilation error
- References: <20070621092629.4681.suma.sharma@kpitcummins.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jakub at redhat dot com 2007-06-21 09:37 -------
That's a bug in your testcase, you shouldn't declare functions defined in
system headers yourself, just include the appropriate header.
POSIX and ISO C allow these to be defined as macros.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=4681
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.