Changes in driver/cfa.cc [c9e640e:def9d4e]
- File:
-
- 1 edited
-
driver/cfa.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
driver/cfa.cc
rc9e640e rdef9d4e 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Feb 10 08:28:09201913 // Update Count : 28 112 // Last Modified On : Tue Jan 15 20:56:03 2019 13 // Update Count : 280 14 14 // 15 15 … … 107 107 bool link = true; // linking as well as compiling 108 108 bool verbose = false; // -v flag 109 bool quiet = false; // -quiet flag 110 bool debug = true; // -debug flag 111 bool nolib = false; // -nolib flag 112 bool help = false; // -help flag 109 bool quiet = false; // -quiet flag 110 bool debug = true; // -debug flag 111 bool help = false; // -help flag 113 112 bool CFA_flag = false; // -CFA flag 114 113 bool cpp_flag = false; // -E or -M flag, preprocessor only … … 163 162 debug = true; // strip the debug flag 164 163 } else if ( arg == "-nodebug" ) { 165 debug = false; // strip the debug flag 166 } else if ( arg == "-nolib" ) { 167 nolib = true; // strip the nodebug flag 164 debug = false; // strip the nodebug flag 168 165 } else if ( arg == "-quiet" ) { 169 166 quiet = true; // strip the quiet flag … … 369 366 } // if 370 367 } // if 371 const char * config = nolib ? "nolib" : (debug ? "debug": "nodebug");368 const char * config = debug ? "debug": "nodebug"; 372 369 string libdir = libbase + arch + "-" + config; 373 370 374 if ( ! nolib && !dirExists( libdir ) ) {371 if ( ! dirExists( libdir ) ) { 375 372 cerr << argv[0] << " internal error, configuration " << config << " not installed." << endl; 376 373 cerr << "Was looking for " << libdir << endl; … … 498 495 args[nargs] = "-Wno-deprecated"; 499 496 nargs += 1; 500 #ifdef HAVE_CAST_FUNCTION_TYPE501 args[nargs] = "-Wno-cast-function-type";502 nargs += 1;503 #endif // HAVE_CAST_FUNCTION_TYPE504 497 if ( ! std_flag ) { // default c11, if none specified 505 498 args[nargs] = "-std=gnu11";
Note:
See TracChangeset
for help on using the changeset viewer.