[Pidgin] #889: undefined operation in finch/libgnt/gntwm.c

Pidgin trac at pidgin.im
Fri May 11 06:29:39 EDT 2007


#889: undefined operation in finch/libgnt/gntwm.c
----------------------------------+-----------------------------------------
  Reporter:  sbrabec              |       Owner:  sadrul
      Type:  defect               |      Status:  closed
  Priority:  minor                |   Milestone:        
 Component:  finch (gnt/ncurses)  |     Version:  2.0   
Resolution:  invalid              |    Keywords:        
   Pending:  0                    |  
----------------------------------+-----------------------------------------
Comment (by sbrabec):

 Basically the rule in C is that if you have an expression, and somewhere
 in that expression you modify a variable, you can't mention that variable
 elsewhere in the expression.

 Yes, it is likely the compiler will behave as you expect, but it is right
 to warn you that you have undefined code and you have no right to expect
 that behavior.

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


More information about the Tracker mailing list