This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: V3 PATCH: #undef some C99 math macros in <cmath>
Nathan Myers <ncm@nospam.cantrip.org> writes:
[...]
| Where does this leave us? Putting the extra symbols in std::iso_c99::
| is probably safe. Providing something like
|
| #ifdef _ISO_C99_SOURCE
| namespace std { using namespace ::std::iso_c99; }
| #endif
|
| so that users can deliberately choose to import the symbols to std::
| seems to make things easier on some people, at some acknowledged risk.
This is a separate issue but I don't know how to solve the clog
issue. Perhaps in Copenhaguen, someone will enlighten me...
-- Gaby