Skip to content

Warning: implicit declaration of function 'set_region_range' is invalid in C99 #15

Description

@sam-ellis

When compiling oink on Mac OS X using Apple LLVM version 8.0.0 (clang-800.0.38) the following warning is seen:

gcc -c -o regions.o -I.. -iquote  -DNMEMDEBUG -DSIZEOF_VOIDP=4 -Wall -g -O2 regions.c
In file included from regions.c:288:
../libregion/pages.c:270:3: warning: implicit declaration of function 'set_region_range' is invalid in C99 [-Wimplicit-function-declaration]
  set_region_range(newp, (char *)newp + request_bytes, FREEPAGE);
  ^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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