]> 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>
Sun, 17 Aug 2008 15:06:37 +0000 (17:06 +0200)
commit61eadc028fb8774ea05d893cd3eca6c671fb511e
tree73bae8e0b5f64af3d1c1fd016e6e76640f03c68f
parent6d2889ba3d7466927be6d867d3da912b81381239
[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.
include/common/config.h