Giter Club home page Giter Club logo

libcoro's People

Contributors

ondra-novak avatar ondra-novak-2 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

libcoro's Issues

MSVC support

Hi,
I found this library on Root.cz and it looks nice. I'm trying to build it on MSVC (v143), but I'm getting some errors, so I can't even compile it. I tried to fix them, but I was not successful. Is there any chance that MSVC will be supported in future? Thanks!

This is part of the build log, it seems to break while compiling coro::function and other errors pops up because of that:

4>...\src\coro\function.h(237,2): error C2764: nx: Parametr šablony se nepoužívá nebo není odvoditelný v částečné specializaci coro::function<RetVal(Args...),reserved_space>.
4>(kompilování zdrojového souboru ../../../src/tests/shared_future.cpp)
4>...\src\coro\future.h(590,25): error C2064: Termín se nevyhodnocuje na funkci s 0 argumenty.
4>(kompilování zdrojového souboru ../../../src/tests/shared_future.cpp)
4>...\src\coro\future.h(590,25):
4>_awaiter: Deklarace funkce musí být k dispozici, protože žádný z argumentů nezávisí na parametru šablony.
4>...\src\coro\future.h(583,10):
4>K této diagnostice došlo ve funkci generované kompilátorem: bool coro::future<T>::then(Fn &&).
4>...\src\coro\future.h(590,25):
4>kontext vytváření instancí šablony (první nejstarší) je
4>	...\src\coro\future.h(387,21):
4>	při kompilaci šablony třídy coro::future
4>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\include\xsmf_control.h(152,19): error C2139: coro::function<coro::prepared_coro (void),32>: Nedefinovaná třída není povolená jako argument vlastnosti kompilátoru vnitřního typu __is_trivially_destructible.
4>(kompilování zdrojového souboru ../../../src/tests/shared_future.cpp)
4>...\src\coro\function.h(23,7):
4>viz deklarace: coro::function<coro::prepared_coro (void),32>
4>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\include\xsmf_control.h(152,19):
4>kontext vytváření instancí šablony (první nejstarší) je
4>	...\src\coro\future.h(1153,7):
4>	při kompilaci šablony třídy coro::shared_future
4>	...\src\coro\future.h(1509,31):
4>	Zobrazit odkaz na kompilované vytváření instancí funkce třída šablona std::optional<coro::shared_future<T>::awaiter_cb>
4>	C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\include\optional(213,26):
4>	Zobrazit odkaz na kompilované vytváření instancí funkce alias šablona std::_SMF_control<std::_Optional_construct_base<_Ty>,_Ty>
4>        with
4>        [
4>            _Ty=coro::shared_future<T>::awaiter_cb
4>        ]
4>	C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\include\xsmf_control.h(159,22):
4>	Zobrazit odkaz na kompilované vytváření instancí funkce alias šablona std::_SMF_control_move_assign<std::_Optional_construct_base<_Ty>,_Ty>
4>        with
4>        [
4>            _Ty=coro::shared_future<T>::awaiter_cb
4>        ]
4>	C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\include\xsmf_control.h(152,19):
4>	Podívejte se na kompilaci reference na variabilní šablonu const bool conjunction_v<std::is_trivially_destructible<coro::function<coro::prepared_coro __cdecl(void),32> >,std::is_trivially_move_constructible<coro::function<coro::prepared_coro __cdecl(void),32> >,std::is_trivially_move_assignable<coro::function<coro::prepared_coro __cdecl(void),32> > >.

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.