You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Thiruvalluvan M. G. (Jira)" <ji...@apache.org> on 2023/02/07 03:42:00 UTC

[jira] [Resolved] (AVRO-3712) C++ Build Failure on Manjaro

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

Thiruvalluvan M. G. resolved AVRO-3712.
---------------------------------------
    Fix Version/s: 1.12.0
                   1.11.2
       Resolution: Fixed

Looks good. Thank you [~comm@squotd.net]. Thanks Martin Grigorov for reviewing it.

> C++  Build Failure on Manjaro
> -----------------------------
>
>                 Key: AVRO-3712
>                 URL: https://issues.apache.org/jira/browse/AVRO-3712
>             Project: Apache Avro
>          Issue Type: Bug
>         Environment: Manjaro
>            Reporter: John McClean
>            Assignee: John McClean
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0, 1.11.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {quote}
> In member function ‘void avro::ReaderImpl<ValidatorType>::readValue(double&) [with ValidatorType = avro::NullValidator]’,
>     inlined from ‘double avro::Parser<Reader>::readDouble() [with Reader = avro::ReaderImpl<avro::NullValidator>]’ at /home/john/third-party/avro/lang/c++/api/Parser.hh:75:26,
>     inlined from ‘void TestSchema::readArray(Parser&) [with Parser = avro::Parser<avro::ReaderImpl<avro::NullValidator> >]’ at /home/john/third-party/avro/lang/c++/test/unittest.cc:324:33,
>     inlined from ‘void TestSchema::readData(Parser&) [with Parser = avro::Parser<avro::ReaderImpl<avro::NullValidator> >]’ at /home/john/third-party/avro/lang/c++/test/unittest.cc:366:18,
>     inlined from ‘void TestSchema::readRawData()’ at /home/john/third-party/avro/lang/c++/test/unittest.cc:404:17:
> /home/john/third-party/avro/lang/c++/api/Reader.hh:89:17: error: ‘v.avro::ReaderImpl<avro::NullValidator>::readValue(double&)::<unnamed union>::d’ may be used uninitialized [-Werror=maybe-uninitialized]
>    89 |         val = v.d;
>       |               ~~^
> {quote}
> I'll put in a PR.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)