Changeset 1329 in Sophya for trunk/SophyaProg/PrgUtil


Ignore:
Timestamp:
Nov 14, 2000, 12:02:51 PM (25 years ago)
Author:
ansari
Message:

Correction erreur protection Ret. Code , Reza 14/11/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/PrgUtil/runcxx.cc

    r1306 r1329  
    122122    string oname, soname;
    123123    if (rc == 0) {
    124 
    125124      CxxCompilerLinker cxx;
    126125      if (fgtmp) cxx.SetTmpDir(tmpdir);
     
    131130      rc = cxx.Compile(flnm, oname);
    132131      cout << " RC from cxx.Compile() = " << rc << " oname= " << oname << endl;
    133       rc = cxx.BuildSO(oname, soname);
    134       cout << " RC from cxx.BuildSO() = " << rc << " soname= " << soname << endl;
     132      if (rc == 0) {
     133        rc = cxx.BuildSO(oname, soname);
     134        cout << " RC from cxx.BuildSO() = " << rc << " soname= " << soname << endl;
     135      }
    135136      PrtTim(" End of Compile-Link ");
    136137    }
Note: See TracChangeset for help on using the changeset viewer.