bug-bison
[Top][All Lists]
Advanced

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

Re: [GNU Bison 2.4.2] testsuite: Failing tests of bison 2.4.2 on Solari


From: tys lefering
Subject: Re: [GNU Bison 2.4.2] testsuite: Failing tests of bison 2.4.2 on Solaris 8+9 w/Sun Studio 11+12
Date: Wed, 31 Mar 2010 20:26:47 +0200
User-agent: SquirrelMail/1.4.18

On Wed, March 31, 2010 18:55, Joel E. Denny wrote:
> Thanks for the report.  Please try the patch below and let us know if it
> fixes it.
Applied the patch to the temp bison tar.gz and tested it:
## ------------- ##
## Test results. ##
## ------------- ##

All 243 tests were successful.

also tested './configure --enable-gcc-warnings=yes' using gcc-4.5
(and the -Werror commented out to keep compilation going)

depbase=`echo fatal-signal.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -std=gnu99  -I.    -Wall -Wextra -Wno-sign-compare -Wcast-align
-Wcast-qual -Wformat -Wpointer-arith -Wwrite-strings -Wbad-function-cast
-Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes
-g -O2 -MT fatal-signal.o -MD -MP -MF $depbase.Tpo -c -o fatal-signal.o
fatal-signal.c &&\
        mv -f $depbase.Tpo $depbase.Po
fatal-signal.c:135:1: warning: function declaration isn't a prototype
fatal-signal.c:180:1: warning: function declaration isn't a prototype
fatal-signal.c:254:1: warning: function declaration isn't a prototype

depbase=`echo basename-lgpl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -std=gnu99  -I.    -Wall -Wextra -Wno-sign-compare -Wcast-align
-Wcast-qual -Wformat -Wpointer-arith -Wwrite-strings -Wbad-function-cast
-Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes
-g -O2 -MT basename-lgpl.o -MD -MP -MF $depbase.Tpo -c -o basename-lgpl.o
basename-lgpl.c &&\
        mv -f $depbase.Tpo $depbase.Po
basename-lgpl.c: In function 'last_component':
basename-lgpl.c:50:3: warning: cast discards qualifiers from pointer
target type

depbase=`echo hash.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -std=gnu99  -I.    -Wall -Wextra -Wno-sign-compare -Wcast-align
-Wcast-qual -Wformat -Wpointer-arith -Wwrite-strings -Wbad-function-cast
-Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes
-g -O2 -MT hash.o -MD -MP -MF $depbase.Tpo -c -o hash.o hash.c &&\
        mv -f $depbase.Tpo $depbase.Po
hash.c: In function 'hash_insert':
hash.c:1088:7: warning: cast discards qualifiers from pointer target type
hash.c:1092:7: warning: cast discards qualifiers from pointer target type
hash.c:1097:3: warning: cast discards qualifiers from pointer target type
hash.c:1101:3: warning: cast discards qualifiers from pointer target type

gcc -std=gnu99  -I. -I../lib  -I../lib  -Wall -Wextra -Wno-sign-compare
-Wcast-align -Wcast-qual -Wformat -Wpointer-arith -Wwrite-strings
-Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wshadow
-Wstrict-prototypes  -g -O2 -MT parse-gram.o -MD -MP -MF
.deps/parse-gram.Tpo -c -o parse-gram.o parse-gram.c
parse-gram.c: In function 'gram_parse':
parse-gram.c:2790:3: warning: array subscript is below array bounds

Only these few warnings and nothing at the other files.
Thanks for the patch.






reply via email to

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