Re: Bug in cmath namespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux