[Bug c++/44571] Indirect namespace composition fails on standard C functions

2010-06-17 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2010-06-17 19:57 --- The program has undefined behaviour because it declares a name in namespace std, which is reserved for the implementation. You can workaround this as Andrew suggests, but the behaviour is still technically undefined.

[Bug c++/44571] Indirect namespace composition fails on standard C functions

2010-06-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-06-17 18:47 --- std::strcmp is a builtin if you don't want to use the builtin function, use either -fno-builtins or -fno-builtin-strcmp. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44571