kvspb / nginx-auth-ldap

LDAP authentication module for nginx
BSD 2-Clause "Simplified" License
731 stars 251 forks source link

Allow compiling on GCC < 5 / CentOS 6 (see #138) #213

Closed davidjb closed 4 years ago

davidjb commented 5 years ago

As per #138 (and specifically https://github.com/kvspb/nginx-auth-ldap/issues/138#issuecomment-317625746) the issue is that:

This adds version-checking to the warning options and the warning itself. This means that no warning is issued at compile time on this type of platform, but warnings are still emitted when starting Nginx without certificate verification, so the issue is still visible in a notable way.

Other solutions to making this module compile on CentOS 6 / GCC 4.4 are welcomed, but this seems like the lightest touch.

dasJ commented 4 years ago

As an alternative to merging this, wait until November so CentOS 6 goes EOL :smile:

davama commented 4 years ago

Wow!!! Glad to see this cool project is still being supported! Thank you very much! 👍