]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/macro.h
basic/macros: clang 3.5 doesn't support alloc_size
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 15 Mar 2016 23:27:28 +0000 (19:27 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 15 Mar 2016 23:40:33 +0000 (19:40 -0400)
commit26e9e10b39fdf343dcb7e11b6cb4eecf11a45970
tree72edd3ec58cfbc97056125b31fc8b69c2dd80c0d
parent70e43ee7be6ee8d1e8aa4b2984a72baa25709c2e
basic/macros: clang 3.5 doesn't support alloc_size

The attribute was removed in commit c047507 in the clang repository as it
was never properly implemented anyway. Avoid using the attribute with
clang because it generates a ton of annoying warnings.
src/basic/macro.h