Package: libc6
Version: 2.3.2.ds1-22
Severity: normal
[EMAIL PROTECTED]:/tmp$ cat strdup.c
#include string.h
int main()
{
char *s=strdup();
return 0;
}
[EMAIL PROTECTED]:/tmp$ gcc -std=c99 strdup.c
strdup.c: In function `main':
strdup.c:4: warning: implicit declaration of
On Mon, Jun 13, 2005 at 10:14:36AM -0400, Justin Pryzby wrote:
Package: libc6
Version: 2.3.2.ds1-22
Severity: normal
[EMAIL PROTECTED]:/tmp$ cat strdup.c
#include string.h
int main()
{
char *s=strdup();
return 0;
}
[EMAIL PROTECTED]:/tmp$ gcc -std=c99 strdup.c
On Mon, Jun 13, 2005 at 10:14:36AM -0400, Justin Pryzby wrote:
[EMAIL PROTECTED]:/tmp$ gcc -std=c99 strdup.c
strdup.c: In function `main':
strdup.c:4: warning: implicit declaration of function `strdup'
strdup.c:4: warning: initialization makes pointer from integer without a cast
Correct, C99
3 matches
Mail list logo