Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3967

gobject/gparam.h:166:33: warning: enumerator value for ‘G_PARAM_DEPRECATED’ is not an integer constant expression

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Information Provided
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: C glib - Library
    • Labels:
      None
    • Environment:

      openSUSE Tumbleweed

      Description

      libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I../../lib/c_glib/src/thrift -Isrc -I src/thrift/c_glib -Wall -Wextra -pedantic -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -MT src/thrift/c_glib/transport/libthrift_c_glib_la-thrift_buffered_transport.lo -MD -MP -MF src/thrift/c_glib/transport/.deps/libthrift_c_glib_la-thrift_buffered_transport.Tpo -c src/thrift/c_glib/transport/thrift_buffered_transport.c  -fPIC -DPIC -o src/thrift/c_glib/transport/.libs/libthrift_c_glib_la-thrift_buffered_transport.o
      In file included from /usr/include/glib-2.0/gobject/gobject.h:26:0,
                       from /usr/include/glib-2.0/gobject/gbinding.h:29,
                       from /usr/include/glib-2.0/glib-object.h:23,
                       from src/thrift/c_glib/transport/thrift_transport.h:23,
                       from src/thrift/c_glib/transport/thrift_buffered_transport.c:28:
      /usr/include/glib-2.0/gobject/gparam.h:166:33: warning: enumerator value for ‘G_PARAM_DEPRECATED’ is not an integer constant expression [-Wpedantic]
         G_PARAM_DEPRECATED          = 1 << 31
                                       ^
      

      I get tons of these messages during a build.

        Attachments

          Activity

            People

            • Assignee:
              simonsouth Simon South
              Reporter:
              jensg Jens Geyer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: