Re: [Firebird-devel] Firebird 3.0.3 build on Fedora rawhide icu 60.2
On 02/21/18 13:46, Philippe Makowski wrote: Hi, firebird-3.0.3.32900 doesn't build on Fedora rawhide with icu 60.2 Any idea on how to fix it ? error: 'char16_t' does not name a type; did you mean 'charset'? error: 'UChar' does not name a type; did you mean 'UChar32'? This should help: https://github.com/FirebirdSQL/firebird/commit/a4cb621bf55ef2101e22b1e7da5c458a1e0cc2ab -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Firebird 3.0.3 build on Fedora rawhide icu 60.2
Philippe, > firebird-3.0.3.32900 doesn't build on Fedora rawhide with icu 60.2 > > Any idea on how to fix it ? > > error: 'char16_t' does not name a type; did you mean 'charset'? > error: 'UChar' does not name a type; did you mean 'UChar32'? > > etc.. > > Log: > > https://paste.fedoraproject.org/paste/o4g95lyp3QPMWO80NfwM3A > Saw this on the icu support list.. re. the following // The error is: aCC -DU_ATTRIBUTE_DEPRECATED= -D_REENTRANT -D_THREAD_SAFE -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=0 -DU_HAVE_STRTOD_L=0 -I../common +O2 +Ofltacc +DD64 -mt -AA -Wc,-ansi_for_scope,on +W740 +W749 +W823 +W4232 -c +Z -o stubdata.o stubdata.cpp "../common/unicode/umachine.h", line 347: error #2020: identifier "char16_t" is undefined typedef char16_t UChar; // my steps: cd xx/icu602_hpia64/source chmod +x runConfigureICU configure install-sh ./runConfigureICU HP-UX/ACC -with-library-bits=64 gmake // got error here. The response... As of version 59, ICU4C now uses and requires C++11 language features and libraries. According to http://en.cppreference.com/w/cpp/compiler_support , the aCC compiler doesn't fully support C++11 yet. However, it looks like it does support the new character types (char16_t and char32_t), but you don't get C++11 support by default though. According to the manual ( https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c04221956) for the aCC compiler, you need to use a command line switch to enable the C++11 support. >From the manual: +std=c++11This option turns on support for several core language features introduced by the ISO C++11 language standard. Can you try adding this option, and see if it works? Regards Paul -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Firebird 3.0.3 build on Fedora rawhide icu 60.2
On Wed, Feb 21, 2018 at 11:46:57AM +0100, Philippe Makowski wrote: > > firebird-3.0.3.32900 doesn't build on Fedora rawhide with icu 60.2 > > Any idea on how to fix it ? > > error: 'char16_t' does not name a type; did you mean 'charset'? > error: 'UChar' does not name a type; did you mean 'UChar32'? I have seen similar errors when building Firebird 2.5 with ICU 59 as it requires (at least) C+11. However, Firebird 3.0 should use C++11 by default, IIRC. > https://paste.fedoraproject.org/paste/o4g95lyp3QPMWO80NfwM3A No -std=c++11 here, though. Did you override build options? Michal Kubecek -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
[Firebird-devel] Firebird 3.0.3 build on Fedora rawhide icu 60.2
Hi, firebird-3.0.3.32900 doesn't build on Fedora rawhide with icu 60.2 Any idea on how to fix it ? error: 'char16_t' does not name a type; did you mean 'charset'? error: 'UChar' does not name a type; did you mean 'UChar32'? etc.. Log: https://paste.fedoraproject.org/paste/o4g95lyp3QPMWO80NfwM3A Thanks -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel