Giter Club home page Giter Club logo

Comments (4)

fnc12 avatar fnc12 commented on May 24, 2024

Hi. Thanks for using the lib. I with my lib to have a perfect windows compatibility but travis CI doesn't support windows and I seldom write software targeted for OS windows. That's why your issue is very important. Please answer two questions:

  1. doesn't MS Visual Studio support and and or C operators? If so where can I get info about this?
  2. why do you add __RESTORE_MIN__ and __RESTORE_MAX__ conditional compilation blocks?

I'm looking forward adding MSVC support so please help me with that. Thanks

from sqlite_orm.

osom8979 avatar osom8979 commented on May 24, 2024

A1.
First, I used AppVeyor's Visual Studio 2015. It will not compile normally in this environment.

A2.
If you use Windows.h (include minwindef.h), You can use the NOMINMAX macro to prevent redefine of min/max. Considering this situation, I used __RESTORE_MIN__ to prevent __pragma(pop_macro("min")) macro.

I hope this answer helps you.

from sqlite_orm.

fnc12 avatar fnc12 commented on May 24, 2024

Ok. I see that my lib got to have some changes to compile well with MSVC. Does your code compile well after your modifications? If yes please submit a pull request

from sqlite_orm.

fnc12 avatar fnc12 commented on May 24, 2024

Is the issue active?

from sqlite_orm.

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.