This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Mismatch between 'C' and 'C++' structures


I am currently working on an i960 port of ECOS.  When I build ECOS with
Asserts enabled, I get the following message when I run the code:

   Size of C struct (cyg_mempool_var) != 
               Size of C++ struct (Cyg_Mempool_Variable)

   sizeof(cyg_mempool_var) = 0x30
   sizeof(Cyg_Mempool_Variable) = 0x40

Does anyone know how to resolve this?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]