This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Using strlcpy if target OS allows it
- From: Marc Espie <espie at nerim dot net>
- To: "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 21 Apr 2005 02:31:28 +0200
- Subject: Re: Using strlcpy if target OS allows it
- References: <20050416120946.GC7776@tetto.home> <4266E347.2060401@aaronwl.com>
- Reply-to: espie at nerim dot net
On Wed, Apr 20, 2005 at 06:18:31PM -0500, Aaron W. LaFramboise wrote:
> Marc Espie wrote:
>
> > The linker now warns about uses of strcpy, which means that the whole
> > libstdc++ testsuite fails on OpenBSD now.
>
> If you're just trying to fix the testsuite failures, perhaps you could
> use the gcc-dg-prune callback to ignore this warning?
>
As far as the testsuite goes, yep.
In general, having the library warn is a major annoyance...
well, it's fixed on my box now by sprinkling strlcpy all over the place,
but having yet another patch to maintain internally is stuff I could live
without...