>with gcc-3.0 yields a warning: "implicit declaration of function
>`strlen'" although strlen is declared in stdio.h according to
>the man page.
This is incorrect: strlen is declared in , not .
Refer to the glibc manual.
p.
pgpobqH4WjmBu.pgp
Description: PGP signature
Package: gcc-3.0
Version: 1:3.0-0pre010526
Severity: normal
Hi
Compiling the following short program
#include
int main (int argc, char** argv) {
const char a[14] = "Hello World.\0";
printf("length of a = %s is %i\n", a, strlen(a));
return 0;
}
with gcc-3.0 yields a warning: "implicit
2 matches
Mail list logo