Add annotations to WinMain() to avoid MSVC analyzer warnings (PR #26368)

13 views
Skip to first unread message

VZ

unread,
Apr 9, 2026, 5:25:07 PM (2 days ago) Apr 9
to wx-...@googlegroups.com, Subscribed

Avoid MSVC code analysis warning

C28251: Inconsistent annotation for 'WinMain': this instance has no annotations.

by providing the same annotations as in the SDK header.

Closes #18529.

Closes #26322.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26368

Commit Summary

  • 92ae924 Add annotations to WinMain() to avoid MSVC analyzer warnings

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26368@github.com>

VZ

unread,
Apr 9, 2026, 5:31:18 PM (2 days ago) Apr 9
to wx-...@googlegroups.com, Push

@vadz pushed 1 commit.

  • 37d1560 Add annotations to WinMain() to avoid MSVC analyzer warnings


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26368/before/92ae92448934c89348c8c54378915cb941d94f2f/after/37d15603c90d679fdb83ee655b09f959767c715d@github.com>

VZ

unread,
Apr 9, 2026, 8:23:58 PM (2 days ago) Apr 9
to wx-...@googlegroups.com, Subscribed

Merged #26368 into master.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26368/issue_event/24357982823@github.com>

Reply all
Reply to author
Forward
0 new messages