Compile Error

Started by Josephalmost 25 years ago2 messagesgeneral
Jump to latest
#1Joseph
tech@ekn.com

I get the following compile error on Redhat 7.1...

input.c: In function `initializeInput':
input.c:157: warning: passing arg 1 of `on_exit' from incompatible
pointer type
input.c:157: too few arguments to function `on_exit'
make[3]: *** [input.o] Error 1

respectfully,
Joseph

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Joseph (#1)
Re: Compile Error

Joseph Showalter writes:

I get the following compile error on Redhat 7.1...

input.c: In function `initializeInput':
input.c:157: warning: passing arg 1 of `on_exit' from incompatible
pointer type
input.c:157: too few arguments to function `on_exit'
make[3]: *** [input.o] Error 1

A more interesting question would be why it's using on_exit() at all and
not atexit(). Can you check the config.log file for compiler messages?

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter