Skip to content

error: ‘data_block_padding_size’ undeclared in debug build #147

@bf

Description

@bf

Thanks for this awesome project.

When doing a debug build with ./configure --enable-static-executables=yes --enable-debug-output and make on a linux system, it complains about data_block_padding_size undeclared in libpff_data_block.c:698.

libpff_data_block.c: In function ‘libpff_data_block_read_file_io_handle’:
libpff_data_block.c:698:25: error: ‘data_block_padding_size’ undeclared (first use in this function); did you mean ‘data_block_data_size’?
  698 |                         data_block_padding_size = data_block_footer_offset - data_size;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
      |                         data_block_data_size
libpff_data_block.c:698:25: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:950: libpff_data_block.lo] Error 1

Just wanted to let you know even though this is very minor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions