Skip to content

compilation fails #77

@pdimens

Description

@pdimens

I am unable to compile the software from source with this error:

src/buffer_file_wrapper.c: In function ‘getBX’:
src/buffer_file_wrapper.c:94:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
   94 |                 res = res*5 + nt4_table[(*ptr)[0]];
      |                                         ~~~~~~^~~
src/buffer_file_wrapper.c: In function ‘check_data’:
src/buffer_file_wrapper.c:122:31: error: passing argument 1 of ‘skipBXZ’ from incompatible pointer type [-Wincompatible-pointer-types]
  122 |                 sz -= skipBXZ(&ptr);
      |                               ^~~~
      |                               |
      |                               const void **
compilation terminated due to -Wfatal-errors.
make: *** [<builtin>: src/buffer_file_wrapper.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions