This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] libstdc++/6720 and libstdc++/6671
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: Nathan Myers <ncm-nospam at cantrip dot org>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: 21 May 2002 19:03:20 +0200
- Subject: Re: [RFC] libstdc++/6720 and libstdc++/6671
- Organization: CodeSourcery, LLC
- References: <3CE8ED6C.2060309@unitus.it> <20020521085531.A67002@cantrip.org>
Nathan Myers <ncm-nospam@cantrip.org> writes:
[...]
| When you discard the solution, the problems come back.
Certainly. But we should take care not to cure the symptoms and forget
about the problem. Don't shoot the messenger. The real problem is
elsewhere, and the <ext/xxx> is just exposing something much more
deeper, and no it isn't poor naming.
#include <cmath>
int main()
{
double x = std::sin(9.8);
}
should not provoque compilation error just because there happens to be
a file named cmath in the current directory. Cure that problem and
the symptoms with go away.
[...]
| It's better to advise fixing code than to suggest ways to avoid fixing it.
Competely agreed. But we should fix the problem, not the symptoms.
-- Gaby