Comments (4)
Message that will be displayed on users' first issue
from kvstoragebaseraft-cpp.
@Gump5236 我认为主要可能是你的g++版本太低不支持这么高的c++版本,建议升级。
因为在开发这个defer特性的时候也遇到过类似的报错
我这里给出我的gcc版本:
➜ cmake-build-debug git:(format) ✗ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
from kvstoragebaseraft-cpp.
我看到你发起了另一个issue,也许这个问题已经解决了,你可以告诉我怎么解决的吗?
我将关闭这个issue,如果还有问题,欢迎再打开。
from kvstoragebaseraft-cpp.
@578223592 解决方案如您所说,是我的gcc版本太低,升级之后就解决了!
from kvstoragebaseraft-cpp.
Related Issues (20)
- make时报错 HOT 3
- 没有生成test.conf HOT 3
- 请问怎么分析火焰图 HOT 3
- Raft::sendRequestVote函数中RequestVote的来源问题 HOT 6
- doc:目录导览
- Raft::RequestVote中的getLastLogIndex()函数返回值 HOT 3
- 快照功能
- 宕机测试 HOT 1
- 关于Raft测试 HOT 1
- 未生成快照 HOT 7
- raft调用InstallSnapshot存在重复的问题 HOT 1
- 编译 HOT 3
- error HOT 2
- 在rpc中创建cmake-build-debug执行cmake成功,bin文件夹没有生成对应的可执行文件 HOT 2
- m_nextIndex与m_matchIndex变量值相关疑问 HOT 4
- make遇到了如下问题 HOT 3
- 使用clion-cmake运行raftCoreRun出现 delimiter[abi:cxx11] 重定义问题 HOT 3
- raftCoreRun运行出问题 HOT 2
- ubuntu安装muduo出现ByteSize问题和解决方法 HOT 2
- 请教:安装muduo时出现错误,但貌似确实安装了protobuf,求教排查与解决方法 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kvstoragebaseraft-cpp.