Changeset 17749 for trunk/Mars/mcore


Ignore:
Timestamp:
05/01/14 17:31:45 (11 years ago)
Author:
tbretz
Message:
Give CINT a hint about the size of the structures.
File:
1 edited

Legend:

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

    r17297 r17749  
    3333
    3434#ifdef __CINT__
    35     struct TileHeader;
    36     struct BlockHeader;
     35    // CINT doesn't like the packed attribute...
     36    // Therefore we give another hint of the size of the structure
     37    struct TileHeader  { char dummy[16]; };
     38    struct BlockHeader { char dummy[10]; };
    3739#else
    3840    //Structure helper for tiles headers
     
    7880            : header(0, order, seq.size()), sequence(seq)
    7981        {
    80 
    8182        }
    8283
Note: See TracChangeset for help on using the changeset viewer.