chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:57 +0000 (10:12 +0200)
commit0d8ff5209903cc50cb2f39c95286cd7a5d62ada1
tree390c58b4e423d1fef5807c0f18447072bea00135
parenta538528904a7daf5418e38bbafce68a894fe2922
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