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

Pidgin trac at pidgin.im
Fri May 11 06:02:12 EDT 2007


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

  * pending:  1 => 0

Comment:

 gcc (GCC) 4.1.3 20070430 (prerelease) (SUSE Linux):

 gntwm.c: In function 'dump_screen':
 gntwm.c:610: warning: operation on 'fgp' may be undefined

 gcc issues warning, SuSE QA tool considers it as fatal, because behavior
 may depend on optimizer decision:

 I: Program causes undefined operation
    (likely same variable used twice and post/pre incremented in the same
 expression).
    e.g. x = x++; Split it in two operations.

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


More information about the Tracker mailing list