g++: error: unrecognized command line option '-Wplacement-new'

时间:2017-06-04 23:52:15

标签: c++ gcc g++

Recently, I am trying to compile a project with a dependency package called "dealii", but I keep getting this error when compiling:

g++: error: unrecognized command line option '-Wplacement-new'

It seems that g++ does not recognize the option -Wplacement-new. Then I looked at the documentation for gcc, it says -Wplacement-new is a legal warning option flag. But when I invoke "gcc -Wplacement-new ./a.c" I still get this kind of error.

My g++, etc are the latest version. Does anyone know how to fix it? Thanks

0 个答案:

没有答案
相关问题