On 2009-10-16 at 05:01:57 [+0800], stefano.ceccherini@xxxxxxxxx wrote: > Author: jackburton > Date: 2009-10-15 23:01:57 +0200 (Thu, 15 Oct 2009) > New Revision: 33604 > Changeset: http://dev.haiku-os.org/changeset/33604/haiku > > Modified: > haiku/trunk/src/apps/debugger/user_interface/gui/GraphicalUserInterface.c > pp > Log: > Fix build with gcc4 gcc 4 under Haiku is actually what I'm building with. > Modified: > haiku/trunk/src/apps/debugger/user_interface/gui/GraphicalUserInterface.cpp > =================================================================== > --- > haiku/trunk/src/apps/debugger/user_interface/gui/GraphicalUserInterface.cpp > 2009-10-15 19:11:38 UTC (rev 33603) > +++ > haiku/trunk/src/apps/debugger/user_interface/gui/GraphicalUserInterface.cpp > 2009-10-15 21:01:57 UTC (rev 33604) > @@ -71,6 +71,7 @@ > break; > case USER_NOTIFICATION_WARNING: > case USER_NOTIFICATION_ERROR: > + default: > alertType = B_WARNING_ALERT; > break; > } Since all enum values are handled anyway, your gcc is mistaken here. CU, Ingo