Menu

#1 using offsetof macro with C++ classes

open
nobody
None
5
2004-08-03
2004-08-03
Anonymous
No

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

Discussion


Log in to post a comment.