Patch for missing sinf, cosf, ... [was: wchar_t working on sparc-sun-solaris2.6]

Branko Branko
Mon Jun 5 05:05:00 GMT 2000


Gabriel Dos Reis wrote:
> Brane,
> 
> Thanks you for your patch.  I'll look at it closely.

I've just had an Ooops...
There are two problems with my patch:

    1) configure already checks for these functions, so changing
       Makefile.am isn't necessary
    2) The replacement functions should be wrapped in

	#if defined(_GLIBCPP_HAVE_BUILTIN_*) && !defined(_GLIBCPP_HAVE_*)

       so that the functions don't get defined if the macros in 
       math/mathconf.h already do what's necessary.


Shall I send a new patch, or will you fix it yourself?

    Brane

-- 
Branko Čibej                 <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49     fax: (+386 1) 586 52 70


More information about the Libstdc++ mailing list