Changeset 1db21619 for src/driver
- Timestamp:
- Jul 16, 2015, 5:28:24 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 994ec2c
- Parents:
- 724c2b6
- Location:
- src/driver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/driver/cc1.cc
r724c2b6 r1db21619 10 10 // Created On : Fri Aug 26 14:23:51 2005 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat May 30 08:58:29201513 // Update Count : 5 112 // Last Modified On : Thu Jul 16 17:09:14 2015 13 // Update Count : 54 14 14 // 15 15 … … 319 319 uargs[0] = ( *new string( bprefix + "/cfa-cpp" ) ).c_str(); 320 320 321 uargs[nuargs] = "-p";322 nuargs += 1;323 324 321 uargs[nuargs] = tmpname; 325 322 nuargs += 1; -
src/driver/cfa.cc
r724c2b6 r1db21619 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T ue Jun 23 17:47:03 201513 // Update Count : 1 1912 // Last Modified On : Thu Jul 16 17:09:23 2015 13 // Update Count : 124 14 14 // 15 15 … … 52 52 string Version( VERSION ); // current version number from CONFIG 53 53 string Major( "0" ), Minor( "0" ), Patch( "0" ); // default version numbers 54 54 55 int posn1 = Version.find( "." ); // find the divider between major and minor version numbers 55 56 if ( posn1 == -1 ) { // not there ? … … 256 257 // add the correct set of flags based on the type of compile this is 257 258 258 args[nargs] = ( *new string( string("-D__CFA_ MAJOR__=") + Major ) ).c_str();259 args[nargs] = ( *new string( string("-D__CFA__=") + Major ) ).c_str(); 259 260 nargs += 1; 260 261 args[nargs] = ( *new string( string("-D__CFA_MINOR__=") + Minor ) ).c_str(); 262 nargs += 1; 263 args[nargs] = ( *new string( string("-D__CFA_PATCHLEVEL__=") + Patch ) ).c_str(); 261 264 nargs += 1; 262 265
Note: See TracChangeset
for help on using the changeset viewer.