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

Error whlie cross-compiling #4

Open
vmchale opened this issue Dec 17, 2018 · 0 comments
Open

Error whlie cross-compiling #4

vmchale opened this issue Dec 17, 2018 · 0 comments

Comments

@vmchale
Copy link

vmchale commented Dec 17, 2018

I run into the following error when cross-compiling:

Configuring haskell-qrencode-1.0.4...
Preprocessing library for haskell-qrencode-1.0.4..
QRCode.hsc:64:0: warning: "hsc_alignment" redefined
In file included from dist/build/Data/QRCode_hsc_test0.c:1:0:
/home/vanessa/.cabal/store/ghc-8.6.3/hsc2hs-0.68.4-9dff195463b493c2fd0f0b6a0057382c935e5ff27a2a135b2de471c22d7eba65/share/template-hsc.h:91:0: note: this is the location of the previous definition
 #define hsc_alignment(x...)                                           \
 
src/Data/QRCode.hsc:64 directive let cannot be handled in cross-compilation mode

I'm not sure how feasible it is to remove such code, but it would be appreciated if it can be done :)

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