This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: Using strlcpy if target OS allows it


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...


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