cpp-best-practices / cpp-best-practices/cppbestpractices

MSVC /Wall is not unusable because of standard library headers

Abierto
#144 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
8.8k
Forks
902
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

The current wording reads "`/Wall` - Also warns on files included from the standard library, so it's not very useful and creates too many extra warnings." – this reason does not seem to hold, because `/external` (i.e. `/external:anglebrackets`) exists and is effective in preventing `/Wall` warnings in the standard headers too.

A better reason to avoid `/Wall` would be a large number of informational diagnostics (i.e. https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4711?view=msvc-170) - but then again, these can be disabled individually.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.