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]

Re: Overloading vs. string functions, etc.


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


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