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

MSVC more standards conformance

Aperta
#152 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
8.8k
Fork
902
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The [/Zc](https://learn.microsoft.com/en-us/cpp/build/reference/zc-conformance?view=msvc-170) flag has a couple of conformance related changes that are not enabled by default, the /permissive- flag or the /std:c++17 and /std:c++20 flags.

As far as I understand the documentation, these include:
* /Zc:throwingNew
* /Zc:__cplusplus
* /Zc:preprocessor
* /Zc:inline
* /Zc:referenceBinding
* /Zc:strictStrings
* /Zc:templateScope

There are also two non-/Zc flags that I am aware of, that have an impact on conformance:
* /await:strict
* /volatile:iso

If interested, I could create a PR?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.