Changes in src/driver/cfa.cc [de62360d:6e7e2b36]
- File:
-
- 1 edited
-
src/driver/cfa.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/driver/cfa.cc
rde62360d r6e7e2b36 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jun 23 17:47:03201513 // Update Count : 11 912 // Last Modified On : Sat May 30 10:15:00 2015 13 // Update Count : 116 14 14 // 15 15 … … 85 85 bool CFA_flag = false; // -CFA flag 86 86 bool cpp_flag = false; // -E or -M flag, preprocessor only 87 bool std_flag = false; // -std= flag88 87 bool debugging = false; // -g flag 89 88 … … 153 152 } // if 154 153 155 // C specific arguments154 // C++ specific arguments 156 155 157 156 } else if ( arg == "-v" ) { … … 161 160 } else if ( arg == "-g" ) { 162 161 debugging = true; // symbolic debugging required 163 args[nargs] = argv[i]; // pass the argument along164 nargs += 1;165 } else if ( prefix( arg, "-std=" ) ) {166 std_flag = true; // std=XX provided167 162 args[nargs] = argv[i]; // pass the argument along 168 163 nargs += 1; … … 301 296 args[nargs] = "-Wno-deprecated"; 302 297 nargs += 1; 303 if ( ! std_flag ) { // default c99, if none specified 304 args[nargs] = "-std=c99"; 305 nargs += 1; 306 } // if 298 args[nargs] = "-std=c99"; 299 nargs += 1; 307 300 args[nargs] = ( *new string( string("-B") + Bprefix + "/" ) ).c_str(); 308 301 nargs += 1;
Note:
See TracChangeset
for help on using the changeset viewer.