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

One more error with macos and time.h #274

Open
alicerum opened this issue Feb 9, 2022 · 2 comments
Open

One more error with macos and time.h #274

alicerum opened this issue Feb 9, 2022 · 2 comments

Comments

@alicerum
Copy link

alicerum commented Feb 9, 2022

While attempting to depend on the ncurses package, build fails with:

Configuring ncurses-0.2.16...
Preprocessing library for ncurses-0.2.16..
c2hs: C header contains errors:

/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/time.h:198: (column 23) [ERROR]  >>> Syntax error !
  The symbol `(' does not fit here.

time.h on line 198 looks like this:

__API_AVAILABLE(macosx(10.15), ios(13.0), tvos(13.0), watchos(6.0))

I haven't yet found the workaround that would work.

@alicerum alicerum changed the title One more error with macos One more error with macos and time.h Feb 9, 2022
@SkinyMonkey
Copy link

Same problem here. Could anyone point us to a fix/hint/issue please?

@SkinyMonkey
Copy link

Really dirty workaround : remove that line, build and put it back...

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

2 participants