Thread: test beta build

test beta build

From
"Christopher Kings-Lynne"
Date:
It all built and passes regressions for me on freebsd/alpha, I got this
though:

gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error -I
./../include -I. -I../../../../src/include  -DMAJOR_VERSION=3 -DMINOR_VERSIO
N=0 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/home/chriskl/local/include\"   -c -o
preproc.o preproc.c
preproc.y: In function `yyparse':
preproc.y:5295: warning: int format, different type arg (arg 3)

In file included from preproc.y:6278:
pgc.c: In function `yylex':
pgc.c:1387: warning: label `find_rule' defined but not used
preproc.y: At top level:
pgc.c:3367: warning: `yy_flex_realloc' defined but not used

Chris



Re: test beta build

From
Bruce Momjian
Date:
Yes, I see those regularly too, and are related to bison issues.

---------------------------------------------------------------------------

Christopher Kings-Lynne wrote:
> It all built and passes regressions for me on freebsd/alpha, I got this
> though:
> 
> gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error -I
> ./../include -I. -I../../../../src/include  -DMAJOR_VERSION=3 -DMINOR_VERSIO
> N=0 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/home/chriskl/local/include\"   -c -o
> preproc.o preproc.c
> preproc.y: In function `yyparse':
> preproc.y:5295: warning: int format, different type arg (arg 3)
> 
> In file included from preproc.y:6278:
> pgc.c: In function `yylex':
> pgc.c:1387: warning: label `find_rule' defined but not used
> preproc.y: At top level:
> pgc.c:3367: warning: `yy_flex_realloc' defined but not used
> 
> Chris
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


Re: test beta build

From
Tom Lane
Date:
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Yes, I see those regularly too, and are related to bison issues.

The two 'defined but not used' warnings in pgc.c are a longstanding flex
(not bison) issue.  (Hmm ... I wonder if they still happen in flex
2.5.31?)  The other warning is not flex's fault --- looks like a real
bug, ie, mistaken assumption about datatype widths.  Will fix.
        regards, tom lane


Re: test beta build

From
Tom Lane
Date:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error -I
> ./../include -I. -I../../../../src/include  -DMAJOR_VERSION=3 -DMINOR_VERSIO
> N=0 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/home/chriskl/local/include\"   -c -o
> preproc.o preproc.c
> preproc.y: In function `yyparse':
> preproc.y:5295: warning: int format, different type arg (arg 3)

Fixed, I believe --- please check when you have a chance.
        regards, tom lane


Re: test beta build

From
"Christopher Kings-Lynne"
Date:
> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> >
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error -I
> >
./../include -I. -I../../../../src/include  -DMAJOR_VERSION=3 -DMINOR_VERSIO
> >
N=0 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/home/chriskl/local/include\"   -c -o
> > preproc.o preproc.c
> > preproc.y: In function `yyparse':
> > preproc.y:5295: warning: int format, different type arg (arg 3)
>
> Fixed, I believe --- please check when you have a chance.

Cool.  It's just down to this now:

gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error-I./../include -I.
-I../../../../src/include  -DMAJOR_VERSION=3 -DMINOR_VE
 
RSION=0 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/home/chriskl/local/include\"   -c -
o preproc.o preproc.c -MMD
In file included from preproc.y:6278:
pgc.c: In function `yylex':
pgc.c:1387: warning: label `find_rule' defined but not used
preproc.y: At top level:
pgc.c:3367: warning: `yy_flex_realloc' defined but not used

Chris

ps. Don't get the impression that I actually use the Alpha - it's just an
old machine lying around that I use to keep pgsql honest :)  Don't consider
it a platform that you need to support because of me :P



Re: test beta build

From
Tom Lane
Date:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> Cool.  It's just down to this now:

> gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error
>  -I./../include -I. -I../../../../src/include   -DMAJOR_VERSION=3 -DMINOR_VE
> RSION=0 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/home/chriskl/local/include\"   -c -
> o preproc.o preproc.c -MMD
> In file included from preproc.y:6278:
> pgc.c: In function `yylex':
> pgc.c:1387: warning: label `find_rule' defined but not used
> preproc.y: At top level:
> pgc.c:3367: warning: `yy_flex_realloc' defined but not used

Right, everybody gets those.

> ps. Don't get the impression that I actually use the Alpha - it's just an
> old machine lying around that I use to keep pgsql honest :)  Don't consider
> it a platform that you need to support because of me :P

Not at all --- I think keeping the Alpha port alive is important, if
only because there are not that many 64-bit platforms that PG gets
tested on routinely.  You always manage to find some portability bugs...
        regards, tom lane