Skip to content

Cannot compile on Haiku OS with gcc 7 #29

@stro

Description

@stro

gcc -c -fwrapv -fno-strict-aliasing -pipe -D_FORTIFY_SOURCE=2 -O -DVERSION="1.221" -DXS_VERSION="1.221" -fpic "-I/packages/perl-5.26.1-2/.self/lib/perl5/5.26.1/x86_64-haiku/CORE" -D_STDIR="/tmp" -D__haiku__ -D_DEFAULT_UMASK=0007 UUID.c
In file included from UUID.xs:8:0:
/boot/system/develop/headers/os/kernel/OS.h:349:8: error: unknown type name 'bool'
extern bool has_data(thread_id thread);
^~~~
/boot/system/develop/headers/os/kernel/OS.h:425:2: error: unknown type name 'bool'
bool enabled;
^~~~
In file included from UUID.xs:2:0:
UUID.xs: In function 'MD5Init':

The problem appears because UUID.xs explicitly undefines bool for HAIKU. The patch is incoming.

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