Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(997)

Issue 287193012: Always define _HAS_EXCEPTIONS=0 on Windows (Closed)

Created:
6 years, 7 months ago by hans
Modified:
6 years, 7 months ago
CC:
chromium-reviews, rvargas (doing something else)
Visibility:
Public.

Description

Always define _HAS_EXCEPTIONS=0 on Windows Previously we would not define it in component builds because it didn't work with old versions of MSVC. These days it should work. The macro is extra important for Clang, which doesn't currently support exceptions on Windows. BUG=82385 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272478

Patch Set 1 #

Patch Set 2 : Try always setting _HAS_EXCEPTIONS=0 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -5 lines) Patch
M build/common.gypi View 1 2 chunks +1 line, -5 lines 1 comment Download

Messages

Total messages: 16 (0 generated)
hans
Please take a look.
6 years, 7 months ago (2014-05-22 17:11:29 UTC) #1
Nico
maruel, I think _HAS_EXCEPTIONS=0 isn't defined in component builds on windows due to your advice ...
6 years, 7 months ago (2014-05-22 17:50:14 UTC) #2
M-A Ruel
On 2014/05/22 17:50:14, Nico wrote: > maruel, I think _HAS_EXCEPTIONS=0 isn't defined in component builds ...
6 years, 7 months ago (2014-05-22 17:55:12 UTC) #3
Reid Kleckner
On 2014/05/22 17:55:12, M-A Ruel wrote: > On 2014/05/22 17:50:14, Nico wrote: > > maruel, ...
6 years, 7 months ago (2014-05-22 18:42:39 UTC) #4
M-A Ruel
On 2014/05/22 18:42:39, Reid Kleckner wrote: > On 2014/05/22 17:55:12, M-A Ruel wrote: > > ...
6 years, 7 months ago (2014-05-22 18:52:50 UTC) #5
Nico
Unless there's a good reason why this should be different for clang and msvs, I ...
6 years, 7 months ago (2014-05-22 18:54:55 UTC) #6
chromium-reviews
Maybe we should kick off some win+dbg+shared_library try jobs with a _HAS_EXCEPTIONS=0 change for MSVC? ...
6 years, 7 months ago (2014-05-22 19:09:36 UTC) #7
hans
> On Thu, May 22, 2014 at 11:54 AM, <mailto:thakis@chromium.org> wrote: > > > Unless ...
6 years, 7 months ago (2014-05-22 19:36:56 UTC) #8
hans
The tryjobs look good, and I've updated the CL description. OK to take this to ...
6 years, 7 months ago (2014-05-23 00:07:49 UTC) #9
Nico
On 2014/05/23 00:07:49, hans wrote: > The tryjobs look good, and I've updated the CL ...
6 years, 7 months ago (2014-05-23 00:27:27 UTC) #10
Nico
On 2014/05/23 00:27:27, Nico wrote: > On 2014/05/23 00:07:49, hans wrote: > > The tryjobs ...
6 years, 7 months ago (2014-05-23 00:28:32 UTC) #11
hans
On 2014/05/23 00:28:32, Nico wrote: > On 2014/05/23 00:27:27, Nico wrote: > > On 2014/05/23 ...
6 years, 7 months ago (2014-05-23 00:41:52 UTC) #12
hans
The CQ bit was checked by hans@chromium.org
6 years, 7 months ago (2014-05-23 00:41:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hans@chromium.org/287193012/20001
6 years, 7 months ago (2014-05-23 00:42:53 UTC) #14
commit-bot: I haz the power
Change committed as 272478
6 years, 7 months ago (2014-05-23 10:54:59 UTC) #15
Nico
6 years, 7 months ago (2014-05-23 20:51:57 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/287193012/diff/20001/build/common.gypi
File build/common.gypi (right):

https://codereview.chromium.org/287193012/diff/20001/build/common.gypi#newcod...
build/common.gypi:4965: }],
Elsewhere, I noticed today that this block here also disables exceptions only in
static builds. This should very likely be in sync with the define.

Powered by Google App Engine
This is Rietveld 408576698