Skip to content

Error whlie cross-compiling #4

@vmchale

Description

@vmchale

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions