From 4c496ca33c1af592ec8a027fca4fbabc96e3b038 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 11 Jun 2005 19:34:13 +0000 Subject: [PATCH] make the use of msvc-specific features in Jamfiles portable [SVN r29531] --- src/tools/builtin.jam | 5 +++++ src/tools/msvc.jam | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/tools/builtin.jam b/src/tools/builtin.jam index 593f50ae1..7d15abae1 100644 --- a/src/tools/builtin.jam +++ b/src/tools/builtin.jam @@ -44,6 +44,10 @@ feature inlining : off on full : propagated ; feature threading : single multi : propagated ; feature rtti : on off : propagated ; feature exception-handling : on off : propagated ; +# Whether there is support for asynchronous EH (e.g. catching SEGVs) +feature asynch-exceptions : off on : propagated ; +# Whether all extern "C" functions are considered nothrow by default +feature extern-c-nothrow : off on : propagated ; feature debug-symbols : on off : propagated ; feature define : : free ; feature "include" : : free path ; #order-sensitive ; @@ -56,6 +60,7 @@ feature version : : free ; feature.feature location-prefix : : free ; + # The following features are incidental, since # in themself they have no effect on build products. # Not making them incidental will result in problems in corner diff --git a/src/tools/msvc.jam b/src/tools/msvc.jam index f0c92b930..33407f61d 100644 --- a/src/tools/msvc.jam +++ b/src/tools/msvc.jam @@ -247,9 +247,6 @@ flags msvc.compile CFLAGS off : /Ob0 ; flags msvc.compile CFLAGS on : /Ob1 ; flags msvc.compile CFLAGS full : /Ob2 ; -feature.feature asynch-exceptions : off on : propagated ; -feature.feature extern-c-nothrow : off on : propagated ; - flags msvc.compile C++FLAGS on/off/off : /EHs ; flags msvc.compile C++FLAGS on/off/on : /EHsc ; flags msvc.compile C++FLAGS on/on/off : /EHa ;