-
-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build with libcxx + clang #2665
Comments
This PR #2659 should help |
[194/328] Compiling C++ object waybar.p/src_modules_clock.cpp.o /usr/include/date/tz.h:235:8: error: use of overloaded operator '<<' is ambiguous (with operand types 'basic_ostream<char, char_traits>' and 'const sys_seconds' (aka 'const time_point<std::chrono::system_clock, std::chrono::duration<long long, std::ratio<1, 1>>>')) /usr/include/date/date.h:4231:16: error: use of overloaded operator '<<' is ambiguous (with operand types 'std::basic_ostream<char, char_traits>' 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>>>')) In file included from ../src/modules/clock.cpp:1: |
Will check soon |
Hi @kuroya2mouse can you check again. See #2668 |
[185/331] Compiling C++ object waybar.p/src_modules_clock.cpp.o /usr/include/date/tz.h:244:8: error: use of overloaded operator '<<' is ambiguous (with operand types 'basic_ostream<char, char_traits>' and 'const sys_seconds' (aka 'const time_point<std::chrono::system_clock, std::chrono::duration<long long, std::ratio<1, 1>>>'))
3996 | return (os << sys_time{ut.time_since_epoch()}); /usr/include/date/tz.h:275:8: error: invalid operands to binary expression ('std::ostringstream' (aka 'basic_ostringstream') and 'local_time<duration<long long, ratio<1, 1>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1>>>')) |
Hi @kuroya2mouse , can you please provide full log where meson does project configuration. make clean
make |
|
looks like this is the same: HowardHinnant/date#799 |
yep, this works! cheers for the headsup @thesamesam |
/usr/include/date/tz.h:266:8: error: invalid operands to binary expression ('std::ostringstream' (aka 'basic_ostringstream') and 'local_time<duration<long long, ratio<1, 1>>>' (aka 'time_point<local_t, std::chrono::duration<long long, std::ratio<1, 1>>>'))
issue with this project???
https://github.com/HowardHinnant/date
The text was updated successfully, but these errors were encountered: