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

Fix build on darwin: stat structure #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kirelagin
Copy link
Contributor

@kirelagin kirelagin commented Jun 14, 2019

This change is Reviewable

Copy link
Owner

@nh2 nh2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get:

% stack test
hatrace-0.1.0.0: build (lib + exe + test)
Preprocessing library for hatrace-0.1.0.0..
/home/niklas/src/haskell/hatrace/Types.hsc:106:7: error: #elif with no expression
/home/niklas/src/haskell/hatrace/Types.hsc:127:7: error: #elif with no expression
Types.hsc: In function ‘main’:
/home/niklas/src/haskell/hatrace/Types.hsc:106:7: error: #elif with no expression
/home/niklas/src/haskell/hatrace/Types.hsc:127:7: error: #elif with no expression
/home/niklas/src/haskell/hatrace/Types.hsc:131:7: error: #elif with no expression
/home/niklas/src/haskell/hatrace/Types.hsc:152:7: error: #elif with no expression
compiling .stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/System/Hatrace/Types_hsc_make.c failed (exit code 1)

Should this be #else?

@kirelagin
Copy link
Contributor Author

Huh, weird that it worked. I force-pushed a change.

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

Successfully merging this pull request may close these issues.

2 participants