Giter Club home page Giter Club logo

Comments (6)

SanderMertens avatar SanderMertens commented on May 23, 2024

I'm not able to reproduce the issue using msvc 19.35. How did you build the code?

from flecs.

Indra-db avatar Indra-db commented on May 23, 2024

@SanderMertens just building with visual studio 19
flecs_bug.zip
this is the repro solution
image

from flecs.

Indra-db avatar Indra-db commented on May 23, 2024

Made some new observations:

The bug persists on platform toolset v142
Microsoft Visual Studio Community 2019
Version 16.11.29
prints
549
680
810

does not persist on platform toolset v143
Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.4.4
prints
548
553
556

from flecs.

Indra-db avatar Indra-db commented on May 23, 2024

updated Visual studio Community 2019 Version 16.11.30, the bug still persists on there and on all language standards.

edit:
compiler version on vs19:
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30152 for x86 using cmd cl
I double checked this with std::cout << "Visual Studio Compiler Version: " << _MSC_VER << std::endl; and that reports 1929 too.

compiler version vs22: Microsoft (R) C/C++ Optimizing Compiler Version 19.34.31937 for x86

from flecs.

SanderMertens avatar SanderMertens commented on May 23, 2024

Fixed!

from flecs.

Esp9527 avatar Esp9527 commented on May 23, 2024

My Windows _MSC_VER= 1929, I found same bug. ( flecs version master)

if I changed enum.hpp code 1930 to 1929, the bug will fix.

so there need change 1930 to 1929?

@SanderMertens

from flecs.

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.