On Tue, Oct 31, 2006 at 10:28:50AM +0100, Udo Giacomozzi wrote: > This is probably a c++ question and more related to AGG itself, but I > try to fix those compiler warnings to the AGG renderer. > > At some points I get the warning: > /home/udo/agg-2.4/include/agg_bezier_arc.h:71: warning: enumeral and > non-enumeral type in conditional expression
... > // WARNING GENERATED BELOW: > return (m_vertex == 2) ? path_cmd_move_to : m_cmd; Since m_vertex is unsigned you might try using '2u' as a literal to force 'unsigned' nature of that number. Anyway, the 'enumeral' vs. 'non-enumeral' warning seems unrelated to me... Rather, how is path_cmd_move_to defined ? Is it an enumeral type ? --strk; _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

