Changes in / [3c54a71:273ff10]
- Files:
-
- 2 edited
-
driver/cfa.cc (modified) (4 diffs)
-
src/main.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
driver/cfa.cc
r3c54a71 r273ff10 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Sep 14 23:02:59 201813 // Update Count : 2 7712 // Last Modified On : Tue Jan 15 20:56:03 2019 13 // Update Count : 280 14 14 // 15 15 … … 384 384 nargs += 1; 385 385 386 for ( int i = 0; i < nlibs; i += 1 ) { // copy non-user libraries after all user libraries 387 args[nargs] = libs[i]; 388 nargs += 1; 389 } // for 390 386 391 if ( link ) { 387 392 args[nargs] = "-Xlinker"; … … 414 419 nargs += 1; 415 420 args[nargs] = "-lrt"; 421 nargs += 1; 422 args[nargs] = "-lm"; 416 423 nargs += 1; 417 424 } // if … … 498 505 args[nargs] = ( *new string( string("-B") + Bprefix ) ).c_str(); 499 506 nargs += 1; 500 args[nargs] = "-lm";501 nargs += 1;502 507 } else { 503 508 cerr << argv[0] << " error, compiler \"" << compiler_name << "\" unsupported." << endl; 504 509 exit( EXIT_FAILURE ); 505 510 } // if 506 507 for ( int i = 0; i < nlibs; i += 1 ) { // copy non-user libraries after all user libraries508 args[nargs] = libs[i];509 nargs += 1;510 } // for511 511 512 512 args[nargs] = NULL; // terminate with NULL -
src/main.cc
r3c54a71 r273ff10 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 6 15:51:47201813 // Update Count : 49 812 // Last Modified On : Wed Dec 26 08:11:19 2018 13 // Update Count : 499 14 14 // 15 15 … … 371 371 } 372 372 } catch(const std::exception& e) { 373 std::cerr << "Un aught Exception \"" << e.what() << "\"\n";373 std::cerr << "Uncaught Exception \"" << e.what() << "\"\n"; 374 374 } 375 375 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.