# Yggdrasil build has a bug on Windows

**URL:** https://discourse.julialang.org/t/yggdrasil-build-has-a-bug-on-windows/116907
**Category:** General Usage
**Tags:** binarybuilder
**Created:** [July 11, 2024, 12:43pm UTC](https://discourse.julialang.org/t/yggdrasil-build-has-a-bug-on-windows/116907 "2024-07-11T12:43:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)
#### Post date: [July 11, 2024, 12:43pm UTC](https://discourse.julialang.org/t/yggdrasil-build-has-a-bug-on-windows/116907/1 "2024-07-11T12:43:42Z")

</div>

Hi,

Maybe not the best place to ask/report this but don’t know a better one.

In Yggdrasil the compilation of GMT on Windows is bugged. The simple function

> <https://github.com/GenericMappingTools/gmt/blob/master/src/gmt_io.c#L9427>

returns `false` when it should true `true`, and this only happened with the Yggdrasil build on Windows. That function works well for all other OSs, it works well on my local MSVC build and even if build a similar one locally with MinGW.

This returns `true` in all but the Yggdrasil build for Windows. In the mention function (gmt\_is\_float()) I even added an extra test for the MinGW compiler, but it still fails

```julia
ccall((:gmt_is_float, GMT.libgmt), Bool, (Cstring, Ptr{UInt8}), GMT.GMT_Get_Ctrl(GMT.G_API[1]), "0.25")

```
