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

fix(c/vendor/nanoarrow): Fix -Wreorder warning #1966

Merged
merged 3 commits into from
Jul 4, 2024

Conversation

paleolimbot
Copy link
Member

In some of the R packages we get:

* checking whether package 'adbcsqlite' can be installed ... [35s] WARNING
Found the following significant warnings:
  ../src/c/vendor/nanoarrow/nanoarrow.hpp:868:19: warning: 'nanoarrow::ViewArrayStream::code_' will be initialized after [-Wreorder]
  ../src/c/vendor/nanoarrow/nanoarrow.hpp:867:15: warning:   'ArrowError* nanoarrow::ViewArrayStream::error_' [-Wreorder]
  ../src/c/vendor/nanoarrow/nanoarrow.hpp:828:3: warning:   when initialized here [-Wreorder]
See 'D:/a/arrow-adbc/arrow-adbc/r/adbcsqlite/check/adbcsqlite.Rcheck/00install.out' for details.

https://github.com/apache/arrow-adbc/actions/runs/9788345921/job/27026279250?pr=1965#step:10:166

This has already been fixed upstream:

https://github.com/apache/arrow-nanoarrow/blob/c74bb37b990541c82305b000b516f922db74d1f9/src/nanoarrow/nanoarrow.hpp#L846

@github-actions github-actions bot added this to the ADBC Libraries 14 milestone Jul 4, 2024
@lidavidm lidavidm merged commit 0543d37 into apache:main Jul 4, 2024
79 of 81 checks passed
@paleolimbot paleolimbot deleted the c-vendor-nanoarrow-patch-hpp branch July 9, 2024 00:05
paleolimbot added a commit to paleolimbot/arrow-adbc that referenced this pull request Jul 9, 2024
In some of the R packages we get:

```
* checking whether package 'adbcsqlite' can be installed ... [35s] WARNING
Found the following significant warnings:
  ../src/c/vendor/nanoarrow/nanoarrow.hpp:868:19: warning: 'nanoarrow::ViewArrayStream::code_' will be initialized after [-Wreorder]
  ../src/c/vendor/nanoarrow/nanoarrow.hpp:867:15: warning:   'ArrowError* nanoarrow::ViewArrayStream::error_' [-Wreorder]
  ../src/c/vendor/nanoarrow/nanoarrow.hpp:828:3: warning:   when initialized here [-Wreorder]
See 'D:/a/arrow-adbc/arrow-adbc/r/adbcsqlite/check/adbcsqlite.Rcheck/00install.out' for details.
```


https://github.com/apache/arrow-adbc/actions/runs/9788345921/job/27026279250?pr=1965#step:10:166

This has already been fixed upstream:


https://github.com/apache/arrow-nanoarrow/blob/c74bb37b990541c82305b000b516f922db74d1f9/src/nanoarrow/nanoarrow.hpp#L846
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