GithubHelp home page GithubHelp logo

Comments (9)

Zardoz89 avatar Zardoz89 commented on August 18, 2024

I'm taking a look how do a simple lightweight logger for our needs. I could do a try to doing it.

from tec.

milesrout avatar milesrout commented on August 18, 2024

Assigned you @Zardoz89 as per your comment.

(Accidentally assigned myself first because the GitHub Issues interface is balls).

from tec.

gabime avatar gabime commented on August 18, 2024

@Zardoz89 could you provide details on how it clashes with ASIO? I would lke to fix this issue in spdlog

from tec.

adam4813 avatar adam4813 commented on August 18, 2024

If I include asio before spdlog, spdlog throws and error about
GetDynamicTimzone being undefined because asio defines the windows version
to a low number for windows xp compatibility, but that number is to low
causing GetDynamicTimzone to be conditionally not compiled. The opposite
happens if I include spdlog before asio. Spdlog is including windows.h in a
way that causes winsock.h to be included that asio doesn't like and it
errors saying that winsock.h has already been included.

The solution was a preprocessor define of _WIN32_WINNT=600 (number might
need tweaking).
On Sep 28, 2015 12:57 PM, "Gabi Melman" [email protected] wrote:

@Zardoz89 https://github.com/Zardoz89 could you provide details on how
it clashes with ASIO? I would lke to fix this issue in spdlog


Reply to this email directly or view it on GitHub
#56 (comment).

from tec.

gabime avatar gabime commented on August 18, 2024

A quick fix would be to comment out line #170 in spdlog/details.os.h (and not use the z flag in the log pattern)

This will remove the need to define the offending =600 macro

from tec.

adam4813 avatar adam4813 commented on August 18, 2024

I am going to close this issue for now as a fix is there, albeit not a pretty one.

from tec.

milesrout avatar milesrout commented on August 18, 2024

@adam4813 Is the fix actually implemented?

from tec.

adam4813 avatar adam4813 commented on August 18, 2024

from tec.

adam4813 avatar adam4813 commented on August 18, 2024

from tec.

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.