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++11        This 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

Reply via email to