Skip to content

Compilation fails with modern compilers #36

@UnitedMarsupials

Description

@UnitedMarsupials

Trying to add the module (using pip3 install) I get the following warning from gcc-13.2. Which turns into an error, because of -Werror:

src/krb5/_ccache.c: In function '__Pyx_Import':
src/krb5/_ccache.c:24344:21: error: the comparison will always evaluate as 'true' for the pointer operand in '(char *)"krb5._ccache" must not be NULL [-Werror=address]+ 4"

The workaround is to add CFLAGS=-w to the environment (which disables all warnings), but that shouldn't be necessary.

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