--- On Fri, 11/4/11, Ariel Constenla-Haile wrote: ... > /usr/ports/editors/openoffice.org-3-devel/work/ooo/main/unoxml/source/dom/node.cxx:28: > > /usr/local/include/iconv.h:114: error: 'mbstate_t' > does not name a type > > ... > > _____ > > > > but I already know how to fix those :). > > how are you fixing them? Looks like a system header issue, > not OOo problem... >
The problem is only caused when the libxml/tree.h is included, so this seems to work: +#include <cwchar> // for std::mbstate_t #include <libxml/tree.h> What is really weird is that this is specific to OpenOffice, it doesn't happen in other ports, including LibreOffice. Pedro. > Regards > -- > Ariel Constenla-Haile > La Plata, Argentina >