]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: install: mention the common strict-aliasing warning on older compilers
authorWilly Tarreau <w@1wt.eu>
Wed, 31 May 2023 13:27:01 +0000 (15:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 31 May 2023 13:27:01 +0000 (15:27 +0200)
In the errors and warnings section about common issues, it's useful to
mention the strict-aliasing warning that was happening with gcc-4.4 that
may still be found on old systems, especially since it will probably take
ages to build there and the warning is harmless.

INSTALL

diff --git a/INSTALL b/INSTALL
index ca47aa83da68adf8407957d6b77bad58fa84db09..e8b36e0a75a15167435621b6af9e50515036dd04 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -446,6 +446,10 @@ target. Common issues may include:
        not support QUIC. Either disable QUIC with "USE_QUIC=" or use any
        other supported compatible library.
 
+  - many "dereferencing pointer 'sa.985' does break strict-aliasing rules"
+    => these warnings happen on old compilers (typically gcc-4.4), and may
+       safely be ignored; newer ones are better on these.
+
 
 4.11) QUIC
 ----------