Re: Synchronize with imath upstream

Andrew Gierth <andrew@tao11.riddles.org.uk>

From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Noah Misch <noah@leadboat.com>
Cc: pgsql-hackers@postgresql.org
Date: 2019-02-03T06:01:51Z
Lists: pgsql-hackers
>>>>> "Noah" == Noah Misch <noah@leadboat.com> writes:

 Noah> If the compiler supports -Wdeclaration-after-statement, I add
 Noah> -Wno-declaration-after-statement for imath.c.

I found it much simpler to strip out -Wdeclaration-after-statement
instead:

$(RYU_OBJS): override CFLAGS := $(filter-out -Wdeclaration-after-statement,$(CFLAGS))

-- 
Andrew (irc:RhodiumToad)


Commits

  1. Import changes from IMath versions (1.3, 1.29].

  2. Cherry-pick security-relevant fixes from upstream imath library.