Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Aside from THRIFT-3385, I also get some pointer-related and const-related warnings in the same source code area, like:
/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,
and
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); ^