BUILD: add detection for unsupported compiler models
As reported in github issue #1765, some people get trapped into building
haproxy and companion libraries on Windows using a compiler following the
LLP64 model. This has no chance to work, and definitely causes nasty bugs
everywhere when pointers are passed as longs. Let's save them time and
detect this at boot time.
The message and detection was factored with the existing one for -fwrapv
since we need the same info and actions.
This should be backported to all recent supported versions (the ones
that are likely to be tried on such platforms when people don't know).
(cherry picked from commit 41afd9084e13fa834397f8f9925338223aaa4ed5)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit a6b7832dd65dfc912f558f6bf67cdb89efed7a83)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit dd6c4129b35013491d90dd39b4dc87e971dc61f3)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed