More configure problems

From: Jeff Cohen <>
Date: Mon, 30 Aug 2004 21:46:42 -0700 In function `int Fileparse()': error: syntax error before `goto'

The offending lines bison generated are:


yyerrlab1 -- error raised explicitly by an action. |


  /* Suppress GCC warning that yyerrlab1 is unused when no action
     invokes YYERROR. */
#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
  __attribute__ ((__unused__))

  goto yyerrlab2; <== line 2043

I'm using bison 1.875. But it worked the last time, so I don't know why
it doesn't work now. Deleting the __attribute__ clause fixes it.

Or correctly terminate the statement/line with ; (although it becomes a warning about an empty statement).


Actually the problem is that you can't apply __attribute((__unused__))
to a label in the versions of GCC that Bison is suggesting by the #if
directive. Please see

for the details on this bison bug.