Skip to content
  • Brad King's avatar
    docbook: Fix Sun CC warning on ptr_fun(isalnum) · d0c863f6
    Brad King authored
    The Sun compiler complains:
    
     cmDocumentationFormatterDocbook.cxx", line 230: Warning (Anachronism),
     badargtype2w: Formal argument x of type int(*)(int) in call to
     std::ptr_fun<int, int>(int(*)(int)) is being passed
     extern "C" int(*)(int).
    
    Add an intermediate C++ function to forward to the C function.
    d0c863f6