This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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 (--> STRICT_ANSI), so I'll have to do
without strdup.

Joshua Shinavier


On 20 Feb 2006 20:07:13 -0000, pinskia at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-20 20:07 -------
> Ok, either use -D_GNU_SOURCE or don't use -ansi.  Use -pedantic-errors instead
> of -ansi.
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26386
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26386


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]