[Bug c/26386] strdup "implicit declaration" warning when using -ansi

2006-02-20 Thread parcour at gmail dot com
--- Comment #3 from parcour at gmail dot com 2006-02-20 22:04 --- Subject: Re: strdup "implicit declaration" warning when using -ansi I see. Sorry for a needless bug report. But thank you for your helpful responses. I expect I really will need to use -ansi (--> STR

[Bug c/26386] New: strdup "implicit declaration" warning when using -ansi

2006-02-20 Thread parcour at gmail dot com
bute__ ((__nothrow__)); # 3 "test.c" 2 int main() { char *s = strdup( "foo" ); free( s ); return 0; } -- Summary: strdup "implicit declaration" warning when using -ansi Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: parcour at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26386