This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in cmath namespace
- From: John Love-Jensen <eljay at adobe dot com>
- To: Jens Vollinga <vollinga at gmx dot de>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Mon, 30 Jan 2006 08:27:29 -0600
- Subject: Re: Bug in cmath namespace
Hi Jense,
> I am not really sure whether this is a bug with respect to the ISO standard
> or whether I made a mistake here. Does anybody know why gcc/libstc++ behaves
> like that?
Not a bug.
GCC's g++ includes the C <math.h>, #undef's the macros, does a "using ::sin"
from the global namespace, and adds inline versions of sin(float) and
sin(long double).
HTH,
--Eljay