[petsc-dev] clang++ warning about C++ input with .c files

Lisandro Dalcin dalcinl at gmail.com
Wed Mar 9 13:59:54 CST 2016


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?


-- 
Lisandro Dalcin
============
Research Scientist
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/

4700 King Abdullah University of Science and Technology
al-Khawarizmi Bldg (Bldg 1), Office # 4332
Thuwal 23955-6900, Kingdom of Saudi Arabia
http://www.kaust.edu.sa

Office Phone: +966 12 808-0459



More information about the petsc-dev mailing list