Changeset 578 in Sophya for trunk/SophyaLib
- Timestamp:
- Nov 16, 1999, 2:24:45 PM (26 years ago)
- Location:
- trunk/SophyaLib/BaseTools
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/peidainit.cc
r285 r578 7 7 #include "peidainit.h" 8 8 #include "ndatablock.h" 9 #include "sversion.h" 9 10 10 11 // --- Classe d'initialisation de PEIDA++, (PPersistMgr en particulier) … … 51 52 52 53 // si var env PEIDA_NOPRTVER definie pas de print 53 if(!getenv(" PEIDA_NOPRTVER")) PrintPeidaVersion();54 if(!getenv("SOPHYA_NOPRTVER")) PrintPeidaVersion(); 54 55 } 55 56 … … 68 69 double PeidaInitiator::Version(bool fgprt) 69 70 { 70 if (fgprt) PrintPeidaVersion(); 71 return(PeidaVersion()); 71 if (fgprt) { 72 char* compiler; 73 #ifdef __GNUG__ 74 compiler = "gcc " __VERSION__; 75 #endif 76 #ifdef __DECCXX 77 compiler = "cxx " ; 78 #endif 79 #ifdef __aCC__ 80 compiler = const_cast<char *>("HP-aCC ") ; 81 #endif 82 #ifdef __KCC__ 83 compiler = const_cast<char *>("KCC ") ; 84 #endif 85 #ifdef __SGICC__ 86 compiler = const_cast<char *>("SGI-CC ") ; 87 #endif 88 fprintf(stderr,"SOPHYA Version %4.1f Revision %d (%s) -- %s %s %s\n", 89 SOPHYA_VERSION, SOPHYA_REVISION, SOPHYA_TAG, 90 __DATE__, __TIME__, compiler); 91 } 92 return(SOPHYA_VERSION + (SOPHYA_REVISION/1000.)); 72 93 } 73 94
Note:
See TracChangeset
for help on using the changeset viewer.