diff options
author | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2010-06-15 12:44:17 (GMT) |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2010-06-16 11:42:03 (GMT) |
commit | 73fa311f67b21c9b897de0196d3b8227f27d828f (patch) | |
tree | 1c0c6f0a76e543b2a631a6fd91cabfc56b35f2cc /src/3rdparty/javascriptcore | |
parent | 5b5785bc564ccea9f6868d02be3d1080cb5039b9 (diff) | |
download | Qt-73fa311f67b21c9b897de0196d3b8227f27d828f.zip Qt-73fa311f67b21c9b897de0196d3b8227f27d828f.tar.gz Qt-73fa311f67b21c9b897de0196d3b8227f27d828f.tar.bz2 |
qmake: Fix CONFIG += exceptions_off with the MSVC project generator.
cl.exe default exception handling (when not specified on the command
line) is to disable exceptions. In vcproj files however, if the
ExceptionHandling option is not specified, the default behavior is to
enable exceptions without SEH (/EHsh).
This patch makes sure that ExceptionHandling is disabled when /EHsc is
not fed to parseOption (which happens when the exceptions_off config
is encountered).
For VS2003 the values are a bit different where "false"==ehNone,
"true"==ehNoSEH and ehSEH is not available. The default is "true"
if not specified thus why we set it to "false" when exceptions_off
is given.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/3rdparty/javascriptcore')
0 files changed, 0 insertions, 0 deletions