Re: welcome to the emelFM2 mailing list

tooar wrote:
> hello,
>>>which problems do you have with gcc3.4? i've just tried it with
>>>"gcc-3.4 (GCC) 3.4.0 20040403 (prerelease) (Debian)" and have no
>>>problems so far, no difference to gcc3.3.
 >
here is the goto problem from imlib2:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I../loaders 
-I../libltdl -I/usr/include/freetype2 -I/usr/X11R6/include 
-I/usr/X11R6/include -I/usr/include -I/usr/include -g -O2 -c rgbadraw.c 
  -fPIC -DPIC -o .libs/rgbadraw.lo
rgbadraw.c: In function `__imlib_draw_polygon_filled':
rgbadraw.c:2361: error: label at end of compound statement
make[2]: *** [rgbadraw.lo] Error 1

here is offending code:

                                  goto nospans;
                               }
                             ps = ss;
                          }
                        if (ps)
                           ps->next = s;
                      nospans:  
 >error here       }
                }
              if (i == y2)
                 goto nolines;
              i += step;
           }
       nolines:
 >this fixes    ;       /* added semicolon */
      }

Note: your code does not have the error, but shame on you, gotos? :)
-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: