V3 PATCH: #undef some C99 math macros in <cmath>
Gabriel Dos Reis
Gabriel.Dos-Reis@cmla.ens-cachan.fr
Thu Apr 5 22:40:00 GMT 2001
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
More information about the Libstdc++
mailing list