[swift-dev] clang: warning: argument unused during compilation: '-MMD'

Jacob Bandes-Storch jtbandes at gmail.com
Fri Jul 29 20:36:11 CDT 2016


  -MMD                    Write a depfile containing user headers

On Fri, Jul 29, 2016 at 6:14 PM, Ted kremenek via swift-dev <
swift-dev at swift.org> wrote:

>  -Wno-unused-variable would drop warnings about variables in *code* that
> are not used.  This is about a driver option that is not being used.  We
> should just not pass that driver option.  I don't recall offhand what it
> does (or intends to).
>
> > On Jul 29, 2016, at 11:32 AM, Dave Abrahams via swift-dev <
> swift-dev at swift.org> wrote:
> >
> >
> > I'm seeing this warning a lot recently.  Can we
> >
> > a) drop that argument
> > b) add -Wno-unused-variable to the clang command line, or
> > c) is there a better fix?
> >
> > --
> > Dave
> >
> > _______________________________________________
> > swift-dev mailing list
> > swift-dev at swift.org
> > https://lists.swift.org/mailman/listinfo/swift-dev
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160729/70a5af1b/attachment.html>


More information about the swift-dev mailing list