Skip to content

fix(sqlite): use std::memcpy for MSVC compat in btree decoder - #128

Merged
adsharma merged 1 commit into
mainfrom
fix/sqlite-windows-builtin-memcpy
Oct 15, 2026
Merged

adsharma merged 1 commit into
mainfrom
fix/sqlite-windows-builtin-memcpy

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

Windows (MSVC) build fails with:

btree_page_decoder.cpp(61): error C3861: '__builtin_memcpy': identifier not found
https://github.com/LadybugDB/ladybug/actions/runs/38760029672/job/116508543768

__builtin_memcpy is GCC/Clang-only. std::memcpy is portable ( already included).

One-line change in sqlite/src/cdc/btree_page_decoder.cpp. Ladybug main repo will need an extension submodule bump after merge.

__builtin_memcpy is GCC/Clang-only and breaks the Windows (MSVC)
build with C3861. std::memcpy is portable (<cstring> already
included).

Fixes Windows build failure in LadybugDB/ladybug run 38760029672.
@adsharma
adsharma merged commit e539827 into main Oct 15, 2026
2 checks passed
@adsharma
adsharma deleted the fix/sqlite-windows-builtin-memcpy branch October 15, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant