summaryrefslogtreecommitdiff
path: root/Jamrules.jam
diff options
context:
space:
mode:
Diffstat (limited to 'Jamrules.jam')
-rw-r--r--Jamrules.jam5
1 files changed, 5 insertions, 0 deletions
diff --git a/Jamrules.jam b/Jamrules.jam
index 307e192..ed9c32c 100644
--- a/Jamrules.jam
+++ b/Jamrules.jam
@@ -64,6 +64,11 @@ else if ( $(toolset:I=^msvc) )
{
CCFLAGS += /EHsc ;
}
+ else if ( $(toolset) = "msvc6" || $(toolset) = "msvc71" )
+ {
+ # No no-exception STL in MSVC6, buggy no-exception STL in MSVC71
+ CCFLAGS += /EHsc ;
+ }
else
{
CCFLAGS += /D_HAS_EXCEPTIONS=0 ;