<br><font size=2><tt>Hi,<br> <br> with boost 1.42.0 I have tried to cross-compile an application on a Kubuntu 9.04 for an ARM processor.<br> <br> The application is processing ini-files, so the file 'boost/property_tree/ptree.hpp' is included. During compilation I got the errors:<br> <br> ../../../boost/boost/property_tree/ptree_fwd.hpp:91: error: 'wstring' is not a member of 'std'<br> <br> ../../../boost/boost/property_tree/string_path.hpp:60: error: expected unqualified-id before '&' token<br> ../../../boost/boost/property_tree/string_path.hpp:60: error: expected ',' or '...' before '&' token<br> ../../../boost/boost/property_tree/string_path.hpp:60: error: ISO C++ forbids declaration of 'parameter' with no type<br> ../../../boost/boost/property_tree/string_path.hpp: In function 'std::string boost::property_tree::detail::dump_sequence(int)':<br> ../../../boost/boost/property_tree/string_path.hpp:62: error: 's' was not declared in this scope<br> <br> By looking in the 'hpp'-files referenced in the error message I found, that in 'boost/property_tree/ptree_fwd.hpp' a '#ifndef BOOST_NO_CWCHAR' is only used on line on line 109 for encapsulating wstring usage.<br> <br> Using this ifndef for encapsulating also the other erroneous lines, the error vanishes and everything is compiled.<br> <br> Is there a reason, why the ifndefs are not inserted at the other position? </tt></font> <br> <br> <br><font size=2><tt>Thanx for help</tt></font> <br><font size=2><tt><br> J�rgen Bl�mer<br> </tt></font>