Re: gcc4.1.0: error: object missing in reference to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Fabian,

Is m_cData a static member?

If not, then I don't think you can do a sizeof(SINOSEventLogBuffer::m_cData)
on that.

Try this instead:

m_uMaxEntrySize = sizeof(((SINOSEventLogBuffer*)NULL)->m_cData);

Or use this:

m_uMaxEntrySize = LOGGER_BUF_SIZE-LOGGER_HEADER_SIZE;

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux