This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Overloading vs. string functions, etc.
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: Overloading vs. string functions, etc.
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 24 May 2001 22:25:30 +0200
- Cc: Mark Mitchell <mark at codesourcery dot com>, libstdc++ at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <20010524112207W.mitchell@codesourcery.com> <u8ofsi4j7f.fsf@gromit.moeb>
Andreas Jaeger <aj@suse.de> writes:
| > How about `#define strcpy __glibcpp_strcpy' in std_cstring.h before
| > including /usr/includ/string.h? I think that would do the trick.
| > Thoughts?
|
| Gaby, isn't this the same problem we had with fabs in <math.h>? I've
| just asked you for guidance on gcc-patches.
The fabs() issue was even more pernicious: glibc provides another
-definition- for fabs when optimization is on. The end results are
the same: programs can't get compiled :-(
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com