<Swing Dev> Integrated: 8263136: C4530 was reported from VS 2019 at access bridge

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

<Swing Dev> Integrated: 8263136: C4530 was reported from VS 2019 at access bridge

Yasumasa Suenaga-7
On Sun, 7 Mar 2021 03:18:53 GMT, Yasumasa Suenaga <[hidden email]> wrote:

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

This pull request has now been integrated.

Changeset: d339320e
Author:    Yasumasa Suenaga <[hidden email]>
URL:       https://git.openjdk.java.net/jdk/commit/d339320e
Stats:     9 lines in 1 file changed: 2 ins; 1 del; 6 mod

8263136: C4530 was reported from VS 2019 at access bridge

Reviewed-by: stuefe, serb

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

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