[perl #22856] IMCC fails to build

2003-06-30 Thread via RT
# New Ticket Created by  Simon Glover 
# Please include the string:  [perl #22856]
# in the subject line of all future correspondence about this issue. 
# URL: http://rt.perl.org/rt2/Ticket/Display.html?id=22856 



 With a fresh checkout, I get:

 imcc.y:401: conflicting types for `YYSTYPE'
 imcparser.h:6: previous declaration of `YYSTYPE'
 /usr/lib/bison.simple: In function `yyparse':
 /usr/lib/bison.simple:432: warning: passing arg 1 of `yylex' from
 incompatible pointer type
 /usr/lib/bison.simple:614: warning: comparison between signed and
 unsigned
 /usr/lib/bison.simple:626: warning: comparison between signed and
 unsigned
 make: *** [imcparser.o] Error 1

 when I try to build IMCC on a standard Linux/x86 platform.
 (NB This is without patch #22855 applied).

 Simon









Re: [perl #22856] IMCC fails to build

2003-06-30 Thread Leopold Toetsch
Simon Glover [EMAIL PROTECTED] wrote:
  With a fresh checkout, I get:

  imcc.y:401: conflicting types for `YYSTYPE'
  imcparser.h:6: previous declaration of `YYSTYPE'
  /usr/lib/bison.simple: In function `yyparse':
  /usr/lib/bison.simple:432: warning: passing arg 1 of `yylex' from
  incompatible pointer type

It seems, that Makefile did regenerate the imcparser.{c,h} files and
that for some reason (old bison?) this didn't work.
The generated files seem to have the same timestamp as imcc.y.

Please do a make clean in imcc and update from CVS, I'll refresh the
generated files with a newer time stamp.

  Simon

leo


Re: [perl #22856] IMCC fails to build

2003-06-30 Thread Simon Glover

On Mon, 30 Jun 2003, Leopold Toetsch wrote:

 Simon Glover [EMAIL PROTECTED] wrote:
   With a fresh checkout, I get:

   imcc.y:401: conflicting types for `YYSTYPE'
   imcparser.h:6: previous declaration of `YYSTYPE'
   /usr/lib/bison.simple: In function `yyparse':
   /usr/lib/bison.simple:432: warning: passing arg 1 of `yylex' from
   incompatible pointer type

 It seems, that Makefile did regenerate the imcparser.{c,h} files and
 that for some reason (old bison?) this didn't work.
 The generated files seem to have the same timestamp as imcc.y.

 Please do a make clean in imcc and update from CVS, I'll refresh the
 generated files with a newer time stamp.

 That did the trick - it builds fine now.

 Simon