Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 68177 invoked from network); 16 Aug 2008 19:34:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Aug 2008 19:34:05 -0000 Received: (qmail 53925 invoked by uid 500); 16 Aug 2008 19:34:04 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 53899 invoked by uid 500); 16 Aug 2008 19:34:04 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 53888 invoked by uid 99); 16 Aug 2008 19:34:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Aug 2008 12:34:04 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Aug 2008 19:33:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6CE62234C1B4 for ; Sat, 16 Aug 2008 12:33:44 -0700 (PDT) Message-ID: <1529627201.1218915224445.JavaMail.jira@brutus> Date: Sat, 16 Aug 2008 12:33:44 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Created: (STDCXX-1006) [MSVC] use __declspec(noreturn) where __attribute__((noreturn)) is used MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [MSVC] use __declspec(noreturn) where __attribute__((noreturn)) is used ----------------------------------------------------------------------- Key: STDCXX-1006 URL: https://issues.apache.org/jira/browse/STDCXX-1006 Project: C++ Standard Library Issue Type: Improvement Components: Build and Installation Affects Versions: 4.2.1 Environment: MSVC 6.0 and better Reporter: Martin Sebor Assignee: Martin Sebor Priority: Minor Fix For: 4.2.2 As noted in this [comment|http://issues.apache.org/jira/browse/STDCXX-890?focusedCommentId=12601601#action_12601601] on STDCXX-890, we can and should use Visual C++ [{{\_\_declspec(noreturn)}}|http://msdn.microsoft.com/en-us/library/aa235362(VS.60).aspx] to declare functions that do not return to the caller to avoid warnings and to help the optimizer generate better code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.