[
https://issues.apache.org/jira/browse/THRIFT-3386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-3386:
-------------------------------
Priority: Minor (was: Major)
> misc. warnings with make check
> ------------------------------
>
> Key: THRIFT-3386
> URL: https://issues.apache.org/jira/browse/THRIFT-3386
> Project: Thrift
> Issue Type: Bug
> Components: C glib - Compiler, C glib - Library
> Reporter: Jens Geyer
> Assignee: Simon South
> Priority: Minor
>
> Aside from THRIFT-3385, I also get some pointer-related and const-related
> warnings in the same source code area, like:
> {code}
> /usr/include/glib-2.0/glib/ghash.h:67:13: note: expected ‘gpointer’ but
> argument is of type ‘const struct TTestInsanity *’
> gboolean g_hash_table_insert (GHashTable *hash_table,
> {code}
> and
> {code}
> src/thrift_test_handler.c:527:3: warning: passing argument 1 of
> ‘g_object_ref’ discards ‘const’ qualifier from pointer target type [enabled
> by default]
> g_object_ref (argument);
> ^
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)