[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#313407: libc6: C99 mode causes some library functions to be left undeclared



On Mon, Jun 13, 2005 at 10:14:36AM -0400, Justin Pryzby wrote:
> pryzbyj@andromeda:/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 does not define strdup.

Bastian

-- 
Spock: The odds of surviving another attack are 13562190123 to 1, Captain.

Attachment: signature.asc
Description: Digital signature


Reply to: