Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/23/04 15:46
Read: times


 
#81769 - One thing to note
Responding to: ???'s previous message
I've written my own version strcpy (don't ask me why, please).
When I try to compile, Keil generate such a warning:
warning c231: attempt to redefine inrinsic function


If you want to overload one of the standard library function, note that you must define your function exactly the same as in the library header; ie,
extern char *strcpy (char *s1, char *s2);
Have you done exactly that?

List of 16 messages in thread
TopicAuthorDate
strcpy - inrinsic?            01/01/70 00:00      
   C231            01/01/70 00:00      
      c231            01/01/70 00:00      
   Maybe not strcpy?            01/01/70 00:00      
      strcpy            01/01/70 00:00      
   Finding Keil error descriptions            01/01/70 00:00      
   odd            01/01/70 00:00      
      additional info: source code            01/01/70 00:00      
         additional info            01/01/70 00:00      
            Your code            01/01/70 00:00      
               Thanks            01/01/70 00:00      
         Inefficient!            01/01/70 00:00      
            Inefficient!            01/01/70 00:00      
   One thing to note            01/01/70 00:00      
   I just can't resist it            01/01/70 00:00      
      One common reason why.            01/01/70 00:00      

Back to Subject List