actual cvs: compile error

Started by Karel Zakalmost 23 years ago2 messages
#1Karel 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 <zakkr@zf.jcu.cz>
http://home.zf.jcu.cz/~zakkr/

#2Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Karel Zak (#1)
Re: actual cvs: compile error

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 <zakkr@zf.jcu.cz>
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