[Pidgin] #7717: warning: comma at end of enumerator list

Pidgin trac at pidgin.im
Sat Dec 6 20:46:45 EST 2008


#7717: warning: comma at end of enumerator list
-------------------+--------------------------------------------------------
Reporter:  fqueze  |        Type:  patch    
  Status:  new     |   Component:  libpurple
 Version:  2.5.2   |    Keywords:           
-------------------+--------------------------------------------------------
 I get a lot of these warnings on Linux when I build libpurple in the
 Mozilla build system (with the default flags used for C files in Mozilla)
 for Instantbird.

 It is especially noisy when the trailing comma is in a header file,
 because I have the warning each time the header is included.

 When the header is included in a C++ file, it's even worse, the warning
 turns into an error.

 These warning are trivial to fix, see attached patch.

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


More information about the Tracker mailing list