<Swing Dev> RFR: 8263136: C4530 was reported from VS 2019 at access bridge [v2]
Sergey Bylokhov
serb at openjdk.java.net
Sat Mar 13 02:01:07 UTC 2021
On Mon, 8 Mar 2021 00:56:24 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> 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.
>
> Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:
>
> Refactoring
Marked as reviewed by serb (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/2859
More information about the swing-dev
mailing list