Skip to content

Does not compile on mingw #1

@LiSongMWO

Description

@LiSongMWO

$ make
gcc -O2 -Wall -Werror -std=gnu99 -D_GNU_SOURCE -g3 -MMD -MP -MF.deps/branch.o.d -c -o branch.o -c branch.c
In file included from branch.c:15:0:
bitset.h: In function 'bitset_init':
bitset.h:17:16: error: 'LONG_BIT' undeclared (first use in this function)
bitset.h:17:16: note: each undeclared identifier is reported only once for each function it appears in
bitset.h: In function 'bitset_set':
bitset.h:31:45: error: 'LONG_BIT' undeclared (first use in this function)
bitset.h: In function 'bitset_reset':
bitset.h:41:45: error: 'LONG_BIT' undeclared (first use in this function)
make: *** [branch.o] Error 1

LONG_BIT is not a standard define in limits.h.

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