build(macos): add build strategy matrix (#2211)

This commit is contained in:
ReenigneArcher
2024-03-05 08:56:09 -05:00
committed by GitHub
parent 9f94eebd32
commit 4ebc7b5cef
5 changed files with 73 additions and 27 deletions

View File

@@ -106,8 +106,11 @@ main(int argc, char *argv[]) {
setlocale(LC_ALL, ".UTF-8");
#endif
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
// Use UTF-8 conversion for the default C++ locale (used by boost::log)
std::locale::global(std::locale(std::locale(), new std::codecvt_utf8<wchar_t>));
#pragma GCC diagnostic pop
mail::man = std::make_shared<safe::mail_raw_t>();