juliobg / asio_http

HTTP client library for Boost.Asio
MIT License
59 stars 14 forks source link

Internal compile error on Windows with Visual Studio 2019 #7

Open degloff opened 3 years ago

degloff commented 3 years ago

Compiling on Windows with VS 2019 results in an internal compile error

in connection_pool.cpp, line 36

Error | C1001 | Internal compiler error. | asio_http | *****\connection_pool.cpp | 36 |  

template<template<std::size_t N, typename> class... Ls>
struct template_to_tuple
{
  template<typename P, std::size_t... I>
  using type = std::tuple<Ls<I, P>...>;    // internal compile error
};

I tried both debug (with no optimisation) and release.

Microsoft Visual Studio Community 2019
Version 16.10.0
VisualStudio.16.Release/16.10.0+31321.278
Microsoft .NET Framework
Version 4.8.04084

Visual C++ 2019   00435-60000-00000-AA351
Microsoft Visual C++ 2019