[Pidgin] #3151: gntconv.c fails to compile in Solaris 9

Pidgin trac at pidgin.im
Sat Sep 29 16:26:20 EDT 2007


#3151: gntconv.c fails to compile in Solaris 9
----------------------------------+-----------------------------------------
  Reporter:  dhalik               |       Owner:  sadrul
      Type:  defect               |      Status:  new   
  Priority:  minor                |   Milestone:        
 Component:  finch (gnt/ncurses)  |     Version:  2.2.0 
Resolution:                       |    Keywords:        
   Pending:  0                    |  
----------------------------------+-----------------------------------------
Changes (by tmcmahon2):

  * owner:  tmcmahon2 => sadrul

Comment:

 The problem is that the function is trying to return something when its
 marked void

 {{{
 static void
 finch_conv_present(PurpleConversation *conv)
 {
         FinchConv *fc = FINCH_CONV(conv);
         if (fc && fc->window)
                 return gnt_window_present(fc->window);
 }
 }}}

 I dropped the return and it compiles fine though I'm not sure thats the
 proper solution.

 Sadrul can you check this out? gcc just skips it but Sun's compilers are
 more strict.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3151#comment:2>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list