You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/04/10 19:11:27 UTC

[GitHub] [arrow-nanoarrow] paleolimbot opened a new issue, #179: Warning when compiling nanoarrow.hpp

paleolimbot opened a new issue, #179:
URL: https://github.com/apache/arrow-nanoarrow/issues/179

   Discovered when packaging the postgres driver:
   
   ```
   ../src/nanoarrow/nanoarrow.hpp:281:35: warning: field 'offset_' will be initialized after field 'arrays_' [-Wreorder-ctor]
         : EmptyArrayStream(schema), offset_(0), arrays_(std::move(arrays)) {}
                                     ^~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~
                                     arrays_(std::move(arrays)) offset_(0)
   In file included from connection.cc:18:
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-nanoarrow] paleolimbot commented on issue #179: Warning when compiling nanoarrow.hpp

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on issue #179:
URL: https://github.com/apache/arrow-nanoarrow/issues/179#issuecomment-1508605267

   Also:
   
   ```
   ../src/nanoarrow/nanoarrow.hpp: In member function 'virtual int nanoarrow::VectorArrayStream::get_next(ArrowArray*)':
   ../src/nanoarrow/nanoarrow.hpp:284:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (offset_ < arrays_.size()) {
                    ^
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-nanoarrow] paleolimbot closed issue #179: Warning when compiling nanoarrow.hpp

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot closed issue #179: Warning when compiling nanoarrow.hpp
URL: https://github.com/apache/arrow-nanoarrow/issues/179


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org