actual cvs: compile error
actual cvs: compile error
От:
Karel Zak <zakkr@zf.jcu.cz>
Дата:
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o common.o common.c -MMD common.c:184: conflicting types for `cancelConn' common.h:30: previous declaration of `cancelConn' make[3]: *** [common.o] Error 1 make[3]: Leaving directory `/var/home/PG_DEVEL/pgsql/src/bin/psql' make[2]: *** [all] Error 2 The "cancelConn" has defined to the file common.c as static and in the common.h as extern. Karel -- Karel Zak http://home.zf.jcu.cz/~zakkr/
Re: actual cvs: compile error
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Thanks. Fixed. --------------------------------------------------------------------------- Karel Zak wrote: > > gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations > -I../../../src/interfaces/libpq -I../../../src/include -c -o > common.o common.c -MMD > common.c:184: conflicting types for `cancelConn' > common.h:30: previous declaration of `cancelConn' > make[3]: *** [common.o] Error 1 > make[3]: Leaving directory `/var/home/PG_DEVEL/pgsql/src/bin/psql' > make[2]: *** [all] Error 2 > > The "cancelConn" has defined to the file common.c as static and in > the common.h as extern. > > Karel > > -- > Karel Zak > http://home.zf.jcu.cz/~zakkr/ > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- 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, Pennsylvania 19073