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

fail and warnings for build configurations #393

Closed
bos opened this issue May 24, 2012 · 1 comment
Closed

fail and warnings for build configurations #393

bos opened this issue May 24, 2012 · 1 comment

Comments

@bos
Copy link
Contributor

bos commented May 24, 2012

(Imported from Trac #400, reported by @dcoutts on 2008-11-08)

People expect buildable: False to fail the current configuration (rather than letting it configure and then not working at build time). But perhaps we should make that more explicit and allow a message, eg instead of:

if os(windows)
  buildable: False
allow
if os(windows)
  fail: it doesn't work on windows because, blah blah blah
And similarly we might want to warn users about selecting particular configurations eg:
if flag(http)
  ...
else
  warn: no http implementation selected, only local
        operations will be possible. You probably really
        want some http implementation.
The semantics roughly is that it's a workable but sub-optimal configuration.

The solver should try to avoid warnings, by selecting another alternative.

@grayjay
Copy link
Collaborator

grayjay commented Feb 12, 2018

Closing in favor of #3072, which has more comments.

@grayjay grayjay closed this as completed Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants