Changeset 893256d for src/driver/cfa.cc
- Timestamp:
- Jul 20, 2015, 2:29:52 PM (10 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, with_gc
- Children:
- 18997b9
- Parents:
- 2794fff (diff), 994ec2c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/driver/cfa.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/driver/cfa.cc
r2794fff r893256d 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.