Overloading vs. string functions, etc.
Gabriel Dos Reis
gdr@codesourcery.com
Thu May 24 13:25:00 GMT 2001
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
More information about the Libstdc++
mailing list