• Davi Arnaut's avatar
    BUG 11763056 - 55721: AIX 5.1.50 build failing, cannot locate bzero · 05098831
    Davi Arnaut authored
    The problem is that although AIX implements bzero, its prototype
    is not declared by default. Since AC_CHECK_FUNC(bzero) succeeds
    even though a prototype is not declared, this breaks compilation
    in C++ files where a prototype is required.
    
    The solution is to only use bzero if a prototype is also declared.
    
    configure.in:
      Check if bzero is declared. No need to specify the includes,
      unisted.h and strings.h are already part of AC_INCLUDES_DEFAULT.
    05098831
m_string.h 7.48 KB