Skip to content

Compilation Error with "use of undeclared identifier ‘ulong’" #11

@tomohirohiratsuka

Description

@tomohirohiratsuka
  • Env
    • macOS Big Sur 11.0.1
    • php7.4

Hi, Firstly thank you for creating this awesome lib.
When I compile by "make", I faced this error php-mecab/mecab/mecab7.c:1459:3: error: use of undeclared identifier ‘ulong’

I'm new to C so I'm not sure this is correct fix way but when I added an declaration #define ulong unsigned long on top of mecab7.c file, compilation was done successfully.

I'll create pull request for this issue, I'm glad if you check it.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions