[cfe-dev] -fcheck-new not supported by LLVM/clang

Eli Friedman eli.friedman at gmail.com
Tue Nov 6 13:43:00 PST 2012

On Tue, Nov 6, 2012 at 1:22 PM, Beinan Li <li.beinan at gmail.com> wrote:
> Hello LLVM/Clang,
> With Xcode4.5, llvm/clang:
> Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
> Target: x86_64-apple-darwin12.2.0
> Thread model: posix
> we use -fcheck-new in our compiler settings which has been triggering this
> clang warning:
>> clang: warning: argument unused during compilation: '-fcheck-new'
> We wonder if this gcc setting is not supported by clang.

It is not supported; "argument unused during compilation" is the
generic "I don't know what you're asking for, so I'm ignoring it":


More information about the cfe-dev mailing list