You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "John McClean (Jira)" <ji...@apache.org> on 2023/02/05 22:00:00 UTC

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

John McClean created AVRO-3712:
----------------------------------

             Summary: 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


{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)