Skip to content

Windows installation, ambiguous occurrence ‘wM_SETICON’ #374

@new-user-name

Description

@new-user-name

Windows 11, not WSL2, plain Windows installation from terminal.

src\Language\Haskell\Ghcid\Terminal.hs:66:21: error:
    Ambiguous occurrence ‘wM_SETICON’
    It could refer to
       either ‘Graphics.Win32.Message.wM_SETICON’,
              imported from ‘Graphics.Win32.Message’ at src\Language\Haskell\Ghcid\Terminal.hs:16:1-29
           or ‘Language.Haskell.Ghcid.Terminal.wM_SETICON’,
              defined at src\Language\Haskell\Ghcid\Terminal.hs:21:1
   |
66 |     sendMessage wnd wM_SETICON iCON_SMALL $ fromIntegral $ castPtrToUINTPtr icon
   |                     ^^^^^^^^^^

src\Language\Haskell\Ghcid\Terminal.hs:66:32: error:
    Ambiguous occurrence ‘iCON_SMALL’
    It could refer to
       either ‘Graphics.Win32.Message.iCON_SMALL’,
              imported from ‘Graphics.Win32.Message’ at src\Language\Haskell\Ghcid\Terminal.hs:16:1-29
           or ‘Language.Haskell.Ghcid.Terminal.iCON_SMALL’,
              defined at src\Language\Haskell\Ghcid\Terminal.hs:25:1
   |
66 |     sendMessage wnd wM_SETICON iCON_SMALL $ fromIntegral $ castPtrToUINTPtr icon
   |                                ^^^^^^^^^^

and so on. I know Windows and Haskell are enemies, but for some reason I need this build not under/against WSL2.

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