From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1734) id EB9983858012; Wed, 28 Oct 2020 21:53:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB9983858012 To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 053c956f6e9c71efac5be01f8a8ba79f15d87f4b X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 12be66871653aa3ef42df4e82646db3675deb0a9 X-Git-Newrev: 053c956f6e9c71efac5be01f8a8ba79f15d87f4b Message-Id: <20201028215341.EB9983858012@sourceware.org> Date: Wed, 28 Oct 2020 21:53:41 +0000 (GMT) From: Marek Polacek X-BeenThere: gcc-cvs-wwwdocs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs-wwwdocs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2020 21:53:42 -0000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 053c956f6e9c71efac5be01f8a8ba79f15d87f4b (commit) from 12be66871653aa3ef42df4e82646db3675deb0a9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 053c956f6e9c71efac5be01f8a8ba79f15d87f4b Author: Marek Polacek Date: Wed Oct 28 17:53:04 2020 -0400 gcc-11/changes: Document C++ -Wdeprecated-enum-{enum,float}-conversion. diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html index 08b54449..befee1f2 100644 --- a/htdocs/gcc-11/changes.html +++ b/htdocs/gcc-11/changes.html @@ -192,6 +192,15 @@ a work-in-progress.

warns when a range-based for-loop is creating unnecessary and expensive copies. +
  • -Wdeprecated-enum-enum-conversion, enabled by default in + C++20, warns about deprecated arithmetic conversions on operands of + enumeration types, as outlined in [depr.arith.conv.enum]. +
  • +
  • -Wdeprecated-enum-float-conversion, enabled by default in + C++20, warns about deprecated arithmetic conversions on operands where + one is of enumeration type and the other is of a floating-point type, + as outlined in [depr.arith.conv.enum]. +
  • ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-11/changes.html | 9 +++++++++ 1 file changed, 9 insertions(+) hooks/post-receive -- gcc-wwwdocs