Changeset 155509 in webkit


Ignore:
Timestamp:
Sep 11, 2013, 1:15:20 AM (11 years ago)
Author:
zandobersek@gmail.com
Message:

[GTK] Stop disabling deprecated symbols in debug builds
https://bugs.webkit.org/show_bug.cgi?id=121145

Reviewed by Carlos Garcia Campos.

Disabling the dependencies' deprecated symbols in debug builds is only causing unnecessary
build failures. Compiler warnings are being thrown whenever a deprecated symbol is being
used, so a build failure is an overreach in this case.

  • Source/autotools/SetupAutoconfHeader.m4:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r155475 r155509  
     12013-09-11  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [GTK] Stop disabling deprecated symbols in debug builds
     4        https://bugs.webkit.org/show_bug.cgi?id=121145
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Disabling the dependencies' deprecated symbols in debug builds is only causing unnecessary
     9        build failures. Compiler warnings are being thrown whenever a deprecated symbol is being
     10        used, so a build failure is an overreach in this case.
     11
     12        * Source/autotools/SetupAutoconfHeader.m4:
     13
    1142013-09-10  Marcelo Morais  <m.morais@samsung.com>
    215
  • trunk/Source/autotools/SetupAutoconfHeader.m4

    r155032 r155509  
    22AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The gettext catalog name])
    33
    4 if test "$enable_debug" = "yes"; then
    5     AC_DEFINE([GDK_PIXBUF_DISABLE_DEPRECATED], [1], [ ])
    6     AC_DEFINE([GDK_DISABLE_DEPRECATED], [1], [ ])
    7     AC_DEFINE([GTK_DISABLE_DEPRECATED], [1], [ ])
    8     AC_DEFINE([PANGO_DISABLE_DEPRECATED], [1], [ ])
    9 else
     4if test "$enable_debug" = "no"; then
    105    AC_DEFINE([NDEBUG], [1], [Define to disable debugging])
    116fi
     
    6055if test "$enable_video" = "yes" || test "$enable_web_audio" = "yes"; then
    6156    AC_DEFINE([WTF_USE_GSTREAMER], [1], [ ])
    62     if test "$enable_debug" = "yes"; then
    63         AC_DEFINE([GST_DISABLE_DEPRECATED], [1], [ ])
    64     fi
    6557fi
    6658
Note: See TracChangeset for help on using the changeset viewer.