can you post what g++ -v prints on bash?

Am 24.02.20 um 17:40 schrieb Matthias Seidel:
Hi all,

After updating a lot of packages (incl. gcc) in Cygwin64 yesterday I can
no longer build AOO for Windows.

I get errors in bootstrap while building dmake:

make[2]: Verzeichnis
„/cygdrive/c/Source/openoffice/main/solenv/wntmsci12.pro/misc/build/dmake-4.12“
wird betreten
depbase=`echo infer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I./unix/cygwin -I./unix
-I./unix/cygwin/gnu -I./unix/cygwin -I./unix      -g -O2 -MT infer.o -MD
-MP -MF "$depbase.Tpo" -c -o infer.o infer.c; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit
1; fi
In Datei, eingebunden von extern.h:38,
                  von infer.c:33:
config.h:188:16: Fehler: doppeltes »unsigned«
   188 | #define size_t unsigned int
       |                ^~~~~~~~
config.h:188:25: Fehler: zwei oder mehr Datentypen in Deklaration
   188 | #define size_t unsigned int
       |                         ^~~
config.h:185:15: Fehler: zwei oder mehr Datentypen in Deklaration
   185 | #define off_t long int
       |               ^~~~
config.h:185:20: Fehler: zwei oder mehr Datentypen in Deklaration
   185 | #define off_t long int
       |                    ^~~
In Datei, eingebunden von extern.h:86,
                  von infer.c:33:
itypes.h:58:5: Fehler: #error "No 2 byte type, you lose."
    58 | #   error "No 2 byte type, you lose."
       |     ^~~~~
itypes.h:77:5: Fehler: #error "No 4 byte type, you lose."
    77 | #   error "No 4 byte type, you lose."
       |     ^~~~~
...


Is there anything we can do to ensure that AOO can be built with an
updated Cygwin?
Would Jim's updated dmake help?

Regards,
    Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to