On Wed, 9 Mar 2016, Lisandro Dalcin wrote:

> clang: warning: treating 'c' input as 'c++' when in C++ mode, this
> behavior is deprecated
> 
> These warnings can be silenced passing the flag "-x c++" to the compiler.
> 
> Any downsides to consider?

I think it will treat even '.o' as c++ source - so one has to be careful with 
using it..

i.e could be used perhaps via CXXCPPFLAGS - but not CFLAGS

Satish

Reply via email to