[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cross-compiling for Windows: redefinitions unilbrk-related
From: |
Michele Locati |
Subject: |
Cross-compiling for Windows: redefinitions unilbrk-related |
Date: |
Mon, 17 Oct 2022 15:45:48 +0200 |
I'm cross-compiling gettext 0.21.1 with mingw.
I configure it with:
./configure --enable-relocatable --prefix=/gettext --disable-shared \
--enable-static --quiet --enable-silent-rules \
--host=x86_64-w64-mingw32.static --config-cache \
--disable-dependency-tracking --disable-java --disable-native-java \
--disable-csharp --disable-rpath --disable-openmp --disable-curses \
--without-emacs --disable-acl --enable-threads=windows \
--with-included-libxml --without-bzip2 --without-xz \
ac_cv_func__set_invalid_parameter_handler=no \
CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=0 -Wno-int-to-pointer-cast
-Wno-attributes -Wno-write-strings -g0 -O2 -DLIBXML_STATIC"
I got a bunch of warnings about redefinitions related to unilbrk:
CC unilbrk/u8-possible-linebreaks.lo
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-possible-linebreaks.c:29:0:
./unilbrk.h:77:0: warning: "u8_possible_linebreaks" redefined
#define u8_possible_linebreaks u8_possible_linebreaks_v2
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-possible-linebreaks.c:26:0:
./config.h:443:0: note: this is the location of the previous definition
#define u8_possible_linebreaks libgettextpo_u8_possible_linebreaks
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-possible-linebreaks.c:29:0:
./unilbrk.h:124:0: warning: "u8_width_linebreaks" redefined
#define u8_width_linebreaks u8_width_linebreaks_v2
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-possible-linebreaks.c:26:0:
./config.h:449:0: note: this is the location of the previous definition
#define u8_width_linebreaks libgettextpo_u8_width_linebreaks
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-possible-linebreaks.c:29:0:
./unilbrk.h:160:0: warning: "ulc_width_linebreaks" redefined
#define ulc_width_linebreaks ulc_width_linebreaks_v2
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-possible-linebreaks.c:26:0:
./config.h:455:0: note: this is the location of the previous definition
#define ulc_width_linebreaks libgettextpo_ulc_width_linebreaks
^
CC unilbrk/u8-width-linebreaks.lo
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-width-linebreaks.c:29:0:
./unilbrk.h:77:0: warning: "u8_possible_linebreaks" redefined
#define u8_possible_linebreaks u8_possible_linebreaks_v2
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-width-linebreaks.c:26:0:
./config.h:443:0: note: this is the location of the previous definition
#define u8_possible_linebreaks libgettextpo_u8_possible_linebreaks
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-width-linebreaks.c:29:0:
./unilbrk.h:124:0: warning: "u8_width_linebreaks" redefined
#define u8_width_linebreaks u8_width_linebreaks_v2
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-width-linebreaks.c:26:0:
./config.h:449:0: note: this is the location of the previous definition
#define u8_width_linebreaks libgettextpo_u8_width_linebreaks
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-width-linebreaks.c:29:0:
./unilbrk.h:160:0: warning: "ulc_width_linebreaks" redefined
#define ulc_width_linebreaks ulc_width_linebreaks_v2
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/u8-width-linebreaks.c:26:0:
./config.h:455:0: note: this is the location of the previous definition
#define ulc_width_linebreaks libgettextpo_ulc_width_linebreaks
^
CC unilbrk/ulc-width-linebreaks.lo
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/ulc-width-linebreaks.c:29:0:
./unilbrk.h:77:0: warning: "u8_possible_linebreaks" redefined
#define u8_possible_linebreaks u8_possible_linebreaks_v2
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/ulc-width-linebreaks.c:26:0:
./config.h:443:0: note: this is the location of the previous definition
#define u8_possible_linebreaks libgettextpo_u8_possible_linebreaks
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/ulc-width-linebreaks.c:29:0:
./unilbrk.h:124:0: warning: "u8_width_linebreaks" redefined
#define u8_width_linebreaks u8_width_linebreaks_v2
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/ulc-width-linebreaks.c:26:0:
./config.h:449:0: note: this is the location of the previous definition
#define u8_width_linebreaks libgettextpo_u8_width_linebreaks
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/ulc-width-linebreaks.c:29:0:
./unilbrk.h:160:0: warning: "ulc_width_linebreaks" redefined
#define ulc_width_linebreaks ulc_width_linebreaks_v2
^
In file included from
[...]/gettext-tools/libgettextpo/unilbrk/ulc-width-linebreaks.c:26:0:
./config.h:455:0: note: this is the location of the previous definition
#define ulc_width_linebreaks libgettextpo_ulc_width_linebreaks
^
CC ../src/write-po.lo
In file included from [...]/gettext-tools/libgettextpo/../src/write-po.c:44:0:
./unilbrk.h:77:0: warning: "u8_possible_linebreaks" redefined
#define u8_possible_linebreaks u8_possible_linebreaks_v2
^
In file included from [...]/gettext-tools/libgettextpo/../src/write-po.c:21:0:
./config.h:443:0: note: this is the location of the previous definition
#define u8_possible_linebreaks libgettextpo_u8_possible_linebreaks
^
In file included from [...]/gettext-tools/libgettextpo/../src/write-po.c:44:0:
./unilbrk.h:124:0: warning: "u8_width_linebreaks" redefined
#define u8_width_linebreaks u8_width_linebreaks_v2
^
In file included from [...]/gettext-tools/libgettextpo/../src/write-po.c:21:0:
./config.h:449:0: note: this is the location of the previous definition
#define u8_width_linebreaks libgettextpo_u8_width_linebreaks
^
In file included from [...]/gettext-tools/libgettextpo/../src/write-po.c:44:0:
./unilbrk.h:160:0: warning: "ulc_width_linebreaks" redefined
#define ulc_width_linebreaks ulc_width_linebreaks_v2
^
In file included from [...]/gettext-tools/libgettextpo/../src/write-po.c:21:0:
./config.h:455:0: note: this is the location of the previous definition
#define ulc_width_linebreaks libgettextpo_ulc_width_linebreaks
^
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Cross-compiling for Windows: redefinitions unilbrk-related,
Michele Locati <=