I was compiled my aplication correctly with gcc 3.3 on SUSE 9, but now upgrade SUSE to version 10 and the gcc now is the version 4.1. With the new version when compile display more warning, example:
/auexes/autra_prod/source/swap/ts/pgm/swap_ts.c: In function âload_track_2â: /auexes/autra_prod/source/swap/ts/pgm/swap_ts.c:4301: warning: incompatible implicit declaration of built-in function âstrlenâ /auexes/autra_prod/source/swap/ts/pgm/swap_ts.c:4312: warning: incompatible implicit declaration of built-in function âstrlenâ /auexes/autra_prod/source/swap/ts/pgm/swap_ts.c:4327: warning: incompatible implicit declaration of built-in function âstrlenâ /auexes/autra_prod/source/swap/ts/pgm/swap_ts.c:4350: warning: incompatible implicit declaration of built-in function âstrcpyâ /auexes/autra_prod/source/swap/ts/pgm/swap_ts.c:4361: warning: incompatible implicit declaration of built-in function âstrlenâ /auexes/autra_prod/source/swap/ts/pgm/swap_ts.c:4369: warning: incompatible implicit declaration of built-in function âstrlenâ /auexes/autra_prod/source/swap/ts/pgm/swap_ts.c:4382: warning: incompatible implicit declaration of built-in function âmemcpyâ /auexes/autra_prod/source/swap/ts/pgm/swap_ts.c:4405: warning: incompatible implicit declaration of built-in function âstrlenâ /auexes/autra_prod/source/swap/ts/pgm/swap_ts.c:4407: warning: incompatible implicit declaration of built-in function âstrcpyâ /auexes/autra_prod/source/swap/ts/pgm/swap_ts.c:4417: warning: incompatible implicit declaration of built-in function âmemcpyâ but the compile finish OK. As I can correct this error? Thanks -- Summary: warning: incompatible implicit declaration of built-in function 'strcpy' Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jmendoza at bancodebogota dot com dot co http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30214