foonathan / lexy

C++ parsing DSL
https://lexy.foonathan.net
Boost Software License 1.0
991 stars 66 forks source link

<bit> produces warning when building with C++17 #197

Closed stotiks closed 4 months ago

stotiks commented 4 months ago

<bit> produces warning when building with C++17: The contents of <bit> are available only with C++20 or later.

bit_cast.hpp checks for __has_includes() but it needs to also check __cplusplus >= 202002L

foonathan commented 4 months ago

Thanks!