[HACKERS] createdb warnings on OS X - Mailing list pgsql-hackers

From Jim Nasby
Subject [HACKERS] createdb warnings on OS X
Date
Msg-id abb635be-565e-2a9c-b6b0-a9874da65f15@BlueTreble.com
Whole thread Raw
Responses Re: [HACKERS] createdb warnings on OS X  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I'm seeing the following warnings on a recent checkout. make check still 
passes fine though...

> ccache clang -Qunused-arguments -fcolor-diagnostics -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement-Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
-Wno-unused-command-line-argument-O2 -I../../../src/interfaces/libpq -I../../../src/include
-I/opt/local/include/libxml2  -c -o createdb.o createdb.c -MMD -MP -MF .deps/createdb.Po
 
> input.c:81:3: warning: implicit declaration of function 'rl_reset_screen_size' is invalid in C99
[-Wimplicit-function-declaration]
>                 rl_reset_screen_size();
>                 ^
> input.c:455:13: warning: implicit declaration of function 'append_history' is invalid in C99
[-Wimplicit-function-declaration]
>                         errnum = append_history(nlines, fname);
>                                  ^
> 2 warnings generated.

> decibel@decina:[17:04]~/pgsql/HEAD (temp *$%)$uname -a
> Darwin decina.local 15.6.0 Darwin Kernel Version 15.6.0: Wed Nov  2 20:30:56 PDT 2016;
root:xnu-3248.60.11.1.2~2/RELEASE_X86_64x86_64
 
> decibel@decina:[17:04]~/pgsql/HEAD (temp *$%)$echo $CC
> ccache clang -Qunused-arguments -fcolor-diagnostics
> decibel@decina:[17:04]~/pgsql/HEAD (temp *$%)$head config.log|grep './conf'
>   $ ./configure --with-libxml --with-tcl --with-perl --with-python --enable-depend --enable-dtrace --enable-tap-tests
--prefix=/Users/decibel/pgsql/HEAD/i/i--with-pgport=5555 -C
 
> decibel@decina:[17:05]~/pgsql/HEAD (temp *$%)$

> grep HAVE_RL_RESET_SCREEN_SIZE config.log
> | #define HAVE_RL_RESET_SCREEN_SIZE 1
> #define HAVE_RL_RESET_SCREEN_SIZE 1
> decibel@decina:[17:08]~/pgsql/HEAD (temp *$%)$grep HISTORY config.log
> | #define HAVE_READLINE_HISTORY_H 1
> | #define HAVE_APPEND_HISTORY 1
> | #define HAVE_HISTORY_TRUNCATE_FILE 1
> #define HAVE_READLINE_HISTORY_H 1
> #define HAVE_APPEND_HISTORY 1
> #define HAVE_HISTORY_TRUNCATE_FILE 1

> git ls -1
> 7c3abe3c92 (HEAD -> temp, origin/master, origin/HEAD, master) Get rid of ParseState.p_value_substitute; use a
columnrefhook instead. [Tom Lane]
 


-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [HACKERS] RustgreSQL
Next
From: Jim Nasby
Date:
Subject: Re: [HACKERS] RustgreSQL