Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define _POSIX_C_SOURCE for crfsuite source files #159

Merged
merged 2 commits into from
Sep 30, 2024

Commits on Jun 12, 2024

  1. Define _POSIX_C_SOURCE for crfsuite source files

    gcc-14 has "-Werror=implicit-function-declaration" enabled by default.
    crfsuite uses posix_memalign which only gets defined when _POSIX_C_SOURCE is
    defined, so make sure the flag is set when compiling crfsuite.
    
    On the other hand, openSUSE Tumbleweed has _POSIX_C_SOURCE defined
    in pyconfig.h, so you must not add "-D_POSIX_C_SOURCE" when compiling
    the python binding source code. So add it only for the subdir crfsuite.
    karcherm committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    df2857f View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    e6d1d0c View commit details
    Browse the repository at this point in the history