Changes in driver/cc1.cc [6da81c7:bf5eeb2]
- File:
-
- 1 edited
-
driver/cc1.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
driver/cc1.cc
r6da81c7 rbf5eeb2 10 10 // Created On : Fri Aug 26 14:23:51 2005 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jun 1 23:07:21202113 // Update Count : 41 512 // Last Modified On : Wed Jul 21 09:46:24 2021 13 // Update Count : 419 14 14 // 15 15 … … 372 372 if ( prefix( arg, "-fdiagnostics-color=" ) ) { 373 373 string choice = arg.substr(20); 374 if(choice == "always") color_arg = Color_Always;375 else if (choice == "never" ) color_arg = Color_Never;376 else if (choice == "auto") color_arg = Color_Auto;374 if ( choice == "always" ) color_arg = Color_Always; 375 else if ( choice == "never" ) color_arg = Color_Never; 376 else if ( choice == "auto" ) color_arg = Color_Auto; 377 377 } else if ( arg == "-fno-diagnostics-color" ) { 378 378 color_arg = Color_Auto; … … 587 587 Stage2( argc, argv ); 588 588 } else { 589 cerr << "Usage: " << argv[0] << " input-file [output-file] [options]" << endl;589 cerr << "Usage: " << argv[0] << " [-E input-file [output-file] ] | [-fpreprocessed input-file output-file] [options]" << endl; 590 590 exit( EXIT_FAILURE ); 591 591 } // if
Note:
See TracChangeset
for help on using the changeset viewer.