Tue Feb 17 10:01:45 PST 2009
- Previous message: [Slony1-general] errors messages of compiling slony1 2.0.0 on debian etch(2.6.18-6-amd64)
- Next message: [Slony1-general] slony 1.2.x to 2.y upgrade status?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jumping <quzhengping at gmail.com> writes: > slony_logshipper.c: In function 'main': > slony_logshipper.c:476: warning: 'destfname.data' may be used > uninitialized in this function > gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. > -DPGSHARE="\"/opt/mookr/po stgresql-8.3.5/share/\"" > -I/opt/mookr/postgresql-8.3.5/include/ -I/opt/mookr/postgresql-8.3.5/ > include/server/ -c -o dbutil.o dbutil.c > gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. > -DPGSHARE="\"/opt/mookr/po stgresql-8.3.5/share/\"" > -I/opt/mookr/postgresql-8.3.5/include/ -I/opt/mookr/postgresql-8.3.5/ > include/server/ -c -o ipcutil.o ipcutil.c > bison -y -d parser.y > mv -f y.tab.c parser.c > flex -o'scan.c' scan.l > scan.l:438: warning, rule cannot be matched > gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. > -DPGSHARE="\"/opt/mookr/po stgresql-8.3.5/share/\"" > -I/opt/mookr/postgresql-8.3.5/include/ -I/opt/mookr/postgresql-8.3.5/ > include/server/ -c -o parser.o parser.c > In file included from parser.y:1101: > scan.c:2506: warning: no previous prototype for 'yyget_lineno' > scan.c:2515: warning: no previous prototype for 'yyget_in' > scan.c:2523: warning: no previous prototype for 'yyget_out' > scan.c:2531: warning: no previous prototype for 'yyget_leng' > scan.c:2540: warning: no previous prototype for 'yyget_text' > scan.c:2549: warning: no previous prototype for 'yyset_lineno' > scan.c:2561: warning: no previous prototype for 'yyset_in' > scan.c:2566: warning: no previous prototype for 'yyset_out' > scan.c:2571: warning: no previous prototype for 'yyget_debug' > scan.c:2576: warning: no previous prototype for 'yyset_debug' > scan.c:2613: warning: no previous prototype for 'yylex_destroy' These aren't actually errors - they are the pretty standard sorts of irritations that fall out of using Bison :-(. It would be nice to eliminate the -Wmissing-prototypes option to GCC there, but I think that's about the best you could get as an improvement. -- output = ("cbbrowne" "@" "linuxfinances.info") http://cbbrowne.com/info/languages.html "I can't escape the sensation that I have already been thinking in Lisp all my programming career, but forcing the ideas into the constraints of bad languages, which explode those ideas into a bewildering array of details, most of which are workarounds for the language." -- Kaz Kylheku
- Previous message: [Slony1-general] errors messages of compiling slony1 2.0.0 on debian etch(2.6.18-6-amd64)
- Next message: [Slony1-general] slony 1.2.x to 2.y upgrade status?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list