Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[buck-yeh-bux] Fix error C7595 #22471

Merged
merged 2 commits into from
Jan 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions ports/buck-yeh-bux/fix-errorC7595.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/src/XException.cpp b/src/XException.cpp
index 6a66347..53a0087 100644
--- a/src/XException.cpp
+++ b/src/XException.cpp
@@ -49,8 +49,8 @@ LONG WINAPI usrSEH(_EXCEPTION_POINTERS *pInfo)
RUNTIME_ERROR("code 0x{:x}, flags 0x{:x}, extra 0x{:x}, ip 0x{:x}, arg#{:x}",
er->ExceptionCode,
er->ExceptionFlags,
- static_cast<void*>(er->ExceptionRecord),
- static_cast<void*>(er->ExceptionAddress),
+ (size_t)static_cast<void*>(er->ExceptionRecord),
+ (size_t)static_cast<void*>(er->ExceptionAddress),
er->NumberParameters);
}
return EXCEPTION_CONTINUE_SEARCH;
2 changes: 1 addition & 1 deletion ports/buck-yeh-bux/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "uwp" "osx")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO buck-yeh/bux
REF 8788509f0281e9a2af34c0399a45a5c9e66a4664 # v1.6.3
SHA512 a7045a93d91e497ca2b60965bb2f098eae714d00feef0d252747178739cdd981f44cb8983278c679761f61e037da05889f22fa161d26fca05af511fc56c1ac8f
HEAD_REF main
PATCHES fix-errorC7595.patch
)

vcpkg_cmake_configure(
Expand Down
1 change: 1 addition & 0 deletions ports/buck-yeh-bux/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "buck-yeh-bux",
"version": "1.6.3",
"port-version": 1,
"description": "A supplemental C++ library with functionalities not directly supported from Modern C++ standard.",
"homepage": "https://github.com/buck-yeh/bux",
"supports": "!(arm | uwp | osx)",
Expand Down
5 changes: 5 additions & 0 deletions versions/b-/buck-yeh-bux.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "54886a840d4c55d27047321af6de1a5a01ed888e",
"version": "1.6.3",
"port-version": 1
},
{
"git-tree": "19d56bb09ecc37268afec6a5384282e562491af4",
"version": "1.6.3",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@
},
"buck-yeh-bux": {
"baseline": "1.6.3",
"port-version": 0
"port-version": 1
},
"buck-yeh-bux-mariadb-client": {
"baseline": "1.0.1",
Expand Down