Git Product home page Git Product logo

Comments (6)

cloudhead avatar cloudhead commented on July 18, 2024 1

Supposedly this should be fixed in 8.0.2: #48 (comment)

from bindings-glfw.

 avatar commented on July 18, 2024

I've tried it out and I can confirm that the workaround (#28) compiles and successfully runs gears demo code.
I now just get a ton of warnings, as I did with compiling earlier versions.

for example:

Loading package bindings-GLFW-3.1.1.2 ... linking ... <interactive>: warning: _vsnprintf from msvcrt is linked instead of __imp__vsnprintf
<interactive>: warning: _strdup from msvcrt is linked instead of __imp__strdup
<interactive>: warning: MultiByteToWideChar from kernel32 is linked instead of __imp_MultiByteToWideChar
<interactive>: warning: WideCharToMultiByte from kernel32 is linked instead of __imp_WideCharToMultiByte
<interactive>: warning: SystemParametersInfoW from user32 is linked instead of __imp_SystemParametersInfoW
<interactive>: warning: LoadLibraryW from kernel32 is linked instead of __imp_LoadLibraryW

from bindings-glfw.

gglouser avatar gglouser commented on July 18, 2024

I found another project that had this issue: snoyberg/yaml#44

There is a ticket for it on GHC's trac (https://ghc.haskell.org/trac/ghc/ticket/9215), which leads to another ticket (https://ghc.haskell.org/trac/ghc/ticket/9218) about updating the version of MinGW shipped with GHC. There appears to be a patch, but it did not make it into 7.10.1. Currently, it is slated for 7.12.1. So, it might be necessary to work around this until that GHC fix.

from bindings-glfw.

schell avatar schell commented on July 18, 2024

@gglouser Great sleuthing! If that's the case then I feel better about adding the fix to the glfw source.

from bindings-glfw.

schell avatar schell commented on July 18, 2024

I've pushed the fix to hackage.

from bindings-glfw.

SwiftsNamesake avatar SwiftsNamesake commented on July 18, 2024

I'm having the same issue with GHC 8.0.1.

from bindings-glfw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.