2x compile warning - Mailing list pgsql-hackers

From Gevik Babakhani
Subject 2x compile warning
Date
Msg-id 1145883265.12809.52.camel@voyager.truesoftware.net
Whole thread Raw
Responses Re: 2x compile warning
Re: 2x compile warning
List pgsql-hackers
I noticed the following compile warnings. Perhaps someone is interested
to know about them.

/usr/bin/flex  -o'pgc.c' pgc.l
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g
-Wno-error  -I./../include -I. -I../../../../src/include -D_GNU_SOURCE
-DMAJOR_VERSION=4 -DMINOR_VERSION=2 -DPATCHLEVEL=1  -c -o preproc.o
preproc.c -MMD
In file included from preproc.y:6606:
pgc.c: In function ‘yylex’:
pgc.c:1549: warning: label ‘find_rule’ defined but not used

_GNU_SOURCE   -c -o mac.o mac.c -MMD
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g
-I../../../../src/include -D_GNU_SOURCE   -c -o inet_net_ntop.o
inet_net_ntop.c -MMD
inet_net_ntop.c: In function ‘inet_cidr_ntop_ipv6’:
inet_net_ntop.c:292: warning: value computed is not used



pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Unresolved Win32 bug reports
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Google SoC--Idea Request