Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 439892 | Differences between
and this patch

Collapse All | Expand All

(-)icu.origin/source/configure (-1 / +1 lines)
Lines 7005-7011 Link Here
7005
    if test "$GXX" = yes; then
7005
    if test "$GXX" = yes; then
7006
        OLD_CXXFLAGS="${CXXFLAGS}"
7006
        OLD_CXXFLAGS="${CXXFLAGS}"
7007
        # -Wno-return-type-c-linkage is desired so that stable ICU API is not warned about.
7007
        # -Wno-return-type-c-linkage is desired so that stable ICU API is not warned about.
7008
        CXXFLAGS="${CXXFLAGS} -std=c++11"
7008
        CXXFLAGS="${CXXFLAGS} -std=gnu++98"
7009
        ac_ext=cpp
7009
        ac_ext=cpp
7010
ac_cpp='$CXXCPP $CPPFLAGS'
7010
ac_cpp='$CXXCPP $CPPFLAGS'
7011
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7011
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
(-)icu.origin/source/configure.in (-1 / +1 lines)
Lines 972-978 Link Here
972
    if test "$GXX" = yes; then
972
    if test "$GXX" = yes; then
973
        OLD_CXXFLAGS="${CXXFLAGS}"
973
        OLD_CXXFLAGS="${CXXFLAGS}"
974
        # -Wno-return-type-c-linkage is desired so that stable ICU API is not warned about.
974
        # -Wno-return-type-c-linkage is desired so that stable ICU API is not warned about.
975
        CXXFLAGS="${CXXFLAGS} -std=c++11"
975
        CXXFLAGS="${CXXFLAGS} -std=gnu++98"
976
        AC_LANG_PUSH([C++])
976
        AC_LANG_PUSH([C++])
977
        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
977
        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
978
static const char16_t test[] = u"This is a UTF16 literal string.";
978
static const char16_t test[] = u"This is a UTF16 literal string.";

Return to bug 439892