Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3712

C++ Build Failure on Manjaro

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0, 1.11.2
    • None
    • Manjaro

    Description

      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;
            |               ~~^

      I'll put in a PR.

      Attachments

        Issue Links

          Activity

            People

              comm@squotd.net John McClean
              comm@squotd.net John McClean
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h