commit | d7be9385609328a03c5cfe775473a7dc8e014fd3 | [log] [tgz] |
---|---|---|
author | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Mon Mar 05 07:29:46 2018 |
committer | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Mon Mar 05 07:41:26 2018 |
tree | c4f0a252c3c8ca1f5df8f43b02f85f0886cb8907 | |
parent | f1d3fe4a21e339a3fd6e4592ee7444484a7b92dc [diff] |
implement more robust detection of sized delete support As reported in issue #954, osx clang compiler is able to optimize our previous detection away while not really having runtime support for sized delete. So this time we use AC_LINK_IFELSE and more robust code to prevent compiler from optimizing away sized delete call. This should reliably catch "bad" compilers. Special thanks to Alexey Serbin for reporting the issue, suggesting a fix and verifying it. Fixes issue #954.