postgresql/config
Peter Eisentraut 4cb824699e Cast result of copyObject() to correct type
copyObject() is declared to return void *, which allows easily assigning
the result independent of the input, but it loses all type checking.

If the compiler supports typeof or something similar, cast the result to
the input type.  This creates a greater amount of type safety.  In some
cases, where the result is assigned to a generic type such as Node * or
Expr *, new casts are now necessary, but in general casts are now
unnecessary in the normal case and indicate that something unusual is
happening.

Reviewed-by: Mark Dilger <hornschnorter@gmail.com>
2017-03-28 21:59:23 -04:00
..
Makefile Install our "missing" script where PGXS builds can find it. 2015-12-11 16:15:05 -05:00
ac_func_accept_argtypes.m4 Remove some configure header-file checks that we weren't really using. 2017-02-25 18:10:09 -05:00
ax_pthread.m4 Update ax_pthread.m4 to an experimental draft version from upstream. 2015-07-30 14:14:50 +03:00
c-compiler.m4 Cast result of copyObject() to correct type 2017-03-28 21:59:23 -04:00
c-library.m4 Remove some configure header-file checks that we weren't really using. 2017-02-25 18:10:09 -05:00
config.guess Update config.guess and config.sub 2016-05-06 14:02:44 -04:00
config.sub Update config.guess and config.sub 2016-05-06 14:02:44 -04:00
docbook.m4 Fix configure's search for collateindex.pl. 2012-03-22 00:46:03 -04:00
general.m4 Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
install-sh Fix install-strip on Mac OS X 2012-08-21 23:42:43 -04:00
libtool.m4 Rename AC_PROG_LD* macros to PGAC_PROG_LD*. This avoids clashes with the 2004-07-17 18:53:56 +00:00
missing Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
perl.m4 Fix configure's incorrect version tests for flex and perl. 2016-05-02 11:18:10 -04:00
pkg.m4 ICU support 2017-03-23 15:28:48 -04:00
prep_buildtree find -path is not portable, so use grep -v instead. 2010-10-25 10:04:00 -03:00
programs.m4 Fix configure's incorrect version tests for flex and perl. 2016-05-02 11:18:10 -04:00
python.m4 Reject too-old Python versions a bit sooner. 2017-02-21 11:28:23 -05:00
tcl.m4 Mop-up for setting minimum Tcl version to 8.4. 2016-03-13 17:14:49 -04:00