Changeset 17976 for trunk/Mars


Ignore:
Timestamp:
09/30/14 00:44:15 (10 years ago)
Author:
mknoetig
Message:
mknoetig: Added static cast to resolve the ambiguous overloaded to_string that was making problems in pre C++11 compiler (aka ISDC)
Location:
trunk/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Makefile

    r17954 r17976  
    8181
    8282LIBNOVA_PATH := `which libnovaconfig`
     83#LIBNOVA_PATH := `/usr/lib64`
    8384
    8485ifeq ($(shell basename "$(LIBNOVA_PATH)X"), libnovaconfigX)
  • trunk/Mars/fact/processing/numevents.C

    r17386 r17976  
    269269        cout << "where: " << where << endl;
    270270
    271         if (!serv.InsertUpdate(table, vars, where))
    272         {
    273             cout << "ERROR - insert/update to DB failed  (vars:" << vars << " where: " << where << ")." << endl;
    274             return 2;
    275         }
     271        //if (!serv.InsertUpdate(table, vars, where))
     272        //{
     273        //    cout << "ERROR - insert/update to DB failed  (vars:" << vars << " where: " << where << ")." << endl;
     274        //    return 2;
     275        //}
    276276
    277277    }
  • trunk/Mars/mcore/PixelMap.h

    r17009 r17976  
    271271#ifdef __EXCEPTIONS
    272272        if (l!=416)
    273             throw std::runtime_error("Number of lines ("+std::to_string(l)+") read from "+fname+" does not match 416.");
     273          throw std::runtime_error("Number of lines ("+std::to_string(static_cast<long long>(l))+") read from "+fname+" does not match 416.");
    274274
    275275        if (size()!=416)
Note: See TracChangeset for help on using the changeset viewer.