Skip to content

Fix build on darwin: stat structure - #26

Open
kirelagin wants to merge 1 commit into
nh2:masterfrom
kirelagin:darwin-stat
Open

Fix build on darwin: stat structure#26
kirelagin wants to merge 1 commit into
nh2:masterfrom
kirelagin:darwin-stat

Conversation

@kirelagin

@kirelagin kirelagin commented Jun 14, 2019

Copy link
Copy Markdown
Contributor

This change is Reviewable

@nh2 nh2 left a comment

Copy link
Copy Markdown
Owner

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
Copy Markdown
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