Re: Keep the macro "complex" in C++03

2013-02-13 Thread Paolo Carlini
Hi, >2013-02-13 Marc Glisse > > PR libstdc++/56111 > * include/std/complex (complex): Undefine. > * include/c_compatibility/complex.h (complex): Only undefine if >has been included. > * testsuite/26_numerics/complex/56111.cc: New testcase. Patch is Ok, thanks. Y

Keep the macro "complex" in C++03

2013-02-13 Thread Marc Glisse
Hello, this patch was tested on x86_64-linux-gnu. For the testcase, I randomly picked c99.cc which I copied and c++11 -> c++98, _Complex -> complex, but anything using the macro would do. 2013-02-13 Marc Glisse PR libstdc++/56111 * include/std/complex (complex): Undefine.