using offsetof macro with C++ classes
Brought to you by:
achimgaedke,
pipenb
The 1.0.0 release includes a testread and testwite
program. I noticed that the C++ examples use sample.cpp
and sample.h but xmlinput.h uses offsetof macro that
does not work with classes offsetof only works with C.
My knowledge of your code is limited and I am unable to
provide a patch. From what I have read on line offsetof
needs to be changed to pointer references instead on
order to be compatible with C++.
Juan Frias
juan.frias@earthlink.net