This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]