Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c
am 08.04.2010 03:19:09 von Kiswono PrayogoJust 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 â=98write_consoleâ=99:
elog.c:1698: error: ignoring return value of â=98writeâ=99, decla=
red with
attribute warn_unused_result
elog.c: In function â=98write_pipe_chunksâ=99:
elog.c:2390: error: ignoring return value of â=98writeâ=99, decla=
red with
attribute warn_unused_result
elog.c:2399: error: ignoring return value of â=98writeâ=99, decla=
red 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
--=20
Regards,
Kiswono P
GB
--=20
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin