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

Ted kremenek kremenek at apple.com
Fri Jul 29 20:14:32 CDT 2016


 -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


More information about the swift-dev mailing list