[Bug c/49295] New: math-68881.h definiton of scalb doesn't match builtin

alanh at fairlite dot co.uk gcc-bugzilla@gcc.gnu.org
Mon Jun 6 00:43:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49295

           Summary: math-68881.h definiton of scalb doesn't match builtin
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: alanh@fairlite.co.uk


In gcc/builtins.def we define scalb as (double, double), yet in math-68881.h we
define scalb as (double, int).

Which results in this warning.....

error: conflicting types for built-in function 'scalb'

The scalb function should be fixed in math-68881.h.



More information about the Gcc-bugs mailing list