Changeset 15267 for trunk


Ignore:
Timestamp:
04/06/13 13:01:45 (12 years ago)
Author:
tbretz
Message:
It seems there is a problem with the defines used by CINT in AcLiC and there seems to be a problem with NameMangling. Having GetRow overloaded does not seem to work. It needs a different name seen by root.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/fits.h

    r15085 r15267  
    2626#ifdef __CINT__
    2727#define off_t size_t
    28 #else
     28#endif
     29
     30#if !defined(__MARS__) && !defined(__CINT__)
    2931#include <unordered_map>
    3032#endif
     
    4648#endif
    4749
    48 #ifdef HAVE_ZLIB
     50#if defined(HAVE_ZLIB) || defined(__CINT__)
    4951#include "izstream.h"
    5052#else
     
    425427    Addresses fAddresses;
    426428
    427 #ifdef __MARS__
     429#if defined(__MARS__) || defined(__CINT__)
    428430    typedef map<string, void*> Pointers;
    429431#else
     
    638640    }
    639641
     642#if !defined(__MARS__) && !defined(__CINT__)
    640643    bool GetRow(size_t row, bool check=true)
     644#else
     645    bool GetRowNum(size_t row, bool check=true)
     646#endif
    641647    {
    642648        if (check && row>=fTable.num_rows)
     
    657663
    658664            // Let the compiler do some optimization by
    659             // knowing the we only have 1, 2, 4 and 8
     665            // knowing that we only have 1, 2, 4 and 8
    660666            switch (c.size)
    661667            {
     
    672678    bool GetNextRow(bool check=true)
    673679    {
     680#if !defined(__MARS__) && !defined(__CINT__)
    674681        return GetRow(fRow+1, check);
     682#else
     683        return GetRowNum(fRow+1, check);
     684#endif
    675685    }
    676686
Note: See TracChangeset for help on using the changeset viewer.