Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9202

Duplicate definitions of ldexp and ldexpl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-5778
    • C6000_8.3.0
    • C6000_8.3.3
    • Hide
      Take the file ldexp.c from the library source directory and add it to your project. Edit this file to add these lines:
      double scalbn(double x, int n) __attribute((__alias__("ldexp")));
      long double scalbnl(long double x, int n) __attribute((__alias__("ldexp")));
      Also take the file ldexpf.c from the library source directory and add it to your project. Edit that file to add this line:
      float scalbnf(float x, int n) __attribute((__alias__("ldexpf")));
      Show
      Take the file ldexp.c from the library source directory and add it to your project. Edit this file to add these lines: double scalbn(double x, int n) __attribute((__alias__("ldexp"))); long double scalbnl(long double x, int n) __attribute((__alias__("ldexp"))); Also take the file ldexpf.c from the library source directory and add it to your project. Edit that file to add this line: float scalbnf(float x, int n) __attribute((__alias__("ldexpf")));
    • The linker may emit an error about multiple definitions of the function ldexp or the function ldexpl.

      Duplicate definitions of ldexp and ldexpl

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: