[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] gawk 4.0.0 compile error when sigsegv is enabled (mingw32)

From: Allan J Mui
Subject: [bug-gawk] gawk 4.0.0 compile error when sigsegv is enabled (mingw32)
Date: Sun, 24 Jul 2011 05:24:12 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (windows-nt)

When I compile without libsigsegv enabled the build system works fine
but when I try to enable libsigsegv by setting the attribute
`HAVE_LIBSIGSEGV' to 1 (in config.h) I receive a compilation error as
(MSYS shell output)...  
CC=mingw32-gcc-4.5.2 O=.o CF="-O2-gdwarf-2 -g3" OBJ=popen.o \ 
LF="-gdwarf-2 -g3" LF2=-lmsvcp60 LF3=-Ld:/sigsegv/lib LF4=-lsigsegv \
LF5=-L/mingw/lib LF6=-lintl LF7=-Ld:/gnu/gnuwin32/lib LF8=-liconv.dll SP
make[1]: Entering directory `/d/gnu-source/gawk-4.0.0'
mingw32-gcc-4.5.2 -c -O2 -gdwarf-2 -g3 -DGAWK -I.-Id:/sigsegv/include
-DHAVE_CON FIG_H array.c mingw32-gcc-4.5.2 -c -O2 -gdwarf-2 -g3 -DGAWK
-I.-Id:/sigsegv/include -DHAVE_CONFIG_H builtin.c 
builtin.c: In function 'format_tree': 
builtin.c:609:28: error: expected identifier or
'(' before 'char' 
builtin.c:709:2: error: 'need_format' undeclared
(first use in this function) 
builtin.c:709:2: note: each undeclared
identifier is reported only once for each function it appears in
builtin.c:725:3: error: 'have_prec' undeclared (first use in this
function) builtin.c:729:29: error: expected expression before 'char'
builtin.c:945:8: error: expected expression before 'char'
builtin.c:959:10: error: expected identifier or '(' before '=' token
make[1]: *** [builtin.o] Error 1 make[1]: Leaving directory
`/d/gnu-source/gawk-4.0.0' make: *** [mingw32] Error 2

I assume that building with libsigsegv is supported on mingw32. I am
using Windows XP SP3 and mingw32 (official version) gcc 4.5.2 . The
libsigsegv version is 2.9 (latest). When I ran the tests 277 tests
failed and I had to type "exit" in the window once while they were
running to continue.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]