Neil Conway wrote:
> $ cd src/interfaces/ecpg
> $ make
> [ ... ]
> bison -y -d  preproc.y
> mv -f y.tab.c ./preproc.c
> mv -f y.tab.h ./preproc.h
> /usr/bin/flex  -o'pgc.c' pgc.l
> pgc.l:979: warning, -s option given but default rule can be matched
>

FYI, I am not seeing this with my flex 2.5.4 and bison 1.875:

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

(2) touch preproc.y
(2) touch pgc.l
(2) gmake
gmake -C ../../../../src/port all
gmake[1]: Entering directory
`/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/port'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/port'
bison -y -d  preproc.y
mv -f y.tab.c ./preproc.c
mv -f y.tab.h ./preproc.h
/usr/bin/flex  -o'pgc.c' pgc.l
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -O1 -Wall -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wcast-align -Wno-error
-I./../include -I. -I../../../../src/include
-I/usr/local/include/readline -I/usr/contrib/include  -DMAJOR_VERSION=3
-DMINOR_VERSION=1 -DPATCHLEVEL=1
-DINCLUDEDIR=\"/usr/local/pgsql/include\"
-DPKGINCLUDEDIR=\"/usr/local/pgsql/include\"   -c -o preproc.o preproc.c
In file included from preproc.y:6186:
pgc.c: In function `yylex':
pgc.c:1436: warning: label `find_rule' defined but not used
preproc.y: At top level:
pgc.c:3416: warning: `yy_flex_realloc' defined but not used
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -O1 -Wall -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wcast-align -Wno-error
-I./../include -I. -I../../../../src/include
-I/usr/local/include/readline -I/usr/contrib/include  -DMAJOR_VERSION=3
-DMINOR_VERSION=1 -DPATCHLEVEL=1
-DINCLUDEDIR=\"/usr/local/pgsql/include\"
-DPKGINCLUDEDIR=\"/usr/local/pgsql/include\"   -c -o ecpg_keywords.o
ecpg_keywords.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -O1 -Wall -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wcast-align -Wno-error
-I./../include -I. -I../../../../src/include
-I/usr/local/include/readline -I/usr/contrib/include  -DMAJOR_VERSION=3
-DMINOR_VERSION=1 -DPATCHLEVEL=1
-DINCLUDEDIR=\"/usr/local/pgsql/include\"
-DPKGINCLUDEDIR=\"/usr/local/pgsql/include\"   -c -o keywords.o
keywords.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -O1 -Wall -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wcast-align -Wno-error
-I./../include -I. -I../../../../src/include
-I/usr/local/include/readline -I/usr/contrib/include  -DMAJOR_VERSION=3
-DMINOR_VERSION=1 -DPATCHLEVEL=1
-DINCLUDEDIR=\"/usr/local/pgsql/include\"
-DPKGINCLUDEDIR=\"/usr/local/pgsql/include\"   -c -o c_keywords.o
c_keywords.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -O1 -Wall -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wcast-align -Wno-error
-L../../../../src/port -L/usr/local/lib -L/usr/contrib/lib
-Wl,-rpath,/usr/local/pgsql/lib -O1 -Wall -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wcast-align preproc.o type.o
ecpg.o ecpg_keywords.o output.o keywords.o c_keywords.o
../ecpglib/typename.o descriptor.o variable.o -lssl -lcrypto -lz
-lreadline -ltermcap -lgetopt -lcompat -lipc -ldl -lm -lutil  -lpgport 
-o ecpg

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to