Hi Marco,
On Sep 2 12:55, Marco Atzeri wrote:
> Trying to build gcc-6.3.0-2 with its source package on
> cygwin 2.9.0-0.2
>
>
> x86_64-pc-cygwin-g++ -std=gnu++98 -c -g -DIN_GCC -fno-exceptions
> -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
> -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute
> -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
> -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE
> -fno-PIE -I. -Ibuild
> -I/cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc
>
> -I/cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/build
>
> -I/cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/../include
>
> -I/cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/../libcpp/include
> \
> -o build/genchecksum.o
> /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/genchecksum.c
> echo " return Relocate_Path (S0, S2);" >>tmp-sdefault.adb
> echo " end Object_Dir_Default_Name;" >>tmp-sdefault.adb
> echo " function Target_Name return String_Ptr is" >>tmp-sdefault.adb
> In file included from
> /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/system.h:46:0,
> from
> /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/gengenrtl.c:22:
> /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/gengenrtl.c:
> In function ‘void genheader()’:
> /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/system.h:87:22:
> error: ‘_putchar_unlocked’ was not declared in this scope
> # define putchar(C) putchar_unlocked (C)
> ^
> /cygdrive/e/cyg_pub/devel/gcc/gcc-6.3.0-2.src/gcc-6.3.0-2.x86_64/src/gcc-6.3.0/gcc/gengenrtl.c:298:3:
> note: in expansion of macro ‘putchar’
> putchar ('\n');
> ^~~~~~~This is a bug in C++ handling introduced by a change in stdio.h. I applied a fix and release another test release later today. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
signature.asc
Description: PGP signature

