Commit 5bbc9438 by Jamie Madill

Revert "Disable RTTI in VS release builds"

Fails compile on the Windows Debug GPU bot: c:\b\build\slave\gpu_win_builder__dbg_\build\src\third_party\deqp\src\framework\opengl\simplereference\sglrreferencecontext.cpp(2342) : warning C4541: 'dynamic_cast' used on polymorphic type 'sglr::rc::Texture' with /GR-; unpredictable behavior may result c:\b\build\slave\gpu_win_builder__dbg_\build\src\third_party\deqp\src\framework\opengl\simplereference\sglrreferencecontext.cpp(2344) : warning C4541: 'dynamic_cast' used on polymorphic type 'sglr::rc::Texture' with /GR-; unpredictable behavior may result Many other similar errors. BUG=angleproject:1239 This reverts commit aca86045. Change-Id: I523e12b32665bcc74a6437582be82db8174e42ac Reviewed-on: https://chromium-review.googlesource.com/315170Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 3d677ea6
...@@ -99,6 +99,7 @@ ...@@ -99,6 +99,7 @@
'ExceptionHandling': '0', 'ExceptionHandling': '0',
'EnableFunctionLevelLinking': 'true', 'EnableFunctionLevelLinking': 'true',
'MinimalRebuild': 'false', 'MinimalRebuild': 'false',
'RuntimeTypeInfo': 'true',
'WarningLevel': '4', 'WarningLevel': '4',
}, },
'VCLinkerTool': 'VCLinkerTool':
...@@ -141,7 +142,6 @@ ...@@ -141,7 +142,6 @@
{ {
'Optimization': '0', # /Od 'Optimization': '0', # /Od
'BasicRuntimeChecks': '3', 'BasicRuntimeChecks': '3',
'RuntimeTypeInfo': 'true',
'conditions': 'conditions':
[ [
['angle_build_winrt==1', ['angle_build_winrt==1',
...@@ -200,7 +200,6 @@ ...@@ -200,7 +200,6 @@
'VCCLCompilerTool': 'VCCLCompilerTool':
{ {
'Optimization': '2', # /Os 'Optimization': '2', # /Os
'RuntimeTypeInfo': 'false',
'conditions': 'conditions':
[ [
['angle_build_winrt==1', ['angle_build_winrt==1',
......
...@@ -1184,8 +1184,9 @@ ...@@ -1184,8 +1184,9 @@
{ {
'VCCLCompilerTool': 'VCCLCompilerTool':
{ {
# dEQP requires exceptions # dEQP requires exceptions and RTTI
'ExceptionHandling': 1, 'ExceptionHandling': 1,
'RuntimeTypeInfo': 'true',
}, },
'VCLinkerTool': 'VCLinkerTool':
{ {
...@@ -1215,17 +1216,6 @@ ...@@ -1215,17 +1216,6 @@
}, },
}, },
}, },
'Release_Base':
{
'msvs_settings':
{
'VCCLCompilerTool':
{
'RuntimeTypeInfo': 'true', # dEQP needs RTTI
},
},
},
}, },
# Re-enable RTTI and exceptions, dEQP needs them. # Re-enable RTTI and exceptions, dEQP needs them.
'cflags_cc!': 'cflags_cc!':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment