Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 121 by
yuriv...@gmail.com: Errors when compiled with clang
https://code.google.com/p/gpick/issues/detail?id=121
I am seeing these errors and warnings:
source/dynv/DynvVarDynv.cpp:73:15: error: reference to 'set' is ambiguous
handler->set=set;
/usr/include/c++/v1/__tree:36:33: note: candidate found by name lookup
is 'std::__1::set'
class _LIBCPP_TYPE_VIS_ONLY set;
source/GenerateScheme.cpp:652:14: warning: comparison of unsigned
expression < 0 is always false [-Wtautological-compare]
if (color_n < 0 || color_n > 6) return -1;
~~~~~~~ ^ ~
source/GenerateScheme.cpp:928:12: warning: comparison of unsigned
expression >= 0 is always true [-Wtautological-compare]
if (index >= 0 && index < generate_scheme_get_n_scheme_types())
~~~~~ ^ ~
source/uiApp.cpp:185:15: warning: comparison of unsigned expression >= 0 is
always true [-Wtautological-compare]
if (page_num >= 0 && page_num <= args->color_source_index.size() &&
args->color_source_index[page_num]){
~~~~~~~~ ^ ~
source/uiApp.cpp:195:89: warning: implicit conversion of NULL constant
to 'GQuark' (aka 'unsigned int') [-Wnull-conversion]
g_signal_handlers_disconnect_matched(G_OBJECT(args->notebook),
G_SIGNAL_MATCH_FUNC, 0, NULL, NULL, (void*)notebook_switch_cb, 0...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^~~~
0
source/uiApp.cpp:781:52: warning: cast to 'void *' from smaller integer
type 'uint32_t' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
g_object_set_data_full(G_OBJECT(item), "index",
(void*)j, (GDestroyNotify)NULL);
clang-3.4.1
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings