[ 
https://issues.apache.org/jira/browse/THRIFT-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15738788#comment-15738788
 ] 

Simon South commented on THRIFT-3967:
-------------------------------------

[This GCC bug report|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71803] sheds 
more light on the issue. It seems [GObject has already been 
updated|https://git.gnome.org/browse/glib/tree/gobject/gparam.h?id=7518067cec26bd357e7a7ba44823e79e6bed0f57#n167],
 so this issue should eventually disappear as distributions release new GLib 
packages.

Presumably this bug report can be closed.

> 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
>            Assignee: Simon South
>
> {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)

Reply via email to