aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/config/config.nmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/config/config.nmake b/dist/config/config.nmake
index 79e68d8..8acecbb 100644
--- a/dist/config/config.nmake
+++ b/dist/config/config.nmake
@@ -145,7 +145,14 @@ XSDE_SERIALIZER_IMAP_BUCKETS = 97
# Options tuning depending on the features selected.
#
+
!if "$(XSDE_EXCEPTIONS)" == "y"
CFLAGS = $(CFLAGS) /EHs
CXXFLAGS = $(CXXFLAGS) /EHs
!endif
+
+# Some polymorphism examples use dynamic_cast.
+#
+!if "$(XSDE_POLYMORPHIC)" == "y"
+CXXFLAGS = $(CXXFLAGS) /GR
+!endif