Add a few useful C++ specific warnings.

This commit is contained in:
Geenz 2015-03-31 23:09:09 -04:00
parent 6e52c31d59
commit faa1cf60c4
1 changed files with 4 additions and 0 deletions

View File

@ -885,6 +885,10 @@ cli_compile_cfile(void *arg)
args[idx++] = "-Wsign-compare";
args[idx++] = "-fPIC";
args[idx++] = "-g";
args[idx++] = "-Woverloaded-virtual";
args[idx++] = "-Wold-style-cast";
args[idx++] = "-Wnon-virtual-dtor";
args[idx++] = "-c";
args[idx++] = cf->fpath;