Changeset 933f32f for driver/cfa.cc
- Timestamp:
- May 24, 2019, 10:19:41 AM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- d908563
- Parents:
- 6a9d4b4 (diff), 292642a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
driver/cfa.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
driver/cfa.cc
r6a9d4b4 r933f32f 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jan 15 20:56:03201913 // Update Count : 28 012 // Last Modified On : Sun Feb 10 08:28:09 2019 13 // Update Count : 281 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 help = false; // -help 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 112 113 bool CFA_flag = false; // -CFA flag 113 114 bool cpp_flag = false; // -E or -M flag, preprocessor only … … 162 163 debug = true; // strip the debug flag 163 164 } else if ( arg == "-nodebug" ) { 164 debug = false; // strip the nodebug flag 165 debug = false; // strip the debug flag 166 } else if ( arg == "-nolib" ) { 167 nolib = true; // strip the nodebug flag 165 168 } else if ( arg == "-quiet" ) { 166 169 quiet = true; // strip the quiet flag … … 366 369 } // if 367 370 } // if 368 const char * config = debug ? "debug": "nodebug";371 const char * config = nolib ? "nolib" : (debug ? "debug": "nodebug"); 369 372 string libdir = libbase + arch + "-" + config; 370 373 371 if ( ! dirExists( libdir ) ) {374 if ( ! nolib && ! dirExists( libdir ) ) { 372 375 cerr << argv[0] << " internal error, configuration " << config << " not installed." << endl; 373 376 cerr << "Was looking for " << libdir << endl; … … 495 498 args[nargs] = "-Wno-deprecated"; 496 499 nargs += 1; 500 #ifdef HAVE_CAST_FUNCTION_TYPE 501 args[nargs] = "-Wno-cast-function-type"; 502 nargs += 1; 503 #endif // HAVE_CAST_FUNCTION_TYPE 497 504 if ( ! std_flag ) { // default c11, if none specified 498 505 args[nargs] = "-std=gnu11";
Note:
See TracChangeset
for help on using the changeset viewer.