Skip to content

Commit 8bc7134

Browse files
author
Michael Blome
committed
version note added to permissive and diagnostics
1 parent b9505d6 commit 8bc7134

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/build/reference/diagnostics-compiler-diagnostic-options.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Use the **/diagnostics** compiler option to specify the display of error and war
2323
```
2424

2525
## Remarks
26+
27+
This option is supported in Visual Studio 2017 and later.
28+
2629
The **/diagnostics** compiler option controls the display of error and warning information.
2730

2831
The **/diagnostics:classic** option is the default, which reports only the line number where the issue was found.

docs/build/reference/permissive-standards-conformance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "-permissive- (Standards conformance) | Microsoft Docs"
3-
ms.date: "11/11/2016"
3+
ms.date: "05/25/2018"
44
ms.technology: ["cpp-tools"]
55
ms.topic: "reference"
66
f1_keywords: ["/permissive", "VC.Project.VCCLCompilerTool.ConformanceMode"]
@@ -21,7 +21,7 @@ Specify standards conformance mode to the compiler. Use this option to help you
2121
2222
## Remarks
2323

24-
You can use the **/permissive-** compiler option to specify standards-conforming compiler behavior. This option disables permissive behaviors, and sets the [/Zc](../../build/reference/zc-conformance.md) compiler options for strict conformance. In the IDE, this option also makes the IntelliSense engine underline non-conforming code.
24+
You can use the **/permissive-** compiler option in Visual Studio 2017 and later to specify standards-conforming compiler behavior. This option disables permissive behaviors, and sets the [/Zc](../../build/reference/zc-conformance.md) compiler options for strict conformance. In the IDE, this option also makes the IntelliSense engine underline non-conforming code.
2525

2626
By default, the **/permissive-** option is set in new projects created by Visual Studio 2017 version 15.5 and later versions. It is not set by default in earlier versions. When the option is set, the compiler generates diagnostic errors or warnings when non-standard language constructs are detected in your code, including some common bugs in pre-C++11 code.
2727

docs/what-s-new-for-visual-cpp-in-visual-studio.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@ ms.workload: ["cplusplus"]
1919
### C++ conformance improvements
2020

2121
In this release, we've updated the C++ compiler and standard library with enhanced support for C++11 and C++14 features, as well as preliminary support for certain features expected to be in the C++17 standard. For detailed information, see [C++ Conformance Improvements in Visual Studio 2017](cpp-conformance-improvements-2017.md).
22-
**Visual Studio 2017 version 15.5**:
2322

24-
The compiler supports about 75% of the features that are new in C++17, including structured bindings, `constexpr` lambdas, `if constexpr`, inline variables, fold expressions, and adding `noexcept` to the type system. These are available under the **/std:c++17** option. For more information, see [C++ Conformance Improvements in Visual Studio 2017](cpp-conformance-improvements-2017.md)
23+
**Visual Studio 2017 version 15.5**: The compiler supports about 75% of the features that are new in C++17, including structured bindings, `constexpr` lambdas, `if constexpr`, inline variables, fold expressions, and adding `noexcept` to the type system. These are available under the **/std:c++17** option. For more information, see [C++ Conformance Improvements in Visual Studio 2017](cpp-conformance-improvements-2017.md)
2524

26-
**Visual Studio 2017 version 15.7**:
27-
28-
The MSVC compiler toolset in Visual Studio version 15.7 now conforms with the C++ Standard. For more information, see [Announcing: MSVC Conforms to the C++ Standard](https://blogs.msdn.microsoft.com/vcblog/2018/05/07/announcing-msvc-conforms-to-the-c-standard/) and [Visual C++ Language Conformance](visual-cpp-language-conformance.md).
25+
**Visual Studio 2017 version 15.7**: The MSVC compiler toolset in Visual Studio version 15.7 now conforms with the C++ Standard. For more information, see [Announcing: MSVC Conforms to the C++ Standard](https://blogs.msdn.microsoft.com/vcblog/2018/05/07/announcing-msvc-conforms-to-the-c-standard/) and [Visual C++ Language Conformance](visual-cpp-language-conformance.md).
2926

3027
### New compiler options
3128

0 commit comments

Comments
 (0)