[PATCH] Fix some compiler warnings (GCC 4.3) February 02, 2009, 12:22:09 am Hi,The attached patches fix some more compiler warnings (gcc 4.3). See the patch headers for details.There are some more warning I would like to fix:Code: [Select] gui/climates.cc: In member function ‘virtual bool climate_gui_t::action_triggered(gui_action_creator_t*, value_t)’: gui/climates.cc:242: warning: cast from type ‘const sint16*’ to type ‘sint16*’ casts away constnessThe following code modifies this as well, so I guess the `const' qualifier at einstellungen_t::get_climate_borders should be removed?The remaining warnings are mostly unused parameters and variables, comparison between signed and unsigned integer expressions and some printf arguments.Ansgar Quote Selected
Re: [PATCH] Fix some compiler warnings (GCC 4.3) Reply #1 – February 02, 2009, 09:55:09 am Thanks. Quote Selected