[Pidgin] #15102: Compiler warnings about ending commas

Pidgin trac at pidgin.im
Mon May 7 11:45:05 EDT 2012


#15102: Compiler warnings about ending commas
-------------------+--------------------------------------------------------
Reporter:  dm0     |        Type:  patch    
  Status:  new     |   Component:  libpurple
 Version:  2.10.4  |    Keywords:  warnings 
-------------------+--------------------------------------------------------
 When compiling plugins with strict GCC flags, many warning messages are
 produced from libpurple/Pidgin headers containing trailing commas in enum
 lists.  The attached patch removes the trailing commas so these lists are
 consistent with the rest, and it corrects the warnings.

 This appears to fix all such cases, judging from the output of

 {{{grep -IRB1 '^[ \t]*}' /usr/include/{libpurple,pidgin} | grep ',[
 \t]*$'}}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/15102>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list