Kaydet (Commit) 8af35c95 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove obsolete HAVE_GCC_VISIBILITY_FEATURE check

<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664> "libstdc++ headers should
have pop/push of the visibility around the declarations" (aka gcc#22482,
rhbz#162935) is fixed ever since GCC 4.2.

Make this a fatal configure error for now.  The check should be removed
completely after LO 5.3 branch-off.

Change-Id: I3e8fde187b4b20652ee3164485ef868a9bf5a7ce
Reviewed-on: https://gerrit.libreoffice.org/29071Tested-by: 's avatarStephan Bergmann <sbergman@redhat.com>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 63e03432
...@@ -6494,9 +6494,7 @@ if test \( "$_os" != "WINNT" -o "$WITH_MINGW" = "yes" \); then ...@@ -6494,9 +6494,7 @@ if test \( "$_os" != "WINNT" -o "$WITH_MINGW" = "yes" \); then
AC_EGREP_HEADER(visibility push, string, stlvisok=yes, stlvisok=no) AC_EGREP_HEADER(visibility push, string, stlvisok=yes, stlvisok=no)
AC_MSG_RESULT([$stlvisok]) AC_MSG_RESULT([$stlvisok])
if test "$stlvisok" = "no"; then if test "$stlvisok" = "no"; then
AC_MSG_WARN([Your libstdc++ headers are not visibility safe. Disabling visibility]) AC_MSG_ERROR([Your libstdc++ headers are not visibility safe. This is no longer supported.])
add_warning "Your libstdc++ headers are not visibility safe. Disabling visibility"
unset HAVE_GCC_VISIBILITY_FEATURE
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment