Changes in src/driver/cfa.cc [de62360d:1db21619]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/driver/cfa.cc
rde62360d 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.