Re: C++ warning: missing initializer for member

2021-07-27 Thread Wes McKinney
I opened https://issues.apache.org/jira/browse/ARROW-13469 On Tue, Jul 27, 2021 at 3:17 PM Rares Vernica wrote: > > Thanks, Wes. I did something like this to repress the warnings for now: > > #pragma GCC diagnostic push > #pragma GCC diagnostic ignored "-Wmissing-field-initializers" > #include >

Re: C++ warning: missing initializer for member

2021-07-27 Thread Rares Vernica
Thanks, Wes. I did something like this to repress the warnings for now: #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #include #pragma GCC diagnostic pop Cheers, Rares On Tue, Jul 27, 2021 at 8:18 PM Wes McKinney wrote: > Seems like this could be fi

Re: C++ warning: missing initializer for member

2021-07-27 Thread Wes McKinney
Seems like this could be fixed by adding default values: struct DayMilliseconds { int32_t days = 0; int32_t milliseconds = 0; ... }; In the meantime, you would have to suppress the warning in the compiler where it's happening On Tue, Jul 27, 2021 at 12:26 PM Rares Vernica wrote: > > Hello