rcritten / freeipa

Forked from freeipa 6 years ago
Clone

2828a2b C compilation fixes and hardening

2 files Authored by cheimes 7 years ago, Committed by mbasti 7 years ago,
    C compilation fixes and hardening
    
    Fix "implicit declaration of function ‘strlen’" in ipa_pwd_ntlm.c,
    credits to Lukas.
    
    Add -Werror=implicit-function-declaration to CFLAGS to point developers
    to missing includes. It causes compilation to fail when a developer
    forgets to add a required include. The problem is no longer hidden in a
    massive wall of text from make.
    
    Silence a harmless error from 389-DS slapi.h until the bug is fixed in
    downstream, https://pagure.io/389-ds-base/issue/48979
    
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
    
        
file modified
+3 -0
file modified
+1 -0