Skip to content

[wxwidgets] Remove debug asserts from Release build.#25240

Merged
dan-shaw merged 2 commits intomicrosoft:masterfrom
AenBleidd:vko_fix_wxwidgets_release_build
Jun 16, 2022
Merged

[wxwidgets] Remove debug asserts from Release build.#25240
dan-shaw merged 2 commits intomicrosoft:masterfrom
AenBleidd:vko_fix_wxwidgets_release_build

Conversation

@AenBleidd
Copy link
Contributor

Currently when building wxWidgets in Release mode, the debug asserts are enabled.
This fixes this issue by providing a necessary define to disable them.

Ref: https://docs.wxwidgets.org/3.1.6/group__group__funcmacro__debug.html

Signed-off-by: Vitalii Koshura lestat.de.lionkur@gmail.com

@AenBleidd AenBleidd force-pushed the vko_fix_wxwidgets_release_build branch from 998987f to 78cf6cf Compare June 14, 2022 22:05
@AenBleidd AenBleidd force-pushed the vko_fix_wxwidgets_release_build branch from 78cf6cf to b67b3ec Compare June 14, 2022 22:37
@AenBleidd AenBleidd force-pushed the vko_fix_wxwidgets_release_build branch from b67b3ec to d0177f8 Compare June 14, 2022 23:21
@AenBleidd
Copy link
Contributor Author

Patch to wxCharts also pushed to mainstream: wxIshiko/wxCharts#201

@LilyWangLL LilyWangLL added the category:port-bug The issue is with a library, which is something the port should already support label Jun 15, 2022
@LilyWangLL LilyWangLL added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Jun 15, 2022
@AenBleidd
Copy link
Contributor Author

wxIshiko/wxCharts#201 PR is merged on upstream. Looks like there is no 'releases' on that repo and current vcpkg port also refers to just some particular commit.
Should I create a new port release of wxCharts and then fix current PR by removing the patch or we're good to go?

@vicroms
Copy link
Member

vicroms commented Jun 15, 2022

wxIshiko/wxCharts#201 PR is merged on upstream. Looks like there is no 'releases' on that repo and current vcpkg port also refers to just some particular commit. Should I create a new port release of wxCharts and then fix current PR by removing the patch or we're good to go?

Yes, that would be great :)

@vicroms vicroms added requires:author-response and removed info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. labels Jun 15, 2022
@vicroms vicroms self-assigned this Jun 15, 2022
Currently when building wxWidgets in Release mode, the debug asserts are enabled.
This fixes this issue by providing a necessary define to disable them.

Ref: https://docs.wxwidgets.org/3.1.6/group__group__funcmacro__debug.html

[wxCharts, vcpkg-ci-wxwidgets] Update ports to include fix for wxWidgets release build with debug asserts off when building a dynamic/shared library.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
@AenBleidd AenBleidd force-pushed the vko_fix_wxwidgets_release_build branch from d0177f8 to 2ccf65a Compare June 15, 2022 22:45
@AenBleidd
Copy link
Contributor Author

@vicroms, done. Please review

@LilyWangLL LilyWangLL added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Jun 16, 2022
@dan-shaw dan-shaw merged commit 6e16931 into microsoft:master Jun 16, 2022
@AenBleidd AenBleidd deleted the vko_fix_wxwidgets_release_build branch June 17, 2022 00:21
dg0yt added a commit to dg0yt/vcpkg that referenced this pull request Jul 5, 2022
vicroms pushed a commit that referenced this pull request Jul 11, 2022
* Revert "[wxwidgets] Remove debug asserts from Release build. (#25240)"

This reverts commit 6e16931.

* Update to 3.1.7

* Update installation layout

* Upstream CMake export is not ready for use

* Update versions

* Remove obsolete patch

* Use msvc layout for mingw on windows

* Add debug-support feature

* Update versions

* Fix condition

* Update versions

* Restore symlink patch

* Update versions

* Remove trace option from test port

* Enable testing without feature debug-support

* Fixup defaults for using without debug support

* Expect wxrc-3.1 for mingw cross builds ("unix" layout)

* Update versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-bug The issue is with a library, which is something the port should already support info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants