Giter VIP home page Giter VIP logo

Comments (7)

pgdr avatar pgdr commented on July 18, 2024

Hi, @rezobe and thanks for reporting this issue. We have as of today frozen this repository, and development is now happening on Statoil/libecl.

I hope you can take the time to file the issue there instead of here.

I also want to mention that none of the developers are running Microsoft Windows, so some hickups are to be expected. We want to help you however, did you read Windows.txt?

Go here if you rather want to install Ubuntu.

from ert.

pgdr avatar pgdr commented on July 18, 2024

It might perhaps be an issue with 32-bits MinGW, and that we have to explicitly call _mkgmtime32 in the case that windows 32 is used.

from ert.

jokva avatar jokva commented on July 18, 2024

That shouldn't be necessary, that's only when you need to force it to be 32-bit. Using 64_t values on 32-bit systems should be just fine.

from ert.

pgdr avatar pgdr commented on July 18, 2024

What I tried to say was that in MinGW32, there is no symbol called _mkgmtime, but there is one called _mkgmtime32. I might of course be very wrong.

Ubuntu has the correct symbols, though.

from ert.

jokva avatar jokva commented on July 18, 2024

I think this is a known issue with mingw. https://sourceforge.net/p/mingw-w64/bugs/473/ What compiler are you using, @rezobe?

from ert.

pgdr avatar pgdr commented on July 18, 2024

If you want to test the theory, simply go to util.c:3349 (or thereabout) and update _mkgmtime to _mkgmtime32.

from ert.

jokva avatar jokva commented on July 18, 2024

@pgdr There is no symbol for _mkgmtime because it's an inline function/macro that expands to _mkgmtim64. According to the documentation anyway.

_mkgmtime is an inline function that evaluates to _mkgmtime64, and time_t is equivalent to __time64_t. If you need to force the compiler to interpret time_tas the old 32-bit time_t, you can define _USE_32BIT_TIME_T. This is not recommended because your application might fail after January 18, 2038 (the maximum range of a 32-bit time_t), and it is not allowed at all on 64-bit platforms.

from ert.

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.