I am, btw on Debian testing

Sent from my mobile. Please forgive shortness, typos and weird autocorrects.


-------- Original Message --------
Subject: [sword-devel] ICU related errors to compile
From: Peter von Kaehne
To: sword-devel
CC:


Following a recent system update I can not compile Sword anymore.

I checked out a clean svn repo to ensure it is not something I had done
to my system. Here is the make log at the relevant part


In file included from ../src/mgr/swmgr.cpp:108:
../include/utf8transliterator.h:53:2: error: ‘UnicodeString’ does not
name a type
UnicodeString resource;
^~~~~~~~~~~~~
../include/utf8transliterator.h:56:24: error: ISO C++ forbids
declaration of ‘type name’ with no type [-fpermissive]
typedef std::map SWTransMap;
^~~~~~~~~~~~~
../include/utf8transliterator.h:56:50: error: wrong number of template
arguments (1, should be at least 2)
typedef std::map SWTransMap;
^
In file included from /usr/include/c++/8/map:61,
from ../include/swmgr.h:60,
from ../src/mgr/swmgr.cpp:33:
/usr/include/c++/8/bits/stl_map.h:100:11: note: provided for
‘template class
std::map’
class map
^~~
In file included from ../src/mgr/swmgr.cpp:108:
../include/utf8transliterator.h:57:19: error: ‘UnicodeString’ was not
declared in this scope
typedef std::pair SWTransPair;
^~~~~~~~~~~~~
../include/utf8transliterator.h:57:19: note: suggested alternative:
In file included from ../include/utf8transliterator.h:41,
from ../src/mgr/swmgr.cpp:108:
/usr/include/unicode/unistr.h:289:20: note: ‘icu_63::UnicodeString’
class U_COMMON_API UnicodeString : public Replaceable
^~~~~~~~~~~~~
In file included from ../src/mgr/swmgr.cpp:108:
../include/utf8transliterator.h:57:45: error: template argument 1 is
invalid
typedef std::pair SWTransPair;
^
../include/utf8transliterator.h:84:2: error: ‘Transliterator’ does not
name a type; did you mean ‘UTransliterator’?
Transliterator *createTrans(const UnicodeString& ID, UTransDirection
dir, UErrorCode &status);
^~~~~~~~~~~~~~
UTransliterator
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../incl


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to