Skip to content

missing obstack.h #21

@ShaharHD

Description

@ShaharHD

Trying to build on Mac (10.14.4) and keep getting short on obstack.h

I've modified the makefile to include one (from another mac ports) - but I'm now failing on this error:

Making all in util
  CC       obstack.lo
obstack.c:301:5: error: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Werror,-Wnull-pointer-arithmetic]
    __INT_TO_PTR ((__PTR_TO_INT (new_chunk->contents) + h->alignment_mask)

I can try and disable the warning, but is it safe?

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