commit | f3d5c4b032274e4b5e1879a616e93890043349f6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jan 28 09:42:29 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jan 28 19:04:02 2022 +0100 |
tree | 1f3a50dd9941a340bf8ae5d79d9d0a2151838164 | |
parent | 8f0b4e97e78f62eac43e240155192131e7c6d072 [diff] |
BUILD: tools: fix warning about incorrect cast with dladdr1() dladdr1() is used on glibc and takes a void**, but we pass it a const ElfW(Sym)** and some compilers complain that we're aliasing. Let's just set a may_alias attribute on the local variable to address this. There's no need to backport this unless warnings are reported on older distros or uncommon compilers.