incubator-stdcxx-dev 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-240) [HP aCC] #define RWSTD_NO_EXCEPTIONS when __HPACC_NOEH is on
Date Wed, 28 Jun 2006 20:01:30 GMT
[HP aCC] #define RWSTD_NO_EXCEPTIONS when __HPACC_NOEH is on
------------------------------------------------------------

         Key: STDCXX-240
         URL: http://issues.apache.org/jira/browse/STDCXX-240
     Project: C++ Standard Library
        Type: Improvement

  Components: Build  
    Reporter: Martin Sebor


Moved from the Rogue Wave bug tracking database:

Class/File: stdcomp.h
Fix Priority: Can Fix
Long Description: 
  *** Dec 1 1999 6:03PM *** sebor ***

A request for enhancement.


Subject: define RWSTD_NO_EXCEPTIONS when __HPACC_NOEH is
Date: Wed, 01 Dec 1999 17:11:36 -0800
From: Chichiang Wan <wanc@cup.hp.com>
Organization: California Language Labs
To: oemsupport <oemsupport@roguewave.com>
CC: dhandly@cup.hp.com, wanc_at_hp <wanc@cup.hp.com>



aCC has an option +noeh.  When it is provided, __HPACC_NOEH will be
defined.  It would be nice for users to need to only use +noeh.  For
that,  
RWSTD_NO_EXCEPTIONS needs to be defined conditionally. 


=========================================================
$ cat test.C
#include <string>
$ aCC +noeh -c test.C
Error 46: "/opt/aCC/include/memory", line 493 # Exception handling is 
not
    enabled (do not use the +noeh flag to aCC).
      RWSTD_THROW_NO_MSG(tmp == 0, bad_alloc);


-- Chichiang

****Modified By: sebor @ May 29, 2000 10:28:25 PM****
We should do this AND test it -- not just on aCC but in general with all compilers that support
this feature.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message