exercism / exercism/support

Clang Warning after running 'stack test' on macOS

Open
#53 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I get the following warning every time I run 'stack test':

[2 of 2] Compiling Paths_leap
Linking .stack-work/dist/x86_64-osx/Cabal-2.2.0.1/build/test/test ...
clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]

The test runs fine after compiling is complete, but I'd like to know what is causing the warning to occur.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the warning with `stack test` on macOS and inspect the build configuration that supplies the `-nopie` argument. The issue is done when the source of the argument and the reason Clang reports it as unused are documented, with the test command still completing successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, macos
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.