You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2023/01/17 16:33:21 UTC

[GitHub] [arrow] paleolimbot commented on issue #33701: [R] Link-time optimization reports violations of one-definition rule in the R package

paleolimbot commented on issue #33701:
URL: https://github.com/apache/arrow/issues/33701#issuecomment-1385698194

   It's a slightly different error now?
   
   https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=42785&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=6c939d89-0d1a-51f2-8b30-091a7a82e98c&l=1591
   
   ```
   /arrow/cpp/src/arrow/type.h:323: warning: virtual table of type ‘struct NestedType’ violates one definition rule [-Wodr]
     323 | class ARROW_EXPORT NestedType : public DataType, public ParametricType {
         | 
   /arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/libarrow/arrow-10.0.1.9000/include/arrow/type.h:323:20: note: the conflicting type defined in another translation unit
     323 | class ARROW_EXPORT NestedType : public DataType, public ParametricType {
         |                    ^
   /arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/libarrow/arrow-10.0.1.9000/include/arrow/type.h:177:22: note: virtual method ‘storage_id’
     177 |   virtual Type::type storage_id() const { return id_; }
         |                      ^
   <built-in>: note: ought to match virtual method ‘__cxa_pure_virtual’ but does not
   /arrow/cpp/src/arrow/type.h:288: warning: virtual table of type ‘struct FixedWidthType’ violates one definition rule [-Wodr]
     288 | class ARROW_EXPORT FixedWidthType : public DataType {
         | 
   /arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/libarrow/arrow-10.0.1.9000/include/arrow/type.h:288:20: note: the conflicting type defined in another translation unit
     288 | class ARROW_EXPORT FixedWidthType : public DataType {
         |                    ^
   /arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/libarrow/arrow-10.0.1.9000/include/arrow/type.h:177:22: note: virtual method ‘storage_id’
     177 |   virtual Type::type storage_id() const { return id_; }
         |                      ^
   <built-in>: note: ought to match virtual method ‘__cxa_pure_virtual’ but does not
   lto-wrapper: warning: using serial compilation of 128 LTRANS jobs
   lto-wrapper: note: see the ‘-flto’ option documentation for more information
   
   ```


-- 
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