Ben Madin <[email protected]> writes:
> I am trying to build PostgreSQL 13.2 on Mac OS X 10.15.7. I was about to
> build 13.1 on the same 10.15 (but probably not 10.15.7) about 8 weeks ago
> without problems, so I was a bit surprised to find this error happening.
>
> *input.c:82:3: error: implicit declaration of function
> 'rl_reset_screen_size' is invalid in C99*
> [-Werror,-Wimplicit-function-declaration]
> rl_reset_screen_size();
> ^
> input.c:82:3: note: did you mean 'rl_set_screen_size'?
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/readline/history.h:198:8:
> note:
> 'rl_set_screen_size' declared here
> void rl_set_screen_size(int, int);
> ^
That's odd. Did you update Xcode or Apple's "command line tools" since
your last successful PG build? Do you have either MacPorts or Homebrew
stuff on this machine?
FWIW, I don't think we've changed anything in this immediate area in
quite some time. So I guess something in your environment changed,
but it's not clear what.
regards, tom lane