Changes in src/driver/cfa.cc [1db21619:de62360d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/driver/cfa.cc
r1db21619 rde62360d 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T hu Jul 16 17:09:23 201513 // Update Count : 1 2412 // Last Modified On : Tue Jun 23 17:47:03 2015 13 // Update Count : 119 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 55 54 int posn1 = Version.find( "." ); // find the divider between major and minor version numbers 56 55 if ( posn1 == -1 ) { // not there ? … … 257 256 // add the correct set of flags based on the type of compile this is 258 257 259 args[nargs] = ( *new string( string("-D__CFA_ _=") + Major ) ).c_str();258 args[nargs] = ( *new string( string("-D__CFA_MAJOR__=") + Major ) ).c_str(); 260 259 nargs += 1; 261 260 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();264 261 nargs += 1; 265 262
Note:
See TracChangeset
for help on using the changeset viewer.