> [ thinks... ]  Actually, I believe we do have precedents in configure
> for checking to see if a construct produces a warning, so we could
> check to see if a reference to xmlKeepBlanksDefault draws one, and
> only add -Wno-deprecated-declarations if it does.  But I'm not sure
> how to do that in meson.

Hi,

I've tried reworking this and attached the updated diff file here. Since I 
rarely work on this part of the code, 
I'm not entirely sure if it's fully correct ?? but the functionality seems to 
work fine in testing.Additionally, 
I'm not very familiar with Meson either, so I haven't made any changes to the 
relevant parts here.

```
postgres@zxm-VMware-Virtual-Platform:~/code/postgres$ env | grep COPT
COPT=-Werror
postgres@zxm-VMware-Virtual-Platform:~/code/postgres$ make -j8 > /dev/null
postgres@zxm-VMware-Virtual-Platform:~/code/postgres$ 
```

--
Regards,
Man Zeng
www.openhalo.org

Attachment: xml_keep_blanks_deprecation.diff
Description: Binary data

Reply via email to