stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-1006) [MSVC] use __declspec(noreturn) where __attribute__((noreturn)) is used
Date Sat, 16 Aug 2008 19:33:44 GMT
[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.


Mime
View raw message