RFR: 8263136: C4530 was reported from VS 2019 at access bridge [v2]

Yasumasa Suenaga ysuenaga at openjdk.java.net
Mon Mar 8 00:56:24 UTC 2021


> 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.

Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:

  Refactoring

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2859/files
  - new: https://git.openjdk.java.net/jdk/pull/2859/files/f68a1281..4a357eb9

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2859&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2859&range=00-01

  Stats: 12 lines in 2 files changed: 2 ins; 1 del; 9 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



More information about the build-dev mailing list