• Florian Schlichting's avatar
    DecoderBuffer: add missing include · 27d4b159
    Florian Schlichting authored
    > In file included from src/decoder/DecoderBuffer.cxx:21:0:
    > src/decoder/DecoderBuffer.hxx:41:20: error: 'uint8_t' was not declared in this scope
    >   DynamicFifoBuffer<uint8_t> buffer;
    >                     ^
    > src/decoder/DecoderBuffer.hxx:41:27: error: template argument 1 is invalid
    >   DynamicFifoBuffer<uint8_t> buffer;
    >                            ^
    > src/decoder/DecoderBuffer.hxx: In member function 'void DecoderBuffer::Clear()':
    > src/decoder/DecoderBuffer.hxx:61:10: error: request for member 'Clear' in '((DecoderBuffer*)this)->DecoderBuffer::buffer', which is of non-class type 'int'
    >    buffer.Clear();
    >           ^
    > src/decoder/DecoderBuffer.hxx: In member function 'size_t DecoderBuffer::GetAvailable() const':
    > src/decoder/DecoderBuffer.hxx:78:17: error: request for member 'GetAvailable' in '((const DecoderBuffer*)this)->DecoderBuffer::buffer', which is of non-class type 'const int'
    >    return buffer.GetAvailable();
    >                  ^
    > src/decoder/DecoderBuffer.hxx: In member function 'ConstBuffer<void> DecoderBuffer::Read() const':
    > src/decoder/DecoderBuffer.hxx:87:19: error: request for member 'Read' in '((const DecoderBuffer*)this)->DecoderBuffer::buffer', which is of non-class type 'const int'
    >    auto r = buffer.Read();
    >                    ^
    > src/decoder/DecoderBuffer.hxx:88:27: error: could not convert '{<expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'ConstBuffer<void>'
    >    return { r.data, r.size };
    >                            ^
    > src/decoder/DecoderBuffer.hxx: In member function 'void DecoderBuffer::Consume(size_t)':
    > src/decoder/DecoderBuffer.hxx:105:10: error: request for member 'Consume' in '((DecoderBuffer*)this)->DecoderBuffer::buffer', which is of non-class type 'int'
    >    buffer.Consume(nbytes);
    >           ^
    
    This seems to be caused by a lacking include, fixed by the below patch.
    
    I'm unsure what made this appear now, though, compiler and toolchain
    libraries seem to be the same upstream versions that built 0.19.14-1
    just fine in late March.
    27d4b159
Name
Last commit
Last update
..
plugins Loading commit data...
DecoderAPI.cxx Loading commit data...
DecoderAPI.hxx Loading commit data...
DecoderBuffer.cxx Loading commit data...
DecoderBuffer.hxx Loading commit data...
DecoderCommand.hxx Loading commit data...
DecoderControl.cxx Loading commit data...
DecoderControl.hxx Loading commit data...
DecoderError.cxx Loading commit data...
DecoderError.hxx Loading commit data...
DecoderInternal.cxx Loading commit data...
DecoderInternal.hxx Loading commit data...
DecoderList.cxx Loading commit data...
DecoderList.hxx Loading commit data...
DecoderPlugin.cxx Loading commit data...
DecoderPlugin.hxx Loading commit data...
DecoderPrint.cxx Loading commit data...
DecoderPrint.hxx Loading commit data...
DecoderThread.cxx Loading commit data...
DecoderThread.hxx Loading commit data...