Skip to content

Compilation error: implicit declaration of function 'pread64' #18

@dschepler

Description

@dschepler

On trying to build the package on my current (amd64 Linux) system, the compilation fails with:

../../../src/chm_lib.c: In function '_chm_fetch_bytes':
../../../src/chm_lib.c:727:15: error: implicit declaration of function 'pread64'; did you mean 'pread'? [-Wimplicit-function-declaration]
  727 |     readLen = pread64(h->fd, buf, (long)len, os);
      |               ^~~~~~~
      |               pread

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