You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Fernando Rodriguez (Jira)" <ji...@apache.org> on 2021/07/30 15:51:00 UTC

[jira] [Commented] (ARROW-13469) [C++] Suppress -Wmissing-field-initializers in DayMilliseconds arrow/type.h

    [ https://issues.apache.org/jira/browse/ARROW-13469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390650#comment-17390650 ] 

Fernando Rodriguez commented on ARROW-13469:
--------------------------------------------

Can you provide us with a snippet to reproduce the warning? It was not possible to reproduce.

> [C++] Suppress -Wmissing-field-initializers in DayMilliseconds arrow/type.h
> ---------------------------------------------------------------------------
>
>                 Key: ARROW-13469
>                 URL: https://issues.apache.org/jira/browse/ARROW-13469
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Fernando Rodriguez
>            Priority: Major
>              Labels: beginner
>             Fix For: 6.0.0
>
>
> The absence of default values for {{days}} and {{milliseconds}} triggers a compiler warning in some compilers. This could be resolved by setting the struct member default values to 0
> see mailing list thread https://lists.apache.org/thread.html/r8b7dfdb456538dab57c533376cf1e9538cdbc84213e24f35cc5aaca3%40%3Cdev.arrow.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)