Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c - Mailing list pgsql-admin

From Kiswono Prayogo
Subject Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c
Date
Msg-id l2j99024f5f1004071819tf1372a77r293b3073f57571a7@mail.gmail.com
Whole thread Raw
Responses Re: Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-admin
Just reporting that Alpha 4 was working just fine..
http://pastebin.com/ri2gXJDN

but Alpha 5 didn't:

make[4]: Entering directory
`/home/kyz/Repository/postgres/pgsql/src/backend/utils/error'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -g -Werror -I../../../../src/include -D_GNU_SOURCE
-I/usr/include/libxml2   -c -o assert.o assert.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -g -Werror -I../../../../src/include -D_GNU_SOURCE
-I/usr/include/libxml2   -c -o elog.o elog.c
cc1: warnings being treated as errors
elog.c: In function ‘write_console’:
elog.c:1698: error: ignoring return value of ‘write’, declared with
attribute warn_unused_result
elog.c: In function ‘write_pipe_chunks’:
elog.c:2390: error: ignoring return value of ‘write’, declared with
attribute warn_unused_result
elog.c:2399: error: ignoring return value of ‘write’, declared with
attribute warn_unused_result
make[4]: *** [elog.o] Error 1
make[4]: Leaving directory
`/home/kyz/Repository/postgres/pgsql/src/backend/utils/error'
make[3]: *** [error-recursive] Error 2
make[3]: Leaving directory
`/home/kyz/Repository/postgres/pgsql/src/backend/utils'
make[2]: *** [utils-recursive] Error 2
make[2]: Leaving directory `/home/kyz/Repository/postgres/pgsql/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kyz/Repository/postgres/pgsql/src'
make: *** [all] Error 2

--
Regards,
Kiswono P
GB

pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Database level encryption
Next
From: Tom Lane
Date:
Subject: Re: Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c