fmtlib / fmt

A modern formatting library
https://fmt.dev
Other
19.83k stars 2.42k forks source link

Suppress a bogus warning in MSVC #4023

Closed phprus closed 2 weeks ago

phprus commented 2 weeks ago

<source_location> and <ranges> is C++20 heades (FMT_CPLUSPLUS > 201703L), not C++17 (FMT_CPLUSPLUS >= 201703L).

Warnings:

The contents of <ranges> are available only with C++20 or later.
The contents of <source_location> are available only with C++20 consteval support.
vitaut commented 2 weeks ago

Merged, thanks!