------- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-14 22:34 ------- > How I can correct this error? Add to the source file: #include <string.h>
This comes from the fact the implicit declaration causes different prototype than what is declared for the builtin functions. You can either use -fno-builtins or including the correct headers. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID Summary| warning: incompatible |warning: incompatible |implicit declaration of |implicit declaration of |built-in function 'strcpy' |built-in function 'strcpy' http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30214