add a faq note about having a compiler that is too old (#3902)
* add a faq note about having a compiler that is too old
Also add a bit of text explaining what to do on OpenBSD 6.1 and earlier
since that is the most likely place this will occur.
* I always forget it spell checks titles
diff --git a/docs/faq.rst b/docs/faq.rst
index adf03d5..7133f0c 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -75,6 +75,15 @@
Your ``cffi`` package is out of date. ``pip install -U cffi`` to update it.
+error: ``-Werror=sign-conversion``: No option ``-Wsign-conversion`` during installation
+---------------------------------------------------------------------------------------
+
+The compiler you are using is too old and not supported by ``cryptography``.
+Please upgrade to a more recent version. If you are running OpenBSD 6.1 or
+earlier the default compiler is extremely old. Use ``pkg_add`` to install a
+newer ``gcc`` and then install ``cryptography`` using
+``CC=/path/to/newer/gcc pip install cryptography``.
+
Installing cryptography with OpenSSL 0.9.8 or 1.0.0 fails
---------------------------------------------------------