diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-04-13 10:01:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-04-13 10:01:57 +0200 |
commit | 9c2b33aa2b951716384e7383ed86934ffcf7bd64 (patch) | |
tree | 95acca766628348ecaa10126d5492b2fac8300d3 | |
parent | 275a49c137588d2b0c7031097c0422426fe657eb (diff) |
Enable RTTI in default win32 config if polymorphism is enabled
-rw-r--r-- | dist/config/config.nmake | 7 |
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 |