Bug in cmath namespace

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Jan 30 15:39:00 GMT 2006

"Jens Vollinga" <vollinga@gmx.de> writes:

| Hi,
| I want to define classes called sin,cos,etc. and include the cmath header at
| the same time.

Although GCC is wrong in the behaviour, it is one that is hard to fix
and probably won't be fixed.  
furthermore, I believe your program would have violated a C++ standard
rule (entire sub-section).

-- Gaby

More information about the Gcc-help mailing list