mirror of
https://github.com/open-goal/jak-project
synced 2026-05-30 08:56:59 -04:00
60db0e5ef9
This updates `fmt` to the latest version and moves to just being a copy of their repo to make updating easier (no editing their cmake / figuring out which files to minimally include). The motivation for this is now that we switched to C++ 20, there were a ton of deprecated function usages that is going away in future compiler versions. This gets rid of all those warnings.
12 lines
418 B
C++
Vendored
Generated
12 lines
418 B
C++
Vendored
Generated
#include <fmt/core.h>
|
|
|
|
// The purpose of this part is to ensure NVCC's host compiler also supports
|
|
// the standard version. See 'cuda-cpp14.cu'.
|
|
//
|
|
// https://en.cppreference.com/w/cpp/preprocessor/replace#Predefined_macros
|
|
static_assert(__cplusplus >= 201402L, "expect C++ 2014 for host compiler");
|
|
|
|
auto make_message_cpp() -> std::string {
|
|
return fmt::format("host compiler \t: __cplusplus == {}", __cplusplus);
|
|
}
|