<html><head></head><body>Yes, I ran into these issues with ICU on the latest fedora. I have a patch (which simply adds the ICU namespace where needed with the new version of ICU) in my local work area but wanted to test that it still works on older versions of ICU before I committed it. I'll try to commit it today regardless of whether or not I get a chance to test on older distros. Then we can add conditional build checks if needed in the future. <br><br><div class="gmail_quote">On November 28, 2018 10:28:37 AM MST, "refdoc@gmx.net" <refdoc@gmx.net> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I am, btw on Debian testing<br><br>Sent from my mobile. Please forgive shortness, typos and weird autocorrects.<div class="quote" style="line-height: 1.5"><br><br>-------- Original Message --------<br>Subject: [sword-devel] ICU related errors to compile<br>From: Peter von Kaehne <refdoc@crosswire.org><br>To: sword-devel <sword-devel@crosswire.org><br>CC: <br><br><br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Following a recent system update I can not compile Sword anymore. <br><br>I checked out a clean svn repo to ensure it is not something I had done<br>to my system. Here is the make log at the relevant part<br><br><br>In file included from ../src/mgr/swmgr.cpp:108:<br>../include/utf8transliterator.h:53:2: error: ‘UnicodeString’ does not<br>name a type<br> UnicodeString resource;<br> ^~~~~~~~~~~~~<br>../include/utf8transliterator.h:56:24: error: ISO C++ forbids<br>declaration of ‘type name’ with no type [-fpermissive]<br> typedef std::map<const unicodestring, swtransdata> SWTransMap;<br> ^~~~~~~~~~~~~<br>../include/utf8transliterator.h:56:50: error: wrong number of template<br>arguments (1, should be at least 2)<br> typedef std::map<const unicodestring, swtransdata> SWTransMap;<br> ^<br>In file included from /usr/include/c++/8/map:61,<br> from ../include/swmgr.h:60,<br> from ../src/mgr/swmgr.cpp:33:<br>/usr/include/c++/8/bits/stl_map.h:100:11: note: provided for<br>‘template<class _key, class _tp, _compare, _alloc> class<br>std::map’<br> class map<br> ^~~<br>In file included from ../src/mgr/swmgr.cpp:108:<br>../include/utf8transliterator.h:57:19: error: ‘UnicodeString’ was not<br>declared in this scope<br> typedef std::pair<unicodestring, swtransdata> SWTransPair;<br> ^~~~~~~~~~~~~<br>../include/utf8transliterator.h:57:19: note: suggested alternative:<br>In file included from ../include/utf8transliterator.h:41,<br> from ../src/mgr/swmgr.cpp:108:<br>/usr/include/unicode/unistr.h:289:20: note: ‘icu_63::UnicodeString’<br> class U_COMMON_API UnicodeString : public Replaceable<br> ^~~~~~~~~~~~~<br>In file included from ../src/mgr/swmgr.cpp:108:<br>../include/utf8transliterator.h:57:45: error: template argument 1 is<br>invalid<br> typedef std::pair<unicodestring, swtransdata> SWTransPair;<br> ^<br>../include/utf8transliterator.h:84:2: error: ‘Transliterator’ does not<br>name a type; did you mean ‘UTransliterator’?<br> Transliterator *createTrans(const UnicodeString& ID, UTransDirection<br>dir, UErrorCode &status);<br> ^~~~~~~~~~~~~~<br> UTransliterator<br>libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../incl<br><br><br>_______________________________________________<br>sword-devel mailing list: sword-devel@crosswire.org<br>http://www.crosswire.org/mailman/listinfo/sword-devel<br>Instructions to unsubscribe/change your settings at above page</unicodestring,></unicodestring,></class></const></const></blockquote></sword-devel@crosswire.org></refdoc@crosswire.org></div></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>