User Details
- User Since
- Mar 28 2022, 7:21 PM (51 w, 3 d)
Yesterday
Rebase
Attempt to fix build error by using rebase.
Thank you so much for your comments. I learned a lot from them! I noticed algorithms are ingenious here, so I just wanted to make them faster. I kept only one modification and added a corresponding comment. If you think it's unnecessary, I will close this revision. Thanks again!
Update
Wed, Mar 22
Sun, Mar 19
Fri, Mar 17
Thu, Mar 16
Wed, Mar 15
Tue, Mar 14
Address @MaskRay's comment
Any other opinions? If not, I will land it later.
Mon, Mar 13
Add target-cpu-features-invalid.f90
Add REQUIRES in tests
Address @awarzynski's comment. Thanks!
Address @luporl's comment
Add test
Based on everyone's comments, I merged the test into target-cpu-features.f90 and only kept the generic -target-feature. At the same time, I removed the switch (TC.getArch()) and passed the test on x86 and RISC-V 64.
Sun, Mar 12
@jrtc27 Thanks for your comment. I found the solution.
Sat, Mar 11
ping
Fix the issue of failing in the MSVC environment.
Sorry! My previous tests were not comprehensive enough, which resulted in failures in the MSVC environment.
Sorry, I just missed a comment.
Address @awarzynski's comment
Remove -flang-experimental-exec
Before
$ /home/sunshaoce/dev/llvm-project/build/bin/flang-new /home/sunshaoce/dev/llvm-project/build/temp.f03 -flang-experimental-exec -o temp.out -### flang-new version 17.0.0 (https://github.com/llvm/llvm-project.git 890e6c871d31dca9e461c01118cf25fb303b9cad) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/sunshaoce/dev/llvm-project/build/bin "/usr/bin/ld" "-pie" "-z" "relro" "--hash-style=gnu" "--eh-frame-hdr" "-m" "elf_x86_64" "-dynamic-linker" "/lib64/ld-linux-x86-64.so.2" "-o" "temp.out" "/lib/x86_64-linux-gnu/Scrt1.o" "/lib/x86_64-linux-gnu/crti.o" "/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o" "-L/usr/lib/gcc/x86_64-linux-gnu/9" "-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib64" "-L/lib/x86_64-linux-gnu" "-L/lib/../lib64" "-L/usr/lib/x86_64-linux-gnu" "-L/usr/lib/../lib64" "-L/lib" "-L/usr/lib" "/home/sunshaoce/dev/llvm-project/build/temp.f03" "-L/home/sunshaoce/dev/llvm-project/build/lib" "-lFortran_main" "-lFortranRuntime" "-lFortranDecimal" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o" "/lib/x86_64-linux-gnu/crtn.o"
after
$ /home/sunshaoce/dev/llvm-project/build/bin/flang-new /home/sunshaoce/dev/llvm-project/build/temp.f03 -flang-experimental-exec -o temp.out -### flang-new version 17.0.0 (https://github.com/llvm/llvm-project.git 890e6c871d31dca9e461c01118cf25fb303b9cad) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/sunshaoce/dev/llvm-project/build/bin "/home/sunshaoce/dev/llvm-project/build/bin/flang-new" "-fc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-fcolor-diagnostics" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-target-cpu" "x86-64" "-o" "/tmp/temp-72c5c0.o" "-x" "f95-cpp-input" "/home/sunshaoce/dev/llvm-project/build/temp.f03" "/usr/bin/ld" "-pie" "-z" "relro" "--hash-style=gnu" "--eh-frame-hdr" "-m" "elf_x86_64" "-dynamic-linker" "/lib64/ld-linux-x86-64.so.2" "-o" "temp.out" "/lib/x86_64-linux-gnu/Scrt1.o" "/lib/x86_64-linux-gnu/crti.o" "/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o" "-L/usr/lib/gcc/x86_64-linux-gnu/9" "-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib64" "-L/lib/x86_64-linux-gnu" "-L/lib/../lib64" "-L/usr/lib/x86_64-linux-gnu" "-L/usr/lib/../lib64" "-L/lib" "-L/usr/lib" "/tmp/temp-72c5c0.o" "-L/home/sunshaoce/dev/llvm-project/build/lib" "-lFortran_main" "-lFortranRuntime" "-lFortranDecimal" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o" "/lib/x86_64-linux-gnu/crtn.o"
So, I tested it by checking whether flang was called.
Add tests
Fri, Mar 10
Tue, Mar 7
Thanks for your comment. I will close the revision.
Sat, Mar 4
Wed, Mar 1
Gently ping
Sun, Feb 26
Sat, Feb 25
Thu, Feb 23
Address @kito-cheng's comment
Wed, Feb 22
update
Feb 22 2023
Address @ftynse's comment
Feb 18 2023
Feb 14 2023
It works in the CI and on my machine, so I suspect it's a problem with your configuration. Maybe the compiler is too old?
Warning info:
[890/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/stdlib_new_delete.cpp.o [891/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/exception.cpp.o [892/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/typeinfo.cpp.o [893/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/stdlib_new_delete.cpp.o [894/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/exception.cpp.o [895/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/cxa_exception_storage.cpp.o [896/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/cxa_vector.cpp.o [897/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/mutex_destructor.cpp.o In file included from llvm-project/libcxx/src/mutex_destructor.cpp:20: In file included from llvm-project/build/include/c++/v1/__threading_support:14: In file included from llvm-project/build/include/c++/v1/__chrono/convert_to_timespec.h:13: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [898/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/fallback_malloc.cpp.o [899/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/cxa_vector.cpp.o [900/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/cxa_thread_atexit.cpp.o [901/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/condition_variable_destructor.cpp.o In file included from llvm-project/libcxx/src/condition_variable_destructor.cpp:15: In file included from llvm-project/build/include/c++/v1/__threading_support:14: In file included from llvm-project/build/include/c++/v1/__chrono/convert_to_timespec.h:13: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [902/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/cxa_thread_atexit.cpp.o [903/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/cxa_exception_storage.cpp.o [904/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/mutex_destructor.cpp.o In file included from llvm-project/libcxx/src/mutex_destructor.cpp:20: In file included from llvm-project/build/include/c++/v1/__threading_support:14: In file included from llvm-project/build/include/c++/v1/__chrono/convert_to_timespec.h:13: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [905/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/condition_variable_destructor.cpp.o In file included from llvm-project/libcxx/src/condition_variable_destructor.cpp:15: In file included from llvm-project/build/include/c++/v1/__threading_support:14: In file included from llvm-project/build/include/c++/v1/__chrono/convert_to_timespec.h:13: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [906/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/cxa_personality.cpp.o [907/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/cxa_personality.cpp.o [908/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/fallback_malloc.cpp.o [909/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/utility.cpp.o [910/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/utility.cpp.o [911/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/private_typeinfo.cpp.o [912/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/private_typeinfo.cpp.o [913/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/ryu/d2s.cpp.o [914/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/variant.cpp.o [915/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/variant.cpp.o [916/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/legacy_pointer_safety.cpp.o In file included from llvm-project/libcxx/src/legacy_pointer_safety.cpp:10: In file included from llvm-project/build/include/c++/v1/memory:898: In file included from llvm-project/build/include/c++/v1/__memory/shared_ptr.h:42: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [917/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o [918/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/new.cpp.o In file included from llvm-project/libcxx/src/new.cpp:13: In file included from llvm-project/libcxx/src/include/atomic_support.h:13: In file included from llvm-project/build/include/c++/v1/memory:898: In file included from llvm-project/build/include/c++/v1/__memory/shared_ptr.h:42: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [919/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/cxa_guard.cpp.o [920/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/ryu/f2s.cpp.o [921/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/ryu/d2s.cpp.o [922/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/cxa_default_handlers.cpp.o [923/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/stdlib_stdexcept.cpp.o [924/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/ryu/f2s.cpp.o [925/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/cxa_exception.cpp.o [926/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/cxa_default_handlers.cpp.o [927/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/legacy_pointer_safety.cpp.o In file included from llvm-project/libcxx/src/legacy_pointer_safety.cpp:10: In file included from llvm-project/build/include/c++/v1/memory:898: In file included from llvm-project/build/include/c++/v1/__memory/shared_ptr.h:42: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [928/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/cxa_guard.cpp.o [929/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/cxa_handlers.cpp.o [930/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/optional.cpp.o In file included from llvm-project/libcxx/src/optional.cpp:10: In file included from llvm-project/build/include/c++/v1/optional:1578: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [931/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/cxa_handlers.cpp.o [932/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/optional.cpp.o In file included from llvm-project/libcxx/src/optional.cpp:10: In file included from llvm-project/build/include/c++/v1/optional:1578: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [933/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_static_objects.dir/stdlib_stdexcept.cpp.o [934/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/charconv.cpp.o [935/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/new.cpp.o In file included from llvm-project/libcxx/src/new.cpp:13: In file included from llvm-project/libcxx/src/include/atomic_support.h:13: In file included from llvm-project/build/include/c++/v1/memory:898: In file included from llvm-project/build/include/c++/v1/__memory/shared_ptr.h:42: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [936/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/vector.cpp.o In file included from llvm-project/libcxx/src/vector.cpp:9: In file included from llvm-project/build/include/c++/v1/vector:3359: In file included from llvm-project/build/include/c++/v1/algorithm:1929: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [937/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/any.cpp.o In file included from llvm-project/libcxx/src/any.cpp:9: In file included from llvm-project/build/include/c++/v1/any:704: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [938/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/vector.cpp.o In file included from llvm-project/libcxx/src/vector.cpp:9: In file included from llvm-project/build/include/c++/v1/vector:3359: In file included from llvm-project/build/include/c++/v1/algorithm:1929: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [939/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/any.cpp.o In file included from llvm-project/libcxx/src/any.cpp:9: In file included from llvm-project/build/include/c++/v1/any:704: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [940/1009] Building CXX object libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/cxa_exception.cpp.o [941/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/functional.cpp.o In file included from llvm-project/libcxx/src/functional.cpp:9: In file included from llvm-project/build/include/c++/v1/functional:522: In file included from llvm-project/build/include/c++/v1/__functional/boyer_moore_searcher.h:22: In file included from llvm-project/build/include/c++/v1/__memory/shared_ptr.h:42: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [942/1009] Building CXX object libcxx/src/CMakeFiles/cxx_experimental.dir/experimental/memory_resource.cpp.o In file included from llvm-project/libcxx/src/experimental/memory_resource.cpp:9: In file included from llvm-project/build/include/c++/v1/experimental/memory_resource:432: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [943/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/bind.cpp.o In file included from llvm-project/libcxx/src/bind.cpp:9: In file included from llvm-project/build/include/c++/v1/functional:522: In file included from llvm-project/build/include/c++/v1/__functional/boyer_moore_searcher.h:22: In file included from llvm-project/build/include/c++/v1/__memory/shared_ptr.h:42: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [944/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/functional.cpp.o In file included from llvm-project/libcxx/src/functional.cpp:9: In file included from llvm-project/build/include/c++/v1/functional:522: In file included from llvm-project/build/include/c++/v1/__functional/boyer_moore_searcher.h:22: In file included from llvm-project/build/include/c++/v1/__memory/shared_ptr.h:42: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [945/1009] Building CXX object libcxx/src/CMakeFiles/cxx_shared.dir/hash.cpp.o In file included from llvm-project/libcxx/src/hash.cpp:10: In file included from llvm-project/build/include/c++/v1/algorithm:1929: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [946/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/valarray.cpp.o In file included from llvm-project/libcxx/src/valarray.cpp:9: In file included from llvm-project/build/include/c++/v1/valarray:4934: In file included from llvm-project/build/include/c++/v1/algorithm:1929: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated. [947/1009] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o In file included from llvm-project/libcxx/src/hash.cpp:10: In file included from llvm-project/build/include/c++/v1/algorithm:1929: In file included from llvm-project/build/include/c++/v1/atomic:523: llvm-project/build/include/c++/v1/__chrono/duration.h:540:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::hours operator""h(unsigned long long __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:545:82: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<3600,1>> operator""h(long double __h) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:551:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::minutes operator""min(unsigned long long __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:556:80: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, ratio<60,1>> operator""min(long double __m) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:562:53: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::seconds operator""s(unsigned long long __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:567:67: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double> operator""s(long double __s) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:573:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::milliseconds operator""ms(unsigned long long __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:578:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, milli> operator""ms(long double __ms) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:584:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::microseconds operator""us(unsigned long long __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:589:74: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, micro> operator""us(long double __us) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:595:57: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::nanoseconds operator""ns(unsigned long long __ns) ^ llvm-project/build/include/c++/v1/__chrono/duration.h:600:73: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals] _LIBCPP_HIDE_FROM_ABI constexpr chrono::duration<long double, nano> operator""ns(long double __ns) ^ 12 warnings generated.
#libc is blocking this patch to make sure it's approved by the people working on libc++.
update
Feb 13 2023
I don't know why Group Reviewers libc++ is blocked by Herald.
I tend to keep it as it is.
Feb 8 2023
A better implementation is in D143572
Simplified code
Feb 7 2023
Add a test