diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2017-01-16 10:05:58 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2017-01-16 10:05:58 +0100 |
commit | 107289ca7ecf168fc02ed799b01eab663ed9bfb6 (patch) | |
tree | 616ea9d245ea0b3b468b290238ed1d7b58d6cbdb /ACE/ace/Global_Macros.h | |
parent | 3e241cdd1a6a673e2e9a3856e3e09c40879a43ab (diff) | |
download | ATCD-107289ca7ecf168fc02ed799b01eab663ed9bfb6.tar.gz |
Introduce ACE_NOEXCEPT_FALSE and use that in some places to silence C++11 compiler warnings
* ACE/ace/Global_Macros.h:
* TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_List_Store.cpp:
* TAO/tao/Storable_File_Guard.cpp:
* TAO/tao/Storable_File_Guard.h:
Diffstat (limited to 'ACE/ace/Global_Macros.h')
-rw-r--r-- | ACE/ace/Global_Macros.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ACE/ace/Global_Macros.h b/ACE/ace/Global_Macros.h index f5876f77ec5..5ca0d4782b0 100644 --- a/ACE/ace/Global_Macros.h +++ b/ACE/ace/Global_Macros.h @@ -112,6 +112,15 @@ ACE_END_VERSIONED_NAMESPACE_DECL #else # define ACE_REGISTER register #endif + +// noexcept(false) specification to specify that the operation ca +// throw an exception +#if defined _MSC_VER && _MSC_VER >= 1900 || defined (ACE_HAS_CPP11) +#define ACE_NOEXCEPT_FALSE noexcept(false) +#else +#define ACE_NOEXCEPT_FALSE +#endif + // ---------------------------------------------------------------- // FUZZ: disable check_for_ACE_Guard |