Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode/clang: clang: warning: argument unused during compilation: '-fcheck-new'

Tags:

As title:

I'm constantly getting this warning that flooded out my screen in Xcode4 for the -fcheck-new options that I use.

clang: warning: argument unused during compilation: '-fcheck-new' 

Is it that clang does not support this gcc compiler option??? How can I get rid of the warnings?

Thanks!

like image 264
kakyo Avatar asked Nov 05 '12 18:11

kakyo


1 Answers

This warning can be silenced by adding the flag -Qunused-arguments

It's a warning because clang does not support the -fcheck-new argument.

like image 60
Jason Oster Avatar answered Sep 20 '22 11:09

Jason Oster