Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile on Haiku OS with gcc 7 #29

Open
stro opened this issue Aug 21, 2018 · 1 comment
Open

Cannot compile on Haiku OS with gcc 7 #29

stro opened this issue Aug 21, 2018 · 1 comment

Comments

@stro
Copy link

stro commented Aug 21, 2018

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.

stro pushed a commit to stro/Data-UUID that referenced this issue Aug 21, 2018
@stro
Copy link
Author

stro commented Aug 21, 2018

#30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant