I saw C4530 with VS 2019 (16.9.0) as following (on Japanese locale):

AccessBridgeDebug.cpp
メモ: インクルード ファイル: 
d:\github-forked\jdk\src\jdk.accessibility\windows\native\common\AccessBridgeDebug.h

    :

c:\progra~2\micros~2\2019\commun~1\vc\tools\msvc\1428~1.299\include\ostream(611):
 error C2220: 次の警
告はエラーとして処理されます
c:\progra~2\micros~2\2019\commun~1\vc\tools\msvc\1428~1.299\include\ostream(611):
 warning C4530: C++
例外処理を使っていますが、アンワインド セマンティクスは有効にはなりません。/EHsc を指定してください。
メモ: インクルード ファイル: 
c:\progra~2\micros~2\2019\commun~1\vc\tools\msvc\1428~1.299\include\string

`/EHsc` has been already passed in other makefiles, and also 
AccessBridgeDebug.cpp uses some STL classes (e.g. `chrono` namespace). So 
`/EHsc` is a solution for this problem.

-------------

Commit messages:
 - 8263136: C4530 was reported from VS 2019 at access bridge

Changes: https://git.openjdk.java.net/jdk/pull/2859/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2859&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8263136
  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2859.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2859/head:pull/2859

PR: https://git.openjdk.java.net/jdk/pull/2859

Reply via email to