Project

General

Profile

Actions

Bug #12547

open

Compile failure on Mac OS X with 14.4 SDK

Added by Rakesh Vidyadharan 8 months ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
03/26/2024
Due date:
% Done:

0%

Estimated time:

Description

Hello,

I ran into issues trying to install 4.10.4 on Mac OS X Sonoma 14.4.1. I had successfully built 4.10.3 a few month ago, but I suspect there has been some Clang updates since then. I tried to rebuild 4.10.3, which also fails now. Mostly errors seem to be around the date classes in Wt.

In file included from /tmp/wt/src/Wt/WLocalDateTime.C:17:
In file included from /tmp/wt/src/Wt/cpp20/tz.hpp:24:
In file included from /tmp/wt/src/Wt/Date/tz.h:33:
/tmp/wt/src/Wt/Date/include/date/tz.h:235:8: error: use of overloaded operator '<<' is ambiguous (with operand types 'basic_ostream<char, char_traits<char>>' and 'const sys_seconds' (aka 'const time_point<std::chrono::system_clock, std::chrono::duration<long long, std::ratio<1, 1>>>'))
       << i.first.end << " UTC";
       ^  ~~~~~~~~~~~
/tmp/wt/src/Wt/Date/include/date/tz.h:219:26: note: in instantiation of function template specialization 'date::nonexistent_local_time::make_msg<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
    : std::runtime_error(make_msg(tp, i))
                         ^
/tmp/wt/src/Wt/Date/include/date/tz.h:955:15: note: in instantiation of function template specialization 'date::nonexistent_local_time::nonexistent_local_time<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
        throw nonexistent_local_time(tp, i);
              ^
/tmp/wt/src/Wt/Date/include/date/tz.h:903:12: note: in instantiation of function template specialization 'date::time_zone::to_sys_impl<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
    return to_sys_impl(tp, choose{}, std::true_type{});
           ^
/tmp/wt/src/Wt/WLocalDateTime.C:156:30: note: in instantiation of function template specialization 'date::time_zone::to_sys<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
          datetime_ = zone_->to_sys(asLocalTime(WDateTime(date, time).toTimePoint()));
                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:46:1: note: candidate function [with _CharT = char, _Traits = std::char_traits<char>, _Duration = std::chrono::duration<long long>]
operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_time<_Duration> __tp) {
^
/tmp/wt/src/Wt/Date/include/date/date.h:4212:1: note: candidate function [with CharT = char, Traits = std::char_traits<char>, Duration = std::chrono::duration<long long>]
operator<<(std::basic_ostream<CharT, Traits>& os, const sys_time<Duration>& tp)
^
/tmp/wt/src/Wt/Date/include/date/date.h:4231:16: error: use of overloaded operator '<<' is ambiguous (with operand types 'std::basic_ostream<char, char_traits<char>>' and 'sys_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<std::chrono::system_clock, std::chrono::duration<long long, std::ratio<1, 1000000>>>'))
    return (os << sys_time<Duration>{ut.time_since_epoch()});
            ~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/wt/src/Wt/Date/include/date/tz.h:229:8: note: in instantiation of function template specialization 'date::operator<<<char, std::char_traits<char>, std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
    os << tp << " is in a gap between\n"
       ^
/tmp/wt/src/Wt/Date/include/date/tz.h:219:26: note: in instantiation of function template specialization 'date::nonexistent_local_time::make_msg<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
    : std::runtime_error(make_msg(tp, i))
                         ^
/tmp/wt/src/Wt/Date/include/date/tz.h:955:15: note: in instantiation of function template specialization 'date::nonexistent_local_time::nonexistent_local_time<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
        throw nonexistent_local_time(tp, i);
              ^
/tmp/wt/src/Wt/Date/include/date/tz.h:903:12: note: in instantiation of function template specialization 'date::time_zone::to_sys_impl<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
    return to_sys_impl(tp, choose{}, std::true_type{});
           ^
/tmp/wt/src/Wt/WLocalDateTime.C:156:30: note: in instantiation of function template specialization 'date::time_zone::to_sys<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
          datetime_ = zone_->to_sys(asLocalTime(WDateTime(date, time).toTimePoint()));
                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:46:1: note: candidate function [with _CharT = char, _Traits = std::char_traits<char>, _Duration = std::chrono::duration<long long, std::ratio<1, 1000000>>]
operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_time<_Duration> __tp) {
^
/tmp/wt/src/Wt/Date/include/date/date.h:4212:1: note: candidate function [with CharT = char, Traits = std::char_traits<char>, Duration = std::chrono::duration<long long, std::ratio<1, 1000000>>]
operator<<(std::basic_ostream<CharT, Traits>& os, const sys_time<Duration>& tp)
^
/tmp/wt/src/Wt/Date/include/date/date.h:4231:16: error: use of overloaded operator '<<' is ambiguous (with operand types 'std::basic_ostream<char, char_traits<char>>' and 'sys_time<duration<long long, ratio<1, 1>>>' (aka 'time_point<std::chrono::system_clock, std::chrono::duration<long long, std::ratio<1, 1>>>'))
    return (os << sys_time<Duration>{ut.time_since_epoch()});
            ~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/wt/src/Wt/Date/include/date/tz.h:230:8: note: in instantiation of function template specialization 'date::operator<<<char, std::char_traits<char>, std::chrono::duration<long long>>' requested here
       << local_seconds{i.first.end.time_since_epoch()} + i.first.offset << ' '
       ^
/tmp/wt/src/Wt/Date/include/date/tz.h:219:26: note: in instantiation of function template specialization 'date::nonexistent_local_time::make_msg<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
    : std::runtime_error(make_msg(tp, i))
                         ^
/tmp/wt/src/Wt/Date/include/date/tz.h:955:15: note: in instantiation of function template specialization 'date::nonexistent_local_time::nonexistent_local_time<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
        throw nonexistent_local_time(tp, i);
              ^
/tmp/wt/src/Wt/Date/include/date/tz.h:903:12: note: in instantiation of function template specialization 'date::time_zone::to_sys_impl<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
    return to_sys_impl(tp, choose{}, std::true_type{});
           ^
/tmp/wt/src/Wt/WLocalDateTime.C:156:30: note: in instantiation of function template specialization 'date::time_zone::to_sys<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
          datetime_ = zone_->to_sys(asLocalTime(WDateTime(date, time).toTimePoint()));
                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:46:1: note: candidate function [with _CharT = char, _Traits = std::char_traits<char>, _Duration = std::chrono::duration<long long>]
operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_time<_Duration> __tp) {
^
/tmp/wt/src/Wt/Date/include/date/date.h:4212:1: note: candidate function [with CharT = char, Traits = std::char_traits<char>, Duration = std::chrono::duration<long long>]
operator<<(std::basic_ostream<CharT, Traits>& os, const sys_time<Duration>& tp)
^
In file included from /tmp/wt/src/Wt/WLocalDateTime.C:17:
In file included from /tmp/wt/src/Wt/cpp20/tz.hpp:24:
In file included from /tmp/wt/src/Wt/Date/tz.h:33:
/tmp/wt/src/Wt/Date/include/date/tz.h:266:8: error: invalid operands to binary expression ('std::ostringstream' (aka 'basic_ostringstream<char>') and 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>'))
    os << tp << " is ambiguous.  It could be\n"
    ~~ ^  ~~
/tmp/wt/src/Wt/Date/include/date/tz.h:256:26: note: in instantiation of function template specialization 'date::ambiguous_local_time::make_msg<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
    : std::runtime_error(make_msg(tp, i))
                         ^
/tmp/wt/src/Wt/Date/include/date/tz.h:957:15: note: in instantiation of function template specialization 'date::ambiguous_local_time::ambiguous_local_time<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
        throw ambiguous_local_time(tp, i);
              ^
/tmp/wt/src/Wt/Date/include/date/tz.h:903:12: note: in instantiation of function template specialization 'date::time_zone::to_sys_impl<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
    return to_sys_impl(tp, choose{}, std::true_type{});
           ^
/tmp/wt/src/Wt/WLocalDateTime.C:156:30: note: in instantiation of function template specialization 'date::time_zone::to_sys<std::chrono::duration<long long, std::ratio<1, 1000000>>>' requested here
          datetime_ = zone_->to_sys(asLocalTime(WDateTime(date, time).toTimePoint()));
                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/cstddef:125:3: note: candidate function template not viable: no known conversion from 'std::ostringstream' (aka 'basic_ostringstream<char>') to 'byte' for 1st argument
  operator<< (byte  __lhs, _Integer __shift) noexcept
  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:800:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'char' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:833:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'char' for 2nd argument
operator<<(basic_ostream<char, _Traits>& __os, char __c)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:840:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'signed char' for 2nd argument
operator<<(basic_ostream<char, _Traits>& __os, signed char __c)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:847:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'unsigned char' for 2nd argument
operator<<(basic_ostream<char, _Traits>& __os, unsigned char __c)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:861:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const char *' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:907:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const char *' for 2nd argument
operator<<(basic_ostream<char, _Traits>& __os, const char* __str)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:914:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const signed char *' for 2nd argument
operator<<(basic_ostream<char, _Traits>& __os, const signed char* __str)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:922:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const unsigned char *' for 2nd argument
operator<<(basic_ostream<char, _Traits>& __os, const unsigned char* __str)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1107:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const error_code' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1145:31: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'wchar_t' for 2nd argument
basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, wchar_t) = delete;
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1148:31: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const wchar_t *' for 2nd argument
basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, const wchar_t*) = delete;
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1166:31: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'char8_t' for 2nd argument
basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, char8_t) = delete;
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1172:31: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const char8_t *' for 2nd argument
basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, const char8_t*) = delete;
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1179:31: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'char16_t' for 2nd argument
basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, char16_t) = delete;
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1182:31: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'char32_t' for 2nd argument
basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, char32_t) = delete;
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1185:31: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const char16_t *' for 2nd argument
basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, const char16_t*) = delete;
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1188:31: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const char32_t *' for 2nd argument
basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, const char32_t*) = delete;
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:128:55: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const day' for 2nd argument
_LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const day& __d) {
                                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:141:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const month' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const month& __m) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:150:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const year& __y) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:157:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const weekday' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const weekday& __wd) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:166:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const weekday_indexed' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const weekday_indexed& __wdi) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:178:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const weekday_last' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const weekday_last& __wdl) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:184:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const month_day' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const month_day& __md) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:192:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const month_day_last' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const month_day_last& __mdl) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:198:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const month_weekday' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const month_weekday& __mwd) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:205:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const month_weekday_last' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const month_weekday_last& __mwdl) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:212:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year_month' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month& __ym) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:218:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year_month_day' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_day& __ymd) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:225:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year_month_day_last' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_day_last& __ymdl) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:232:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year_month_weekday' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_weekday& __ymwd) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:243:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year_month_weekday_last' for 2nd argument
operator<<(basic_ostream<_CharT, _Traits>& __os, const year_month_weekday_last& __ymwdl) {
^
/tmp/wt/src/Wt/Date/include/date/date.h:1529:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const day' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const day& d)
^
/tmp/wt/src/Wt/Date/include/date/date.h:1671:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const month' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const month& m)
^
/tmp/wt/src/Wt/Date/include/date/date.h:1810:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const year& y)
^
/tmp/wt/src/Wt/Date/include/date/date.h:1960:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const weekday' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const weekday& wd)
^
/tmp/wt/src/Wt/Date/include/date/date.h:2088:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const weekday_indexed' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const weekday_indexed& wdi)
^
/tmp/wt/src/Wt/Date/include/date/date.h:2157:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const weekday_last' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const weekday_last& wdl)
^
/tmp/wt/src/Wt/Date/include/date/date.h:2353:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year_month' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const year_month& ym)
^
/tmp/wt/src/Wt/Date/include/date/date.h:2454:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const month_day' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const month_day& md)
^
/tmp/wt/src/Wt/Date/include/date/date.h:2531:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const month_day_last' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const month_day_last& mdl)
^
/tmp/wt/src/Wt/Date/include/date/date.h:2599:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const month_weekday' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const month_weekday& mwd)
^
/tmp/wt/src/Wt/Date/include/date/date.h:2667:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const month_weekday_last' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const month_weekday_last& mwdl)
^
/tmp/wt/src/Wt/Date/include/date/date.h:2838:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year_month_day_last' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const year_month_day_last& ymdl)
^
/tmp/wt/src/Wt/Date/include/date/date.h:3068:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year_month_day' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const year_month_day& ymd)
^
/tmp/wt/src/Wt/Date/include/date/date.h:3314:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year_month_weekday' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const year_month_weekday& ymwdi)
^
/tmp/wt/src/Wt/Date/include/date/date.h:3495:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const year_month_weekday_last' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const year_month_weekday_last& ymwdl)
^
/tmp/wt/src/Wt/Date/include/date/date.h:4221:1: note: candidate function template not viable: no known conversion from 'time_point<local_t, duration<long long, ratio<1, 1000000>>>' to 'const time_point<std::chrono::system_clock, duration<int, ratio<86400, 1>>>' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const sys_days& dp)
^
/tmp/wt/src/Wt/Date/include/date/tz.h:167:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const sys_info' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const sys_info& r)
^
/tmp/wt/src/Wt/Date/include/date/tz.h:186:1: note: candidate function template not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const local_info' for 2nd argument
operator<<(std::basic_ostream<CharT, Traits>& os, const local_info& r)
^
/tmp/wt/src/Wt/Date/include/date/tz.h:1203:1: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const tzdb' for 2nd argument
operator<<(std::ostream& os, const tzdb& db);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:793:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>'))
operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c)
^
/tmp/wt/src/Wt/Date/include/date/date.h:4212:1: note: candidate template ignored: could not match 'std::chrono::system_clock' against 'date::local_t'
operator<<(std::basic_ostream<CharT, Traits>& os, const sys_time<Duration>& tp)
^
/tmp/wt/src/Wt/Date/include/date/date.h:4229:1: note: candidate template ignored: substitution failure [with CharT = char, Traits = std::char_traits<char>, Duration = std::chrono::duration<long long, std::ratio<1, 1000000>>]
operator<<(std::basic_ostream<CharT, Traits>& os, const local_time<Duration>& ut)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:854:1: note: candidate template ignored: could not match 'const _CharT *' against 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>')
operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1090:1: note: candidate template ignored: could not match 'basic_string' against 'time_point'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1098:1: note: candidate template ignored: could not match 'basic_string_view' against 'time_point'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1115:1: note: candidate template ignored: could not match 'shared_ptr' against 'time_point'
operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1134:1: note: candidate template ignored: could not match 'bitset' against 'time_point'
operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
^
/tmp/wt/src/Wt/Date/include/date/date.h:8257:1: note: candidate template ignored: could not match 'duration' against 'time_point'
operator<<(std::basic_ostream<CharT, Traits>& os,
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1082:11: note: candidate template ignored: requirement 'integral_constant<bool, false>::value' was not satisfied [with _Stream = std::ostringstream &, _Tp = std::chrono::time_point<date::local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>]
_Stream&& operator<<(_Stream&& __os, const _Tp& __x)
          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1127:1: note: candidate template ignored: could not match 'unique_ptr' against 'time_point'
operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1151:34: note: candidate template ignored: could not match 'basic_ostream' against 'basic_ostringstream'
basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, char16_t) = delete;
                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1154:34: note: candidate template ignored: could not match 'basic_ostream' against 'basic_ostringstream'
basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, char32_t) = delete;
                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1157:34: note: candidate template ignored: could not match 'basic_ostream' against 'basic_ostringstream'
basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, const char16_t*) = delete;
                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1160:34: note: candidate template ignored: could not match 'basic_ostream' against 'basic_ostringstream'
basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, const char32_t*) = delete;
                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1169:34: note: candidate template ignored: could not match 'basic_ostream' against 'basic_ostringstream'
basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, char8_t) = delete;
                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:1175:34: note: candidate template ignored: could not match 'basic_ostream' against 'basic_ostringstream'
basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, const char8_t*) = delete;
                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:46:1: note: candidate template ignored: could not match 'std::chrono::system_clock' against 'date::local_t'
operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_time<_Duration> __tp) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:52:1: note: candidate template ignored: could not match 'std::filesystem::_FilesystemClock' against 'date::local_t'
operator<<(basic_ostream<_CharT, _Traits>& __os, const file_time<_Duration> __tp) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:58:1: note: candidate template ignored: could not match 'std::chrono::local_t' against 'date::local_t'
operator<<(basic_ostream<_CharT, _Traits>& __os, const local_time<_Duration> __tp) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:118:1: note: candidate template ignored: could not match 'duration' against 'time_point'
operator<<(basic_ostream<_CharT, _Traits>& __os, const duration<_Rep, _Period>& __d) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:254:1: note: candidate template ignored: could not match 'hh_mm_ss' against 'time_point'
operator<<(basic_ostream<_CharT, _Traits>& __os, const hh_mm_ss<_Duration> __hms) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:261:1: note: candidate template ignored: could not match 'uniform_int_distribution' against 'time_point'
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/tmp/wt/src/Wt/Date/include/date/tz.h:1846:1: note: candidate template ignored: could not match 'zoned_time' against 'time_point'
operator<<(std::basic_ostream<CharT, Traits>& os, const zoned_time<Duration, TimeZonePtr>& t)
^
/tmp/wt/src/Wt/Date/include/date/tz.h:1998:1: note: candidate template ignored: could not match 'date::utc_clock' against 'date::local_t'
operator<<(std::basic_ostream<CharT, Traits>& os, const utc_time<Duration>& t)
^
/tmp/wt/src/Wt/Date/include/date/tz.h:2138:1: note: candidate template ignored: could not match 'date::tai_clock' against 'date::local_t'
operator<<(std::basic_ostream<CharT, Traits>& os, const tai_time<Duration>& t)
^
/tmp/wt/src/Wt/Date/include/date/tz.h:2261:1: note: candidate template ignored: could not match 'date::gps_clock' against 'date::local_t'
operator<<(std::basic_ostream<CharT, Traits>& os, const gps_time<Duration>& t)
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:229:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'ostream &(*)(ostream &)' for 1st argument
    basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&))
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:233:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'basic_ios<char_type, traits_type> &(*)(basic_ios<char_type, traits_type> &)' (aka 'basic_ios<char, std::char_traits<char>> &(*)(basic_ios<char, std::char_traits<char>> &)') for 1st argument
    basic_ostream& operator<<(basic_ios<char_type, traits_type>&
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:238:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'ios_base &(*)(ios_base &)' for 1st argument
    basic_ostream& operator<<(ios_base& (*__pf)(ios_base&))
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:241:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'bool' for 1st argument
    basic_ostream& operator<<(bool __n);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:242:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'short' for 1st argument
    basic_ostream& operator<<(short __n);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:243:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'unsigned short' for 1st argument
    basic_ostream& operator<<(unsigned short __n);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:244:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'int' for 1st argument
    basic_ostream& operator<<(int __n);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:245:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'unsigned int' for 1st argument
    basic_ostream& operator<<(unsigned int __n);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:246:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'long' for 1st argument
    basic_ostream& operator<<(long __n);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:247:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'unsigned long' for 1st argument
    basic_ostream& operator<<(unsigned long __n);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:248:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'long long' for 1st argument
    basic_ostream& operator<<(long long __n);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:249:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'unsigned long long' for 1st argument
    basic_ostream& operator<<(unsigned long long __n);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:250:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'float' for 1st argument
    basic_ostream& operator<<(float __f);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:251:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'double' for 1st argument
    basic_ostream& operator<<(double __f);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:252:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'long double' for 1st argument
    basic_ostream& operator<<(long double __f);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:253:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const void *' for 1st argument; take the address of the argument with &
    basic_ostream& operator<<(const void* __p);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:257:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'const volatile void *' for 1st argument; take the address of the argument with &
    basic_ostream& operator<<(const volatile void* __p) {
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:262:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'basic_streambuf<char_type, traits_type> *' (aka 'basic_streambuf<char, std::char_traits<char>> *') for 1st argument
    basic_ostream& operator<<(basic_streambuf<char_type, traits_type>* __sb);
                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:268:20: note: candidate function not viable: no known conversion from 'local_time<duration<long long, ratio<1, 1000000>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1000000>>>') to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument
    basic_ostream& operator<<(nullptr_t)
                   ^
1 warning and 4 errors generated.
make[2]: *** [src/CMakeFiles/wt.dir/Wt/WLocalDateTime.C.o] Error 1
Actions #1

Updated by Matthias Van Ceulebroeck 8 months ago

  • Target version set to future

It seems this has to do with their change of using std::format in ostream. Falling back to a libc++ with a _LIBCPP_STD_VER below 20 would work here, which I think comes down to a lower SDK version on Mac systems.

I believe this is a wrong assumption their compiler where it would define some stream operators too eagerly. I'll follow up on this on a later version to see if they keep the implementation like this, or not.

Actions

Also available in: Atom PDF