4paradigm / 4paradigm/OpenMLDB

build: compile with more strict flags

Abierto
#1,528 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
C++
Estrellas
1.7k
Forks
331
Merge medio
12 d 12 h
PR fusionados (30 d)
1

Descripción

**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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
cpp
Área
build-system
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.