Skip to content

Remove pointer arithmetic#140

Merged
luben merged 1 commit intoluben:masterfrom
glukasiknuro:glukasik/fix_pointer_arithmetic
Oct 17, 2020
Merged

Remove pointer arithmetic#140
luben merged 1 commit intoluben:masterfrom
glukasiknuro:glukasik/fix_pointer_arithmetic

Conversation

@glukasiknuro
Copy link
Copy Markdown
Contributor

@glukasiknuro glukasiknuro commented Sep 24, 2020

Looks like MSVC does not like it and returns C2036 error. Needed to
perform this change when integrating zstd into bazel to make it
compile under Windows:

bazelbuild/bazel@02e0515

See: bazelbuild/bazel#11968

Looks like MSVC does not like it and returns C2036 error. Needed to
perform this change when integrating zstd into bazel to make it
compile under Windows:

bazelbuild/bazel@02e0515
@glukasiknuro
Copy link
Copy Markdown
Contributor Author

glukasiknuro commented Sep 24, 2020

@luben how hard would be to add direct support and CI for MSVC? Bazel seems to use it for compiling, so possibly would be good to have checks in here that it works as well.

@glukasiknuro
Copy link
Copy Markdown
Contributor Author

@luben friendly ping

@luben
Copy link
Copy Markdown
Owner

luben commented Oct 17, 2020

Hi, sorry for the delay - I was away fro a few weeks.

LGTM

@luben luben merged commit 48bedc9 into luben:master Oct 17, 2020
@luben
Copy link
Copy Markdown
Owner

luben commented Oct 17, 2020

Regarding the CI for MSVC - I have to spent some time on it. I recently moved the CI to GH actions so it should make it easier.

glukasiknuro added a commit to glukasiknuro/bazel that referenced this pull request Oct 29, 2020
New version contains luben/zstd-jni#140 which
fixes issues with pointer arithmetic and makes the patch smaller.
glukasiknuro added a commit to glukasiknuro/bazel that referenced this pull request Oct 29, 2020
New version contains luben/zstd-jni#140 which
fixes issues with pointer arithmetic and makes the patch smaller.
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.

2 participants