You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2016/11/09 21:45:58 UTC

[jira] [Updated] (THRIFT-3967) gobject/gparam.h:166:33: warning: enumerator value for ‘G_PARAM_DEPRECATED’ is not an integer constant expression

     [ https://issues.apache.org/jira/browse/THRIFT-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-3967:
-------------------------------
    Description: 
{code}
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
                                 ^
{code}

I get tons of these messages during a build.

  was:
{code}
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
                                 ^
{code}



> gobject/gparam.h:166:33: warning: enumerator value for ‘G_PARAM_DEPRECATED’ is not an integer constant expression
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-3967
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3967
>             Project: Thrift
>          Issue Type: Bug
>          Components: C glib - Library
>         Environment: openSUSE Tumbleweed
>            Reporter: Jens Geyer
>
> {code}
> 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
>                                  ^
> {code}
> I get tons of these messages during a build.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)