Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
Description
I just saw the following warning when compiling PyArrow:
/home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.7/_dataset.cpp:46102:151: warning: offset of on non-standard-layout type 'struct __pyx_obj_7pyarrow_8_dataset_RecordBatchIterator' [-Winvalid-offsetof] if (__pyx_type_7pyarrow_8_dataset_RecordBatchIterator.tp_weaklistoffset == 0) __pyx_type_7pyarrow_8_dataset_RecordBatchIterator.tp_weaklistoffset = offsetof(struct __pyx_obj_7pyarrow_8_dataset_RecordBatchIterator, __pyx_base.__weakref__); ^ ~~~~~~~~~~ /usr/lib/llvm-10/lib/clang/10.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 1 warning generated.
Attachments
Issue Links
- links to