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: "suma dot sharma at kpitcummins dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Jun 2007 10:59:31 -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 suma dot sharma at kpitcummins dot com 2007-06-21 10:59 -------
I have observed that, if ?strcpy? is used in the exact same scenario
as ?strcmp? above, i.e. if ?strcpy? is declared as an external function
with ?string.h? also included, then the Compilation error as reported
for ?strcmp? earlier is not observed.
?strcpy? as well as ?strcmp? are defined as macros. Then why such variance?
Kindly provide some suggestions.
Regards,
Suma Sharma
KPIT Cummins Infosystems Ltd,
Pune (INDIA)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based SH-Linux toolchains for Renesas' SH
Series.
The following site also offers free technical support to its
users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU SH-Linux tools were released on April 5,
2007.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
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.