]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] regparm is broken on gcc < 3
authorWilly Tarreau <w@1wt.eu>
Sun, 17 Aug 2008 15:06:37 +0000 (17:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Sep 2008 09:03:37 +0000 (11:03 +0200)
commitee113f5345c49a1e8ea9c8ea6b047f3c0f43db1f
tree4f2884554668d42f8ca405aaf4011e6afc94f18f
parent2f9127b4b91de1ac685498e145f29342115bcb71
[BUG] regparm is broken on gcc < 3

Gcc < 3 does not consider regparm declarations for function pointers.
This causes big trouble at least with pollers (and with any function
pointer after all). Disable CONFIG_HAP_USE_REGPARM for gcc < 3.
(cherry picked from commit 61eadc028fb8774ea05d893cd3eca6c671fb511e)
include/common/config.h