4paradigm / 4paradigm/OpenMLDB
build: compile with more strict flags
- 主要语言
- C++
- 星标
- 1.7k
- 派生
- 331
- 平均合并
- 12 天 12 小时
- 30 天内合并 PR
- 1
描述
**Describe the feature you'd like**
It appear there are many warnings during compilation. To improve code quality, we should consider just failing the compile when some of the warnings meet, not limited to e.g:
- -Wdangling-gsl
- -Wformat
- -Wdelete-non-abstract-non-virtual-dtor
- -Wthread-safety
**Additional context**
Add any other context or screenshots about the feature request here.
贡献指南
调研方向
Look at the project's build configuration files (CMakeLists.txt, Makefile, or similar) to see current compiler flags. Research each suggested warning flag (-Wdangling-gsl, -Wformat, -Wdelete-non-abstract-non-virtual-dtor, -Wthread-safety) for compatibility with the codebase. Test compilation with these flags enabled to identify and understand the warnings, then decide which to promote to errors.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp
- 领域
- build-system
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100