This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/4681] declaring “strcmp()” as an extern function with inclusion of “string.h” is causing compilation error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]