Yave icon indicating copy to clipboard operation
Yave copied to clipboard

compile error

Open zhangfq-chemistry opened this issue 1 year ago • 1 comments

I have added #include <source_location> and , and the error also appears.

/home/zhangfq/vulkan/Yave/y/y/concurrent/StaticThreadPool.h:74:112: error: no type named 'source_location' in namespace 'std' Task(Func func, core::Span<DependencyGroup> wait, std::shared_ptrDependencyGroup::Data sig, std::source_location loc); home/zhangfq/2025/vulkan/Yave/y/y/core/String.h:131:16: error: field has incomplete type 'y::core::String' String(nullptr_t) = delete; /home/zhangfq/2025/vulkan/Yave/y/y/utils/format.h:30:10: fatal error: 'format' file not found #include

zhangfq-chemistry avatar Mar 26 '25 11:03 zhangfq-chemistry

source_location and format are both C++20 additions. Which compiler version are you using, and are you sure it has compile C++20 support ?

gan74 avatar Mar 26 '25 13:03 gan74