]> git.kaiwu.me - haproxy.git/commit
BUILD: compiler: fix redefinition of __nonstring
authorWilly Tarreau <w@1wt.eu>
Tue, 12 May 2026 06:40:32 +0000 (08:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 12 May 2026 06:40:32 +0000 (08:40 +0200)
commit58f3e191e81e27342c2afcd4e78ed62b9650d9de
treea45018be5f19982ebc3cfdaccc526007c895c0c9
parent648b5b6e50c52dedaa7a7437cbcf07651b7f5d74
BUILD: compiler: fix redefinition of __nonstring

Dmitry Sivachenko reported a build warning on FreeBSD -dev, where
__nonstring is apparently already defined. Let's guard our own
definition to avoid such issues. It could make sense to backport
this to recent stable versions which may soon be exposed to modern
compilers.
include/haproxy/compiler.h