incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Giffuni <...@apache.org>
Subject Re: Issuew building with prepackaged stuff (was Re: Problem building main/sal/cppunittester)
Date Sat, 05 Nov 2011 02:56:53 GMT

--- 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
> 

Mime
View raw message