On 2020/3/25 16:29, Gao Xiang via Linux-erofs wrote: > Buildroot autobuild reported a PAGE_SIZE redefinition with some > configrations on i586 toolchain [1] (I didn't notice such report > from erofs-utils travis CI or distribution builds before.) > > In file included from config.c:11: > ../include/erofs/internal.h:27: error: "PAGE_SIZE" redefined [-Werror] > #define PAGE_SIZE (1U << PAGE_SHIFT) > > In file included from ../include/erofs/defs.h:17, > from ../include/erofs/config.h:12, > from ../include/erofs/print.h:12, > from config.c:10: > .../sysroot/usr/include/limits.h:89: note: this is the location of the > previous definition > #define PAGE_SIZE PAGESIZE > > cc1: all warnings being treated as errors > > Fix it now. > > [1] > http://autobuild.buildroot.net/results/340b98caa45bafd43f109002be9da59ba7f6d971 > Signed-off-by: Gao Xiang <[email protected]>
Reviewed-by: Chao Yu <[email protected]> Thanks,
