On 2012-03-22 07:57, Akim Demaille wrote:
119: synclines.at:110 Prologue synch line
Could you please send one of the corresponding logs? Say
testsuite.dir/119/test-suite.log.
/tests/testsuite -v -d -x -C tests CC=g++
oke? Using GCC Compiler:
gcc (GCC) 4.8.0 20120322 (experimental)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
# -*- compilation -*-
119. synclines.at:110: testing Prologue synch line ...
++ cat
++ set +x
./synclines.at:110: $CC $CFLAGS $CPPFLAGS -c syncline.c
++ g++ -g -Wall -Wextra -Wno-sign-compare -Wcast-align -Wcast-qual -Wformat
-Wpointer-arith -Wwrite-strings -Wbad-function-cast -Wmissing-declarations
-Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wundef -pedantic -Werror
-I/home/myself/etc/bisongit/bison-master-work/lib -c syncline.c
stderr:
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC
but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for
Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for
Ada/C/ObjC but not for C++ [enabled by default]
syncline.c:1:2: error: #error "1"
++ set +x
./synclines.at:110: sed -e '/^distcc\[[0-9]*\] /d' \
-e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \
-e 's/^\([^:]*:[^:]*:\)[^#]*\( #error\)/\1\2/' \
-e "/^[^:]*: In function '[^\']*':$/d" \
stderr
Not enabling shell tracing (command contains an embedded newline)
stdout:
cc1plus: warning: command line option '-Wbad-function-cast' is valid for C/ObjC
but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for
Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for
Ada/C/ObjC but not for C++ [enabled by default]
syncline.c:1: #error "1"
++ set +x
./synclines.at:110: test "`cat stdout`" = 'syncline.c:1: #error "1"' || exit 77
Not enabling shell tracing (command contains a `...` command substitution)
119. synclines.at:110: 119. Prologue synch line (synclines.at:110): skipped
(synclines.at:110)