[petsc-dev] getting rid of clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated

Barry Smith barryfsmith at me.com
Thu Apr 3 17:10:39 CDT 2014


  Jed,

   Could gmakefile be modified with 

PETSC_COMPILE.cxx = $(call quiet,CXX) -c $(CXX_FLAGS) $(CFLAGS) $(CCPPFLAGS) $(CXX_DEPFLAGS) $(CXX_X_FLAG)

and 

CXX_X_FLAG set to -x c++   

by configure when it works to get rid of that damn clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 

message?

  Thanks

   Barry








More information about the petsc-dev mailing list