You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/02/18 23:38:00 UTC

[jira] [Updated] (ARROW-7881) [C++] Fix pedantic warnings

     [ https://issues.apache.org/jira/browse/ARROW-7881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-7881:
----------------------------------
    Labels: pull-request-available  (was: )

> [C++] Fix pedantic warnings
> ---------------------------
>
>                 Key: ARROW-7881
>                 URL: https://issues.apache.org/jira/browse/ARROW-7881
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Neal Richardson
>            Assignee: Neal Richardson
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>
> Saw this while working on ARROW-7880:
> {code}
> In file included from /arrow/r/libarrow/arrow-0.16.0.9000/include/arrow/compute/kernel.h:27,
>                  from /arrow/r/libarrow/arrow-0.16.0.9000/include/arrow/compute/api.h:22,
>                  from ./arrow_types.h:199,
>                  from chunkedarray.cpp:18:
> /arrow/r/libarrow/arrow-0.16.0.9000/include/arrow/scalar.h:399:2: warning: extra ‘;’ [-Wpedantic]
>  };  // namespace internal
>   ^
> In file included from /arrow/r/libarrow/arrow-0.16.0.9000/include/arrow/compute/api.h:31,
>                  from ./arrow_types.h:199,
>                  from chunkedarray.cpp:18:
> /arrow/r/libarrow/arrow-0.16.0.9000/include/arrow/compute/kernels/mean.h:66:2: warning: extra ‘;’ [-Wpedantic]
>  };  // namespace arrow
>   ^
> In file included from /arrow/r/libarrow/arrow-0.16.0.9000/include/arrow/dataset/file_base.h:29,
>                  from /arrow/r/libarrow/arrow-0.16.0.9000/include/arrow/dataset/api.h:22,
>                  from ./arrow_types.h:201,
>                  from chunkedarray.cpp:18:
> /arrow/r/libarrow/arrow-0.16.0.9000/include/arrow/dataset/scanner.h:40:2: warning: extra ‘;’ [-Wpedantic]
>  };
>   ^
> In file included from /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/encryption.h:28,
>                  from /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/properties.h:29,
>                  from /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/metadata.h:29,
>                  from /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/file_reader.h:26,
>                  from /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/arrow/reader.h:25,
>                  from ./arrow_types.h:217,
>                  from chunkedarray.cpp:18:
> /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/schema.h:319:36: warning: extra ‘;’ [-Wpedantic]
>  PRIMITIVE_FACTORY(Boolean, BOOLEAN);
>                                     ^
> /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/schema.h:320:32: warning: extra ‘;’ [-Wpedantic]
>  PRIMITIVE_FACTORY(Int32, INT32);
>                                 ^
> /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/schema.h:321:32: warning: extra ‘;’ [-Wpedantic]
>  PRIMITIVE_FACTORY(Int64, INT64);
>                                 ^
> /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/schema.h:322:32: warning: extra ‘;’ [-Wpedantic]
>  PRIMITIVE_FACTORY(Int96, INT96);
>                                 ^
> /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/schema.h:323:32: warning: extra ‘;’ [-Wpedantic]
>  PRIMITIVE_FACTORY(Float, FLOAT);
>                                 ^
> /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/schema.h:324:34: warning: extra ‘;’ [-Wpedantic]
>  PRIMITIVE_FACTORY(Double, DOUBLE);
>                                   ^
> /arrow/r/libarrow/arrow-0.16.0.9000/include/parquet/schema.h:325:41: warning: extra ‘;’ [-Wpedantic]
>  PRIMITIVE_FACTORY(ByteArray, BYTE_ARRAY);
> {code}



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