Skip to content
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

ubuntu2004 clang-10 make failed #3784

Closed
Sophie-Xie opened this issue Jan 22, 2022 · 0 comments
Closed

ubuntu2004 clang-10 make failed #3784

Sophie-Xie opened this issue Jan 22, 2022 · 0 comments
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@Sophie-Xie
Copy link
Contributor

Sophie-Xie commented Jan 22, 2022

cherry pick #3737

https://github.com/vesoft-inc/nebula/runs/4904510251?check_suite_focus=true

FAILED: src/meta/CMakeFiles/meta_version_man_obj.dir/MetaVersionMan.cpp.o
ccache /opt/vesoft/toolset/clang/10.0.0/bin/clang++ -DBUILT_WITH_SANITIZER -DNEBULA_HOME=/__w/nebula/nebula -DS2_USE_GFLAGS -DS2_USE_GLOG -D_FORTIFY_SOURCE=2 -D__STDC_FORMAT_MACROS -I../src -Isrc -isystem /opt/vesoft/third-party/3.0/include -isystem /opt/vesoft/third-party/3.0/include/breakpad -O2 -g -DNDEBUG -Wall -Wextra -Wpedantic -Wunused-parameter -Wshadow -Wnon-virtual-dtor -Woverloaded-virtual -Wignored-qualifiers -Werror -Wno-attributes -fno-strict-aliasing -fomit-frame-pointer -Wno-self-assign-overloaded -Wno-self-move -Wno-format-pedantic -Wno-gnu-zero-variadic-macro-arguments -fno-limit-debug-info -fsanitize=address -g -fno-omit-frame-pointer -std=c++17 -MD -MT src/meta/CMakeFiles/meta_version_man_obj.dir/MetaVersionMan.cpp.o -MF src/meta/CMakeFiles/meta_version_man_obj.dir/MetaVersionMan.cpp.o.d -o src/meta/CMakeFiles/meta_version_man_obj.dir/MetaVersionMan.cpp.o -c ../src/meta/MetaVersionMan.cpp
../src/meta/MetaVersionMan.cpp:99:26: error: 'format<std::_cxx11::basic_string >' is deprecated: Use fmt::format instead of folly::format for better performance, build times and compatibility with std::format [-Werror,-Wdeprecated-declarations]
auto snapshot = folly::format("META_UPGRADE_SNAPSHOT
{}", MetaKeyUtils::genTimestampStr()).str();
^
/opt/vesoft/third-party/3.0/include/folly/Format.h:258:3: note: 'format<std::__cxx11::basic_string >' has been explicitly marked deprecated here
[[deprecated(
^
1 error generated.

@Sophie-Xie Sophie-Xie added the type/bug Type: something is unexpected label Jan 22, 2022
@Sophie-Xie Sophie-Xie changed the title ubuntu2004 clang-1 ubuntu2004 clang-10 make failed Jan 22, 2022
@Sophie-Xie Sophie-Xie added this to the v3.0.0 milestone Jan 22, 2022
@Sophie-Xie Sophie-Xie mentioned this issue Jan 25, 2022
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

2 participants