报错解决:error: this statement may fall through [-Werror=implicit-fallthrough=]
下午在编译 grpc
时报错如下:
utilities/blob_db/blob_log_reader.cc:74:18: error: this statement may fall through [-Werror=implicit-fallthrough=]next_byte_ += kb_size;~~~~~~~~~~~^~~~~~~~~~
utilities/blob_db/blob_log_reader.cc:76:5: note: herecase kReadHeaderKey:^~~~
utilities/blob_db/blob_log_reader.cc:94:18: error: this statement may fall through [-Werror=implicit-fallthrough=]next_byte_ += record->GetBlobSize();~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
utilities/blob_db/blob_log_reader.cc:96:5: note: herecase kReadHeaderKeyBlob:^~~~
cc1plus: all warnings being treated as errors
Makefile:1813: recipe for target 'utilities/blob_db/blob_log_reader.o' failed
make: *** [utilities/blob_db/blob_log_reader.o] Error 1
make: *** Waiting for unfinished jobs....
CMake Warning at CMakeLists.txt:122 (message):gRPC_INSTALL will be forced to FALSE because gRPC_ZLIB_PROVIDER is "module"CMake Error at third_party/boringssl/CMakeLists.txt:30 (message):Could not find Go-- Configuring incomplete, errors occurred!
See also "/home/zhang/paxosstore/certain/third/grpc/CMakeFiles/CMakeOutput.log".
See also "/home/zhang/paxosstore/certain/third/grpc/CMakeFiles/CMakeError.log".
[MAKE] Generating cache.mk
[AR] Creating /home/zhang/paxosstore/certain/third/grpc/libs/opt/libgpr.a
[C] Compiling third_party/boringssl/crypto/bio/fd.c
[C] Compiling third_party/boringssl/crypto/bio/file.c
[C] Compiling third_party/boringssl/crypto/bn/add.c
[C] Compiling third_party/boringssl/crypto/bn/asm/x86_64-gcc.c
third_party/boringssl/crypto/bio/file.c: In function ‘file_ctrl’:
third_party/boringssl/crypto/bio/file.c:186:11: error: this statement may fall through [-Werror=implicit-fallthrough=]num = 0;~~~~^~~
third_party/boringssl/crypto/bio/file.c:187:5: note: herecase BIO_C_FILE_SEEK:^~~~
third_party/boringssl/crypto/bio/fd.c: In function ‘fd_ctrl’:
third_party/boringssl/crypto/bio/fd.c:192:11: error: this statement may fall through [-Werror=implicit-fallthrough=]num = 0;~~~~^~~
third_party/boringssl/crypto/bio/fd.c:193:5: note: herecase BIO_C_FILE_SEEK:
解决方法如下:
make CFLAGS='-Wno-implicit-fallthrough'
参考:[NEW] gcc 7 and -Werror=implicit-fallthrough · Issue #13854 · grpc/grpc
报错解决:error: this statement may fall through [-Werror=implicit-fallthrough=]相关推荐
- nginx报错:src/core/ngx_murmurhash.c:39:11: error: this statement may fall through [-Werror=implicit-fa
报错: make -f objs/Makefile install make[1]: Entering directory '/usr/local/nginx/nginx-1.7.7' cc -c - ...
- salmon的报错解决error while loading shared libraries: libboost_iostreams.so.1.60.0
使用conda安装的软件salmon时报错为 error while loading shared libraries: libboost_iostreams.so.1.60.0 报错原因: cond ...
- 报错解决Error parsing Mapper XML
Error parsing Mapper XML 这个报错本质来说是mapper.xml出现错误 相同的还有 failed resolve xxx.xml等 这里分析一些编写时不会明显爆红,启动报错的 ...
- 服务器使用mysql -u root -p报错解决
服务器使用mysql -u root -p报错解决ERROR 1698 (28000): Access denied for user 'root'@'localhost' 经过搜索,发现可能是以下原 ...
- Android studio 报错解决:Error:SSL peer shut down incorrectly
此文首发于我的Jekyll博客:zhang0peter的个人博客 很久没用 Android studio 了,刚刚在打开一个项目的biuld过程中报错: SSL peer shut down inco ...
- Reids报错解决:Job for redis-server.service failed because the control process exited with error code.
此文首发于我的个人博客:Reids报错解决 Job for redis-server.service failed because the control process exited with er ...
- Sublime Text 3便携版下载安装和常用插件安装--顺便解决报错An error occured installing和no packages available for install
文章目录 Sublime Text 3便携版下载安装和常用插件安装 1.Sublime Text 3便携版下载: 2.sublime 插件控制器(Package Control)安装 2.1离线安装P ...
- mysql 报错 get error 28 from storage engine 解决方法
mysql 报错 get error 28 from storage engine 解决方法 参考文章: (1)mysql 报错 get error 28 from storage engine 解决 ...
- Module build failed: Error: Cannot find module ‘node-sass‘ Require stack报错解决
Module build failed: Error: Cannot find module 'node-sass' Require stack报错解决 异常信息 解决方法 设置用淘宝镜像下载 npm ...
最新文章
- 如何存储 Git 大文件?
- leetcode 1006. 笨阶乘
- 探果(简称tamguo)是基于java开发的在线题库系统
- mysql 基本概念学习(时间,事务)
- 对桌面壁纸有要求?壁纸控的你需要看这里
- 公安信息通信网边界接入平台安全规范_【市场动态】3.56 亿元,阿里云中标青岛智慧公安项目...
- .Net MVC中设置默认启动为某区域的视图
- linux mint 引导类型,LinuxMint18配置Grub2默认启动操作系统
- 树莓派 能干啥_大神们都用树莓派做了哪些事
- 嵌入式应该怎么去学?-熊健-专题视频课程
- 2019 年技术大趋势预测
- html5 表单 重置,css修改input表单默认样式重置与自定义大全
- 超好看的3D烟花代码
- ARM开发工具软件命令详解---嵌入式回归第三篇
- 【阿里云双11薅羊毛攻略】领限量手办详细步骤
- GTD时间管理:高效管理你的时间,GTD软件一款就够
- 第五篇:mig读写时序下板实现
- android 仿微视,腾讯微视和抖音一样?模仿还是照搬?
- Oracle等待事件(三)—— buffer busy waits 常见原因及对应解决方法
- 企业APP营销策略方案
热门文章
- 第三十课.向量胶囊与动态路由
- 生信分析流程构建的几大流派
- MPB:湖南师大尹佳组-​乳酸菌益生菌表面粘附能力的检测
- Cell:一种用基因流定义微生物种群的反向生态学方法
- 生物工程学报-微生物组测序与分析专刊-邀请函
- 高级转录组分析和R数据可视化(2020.2,课程推迟,可先报名,时间另行告知)
- js弹出一段html,html js 弹出层
- pandas删除dataframe中行内容全是0的数据行(remove rows with all zeros in dataframe)
- R语言ggplot2可视化箱图(boxplot)时忽视异常值(outlier)并重新分配坐标轴的范围是的可视化的箱图可以有效显示箱体实战
- R语言时间序列(time series)分析实战:使用ARIMA模型预测时间序列