Changeset 5a43ab8
- Timestamp:
- Aug 26, 2019, 9:46:08 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 417a630
- Parents:
- 330d933
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
driver/cc1.cc
r330d933 r5a43ab8 10 10 // Created On : Fri Aug 26 14:23:51 2005 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Aug 23 15:06:27201913 // Update Count : 37 112 // Last Modified On : Mon Aug 26 07:52:19 2019 13 // Update Count : 374 14 14 // 15 15 … … 291 291 292 292 execvp( args[0], (char * const *)args ); // should not return 293 perror( "CC1 Translator error: stage 1, execvp" ); 293 perror( "CC1 Translator error: stage 1 cpp, execvp" ); 294 cerr << " invoked " << args[0] << endl; 294 295 exit( EXIT_FAILURE ); 295 296 } // if … … 428 429 if ( fork() == 0 ) { // child runs CFA 429 430 cargs[0] = ( *new string( installlibdir + "cfa-cpp" ) ).c_str(); 430 431 431 cargs[ncargs++] = cpp_in; 432 432 … … 438 438 cargs[ncargs++] = cfa_cpp_out.c_str(); 439 439 } // if 440 cargs[ncargs] = nullptr; 440 cargs[ncargs] = nullptr; // terminate argument list 441 441 442 442 #ifdef __DEBUG_H__ … … 448 448 449 449 execvp( cargs[0], (char * const *)cargs ); // should not return 450 perror( "CC1 Translator error: stage 2, execvp" ); 450 perror( "CC1 Translator error: stage 2 cfa-cpp, execvp" ); 451 cerr << " invoked " << cargs[0] << endl; 451 452 exit( EXIT_FAILURE ); 452 453 } // if … … 500 501 501 502 execvp( args[0], (char * const *)args ); // should not return 502 perror( "CC1 Translator error: stage 2, execvp" ); 503 perror( "CC1 Translator error: stage 2 cc1, execvp" ); 504 cerr << " invoked " << cargs[0] << endl; 503 505 exit( EXIT_FAILURE ); // tell gcc not to go any further 504 506 } // if
Note: See TracChangeset
for help on using the changeset viewer.