Menu

#248 Incorrect include path in hunspell manpage

v1.0 (example)
closed-fixed
None
5
2014-10-17
2014-03-18
No

If I have hunspell installed under <prefix>, pkg-config says my include path should be <prefix>/hunspell, e.g.:

$ pkg-config --cflags hunspell
-I/opt/local/include/hunspell

This means in my source code I should include <hunspell.hxx>:

#include <hunspell.hxx>

man 3 hunspell, on the other hand, recommends just the opposite:

SYNOPSIS
       #include <hunspell/hunspell.hxx> /* or */
       #include <hunspell/hunspell.h>

       Hunspell(const char *affpath, const char *dpath);

Either hunspell.pc or the man page should be corrected.

Discussion

  • caolan mcnamara

    caolan mcnamara - 2014-10-17
    • status: open --> closed-fixed
     
  • caolan mcnamara

    caolan mcnamara - 2014-10-17

    updated manpage