[Issue 19798] New: linker fails to find cmath fmin in 32-bit Windows build

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 9 21:59:32 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19798

          Issue ID: 19798
           Summary: linker fails to find cmath fmin in 32-bit Windows
                    build
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: n8sh.secondary at hotmail.com

On 64-bit Windows with 32-bit DMD v2.084.0 the following code fails to build:

```
void main()
{
    import core.stdc.math : fmin;
    const f = fmin(1.0f, 2.0f);
}
```

with:

```
Error 42: Symbol Undefined _fmin
Error: linker exited with status 1
```

--


More information about the Digitalmars-d-bugs mailing list