Ignore:
Timestamp:
01/13/16 14:06:32 (8 years ago)
Author:
mhnguyen
Message:

Correcting a bug on compilation with Intel whose version < 13.1

+) Use sizeof with type.

Test
+) On Curie
+) Compilation succeds with Intel: 12.1.9, 13.1.3 and version > 14

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/event_client.cpp

    r731 r814  
    88namespace xios 
    99{ 
    10    const size_t CEventClient::headerSize = sizeof(int) + sizeof(size_t) + sizeof(int) + sizeof(classId) + sizeof(typeId); 
     10   const size_t CEventClient::headerSize = sizeof(int) + sizeof(size_t) + sizeof(int) + sizeof(int) + sizeof(int); // The two last one signify sizeof(classId) and sizeof(typeId) 
     11 
    1112 
    1213   CEventClient::CEventClient(int classId_, int typeId_) 
Note: See TracChangeset for help on using the changeset viewer.