From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Compile fail, alpha5 & gcc 4.3.3 in elog.c |
Date: | 2010-04-02 04:53:29 |
Message-ID: | 4BB57849.6060107@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Guys,
Hmmm. I appear to have had a compile error with that alpha5 tarball,
in elog.c. No special options on compile, except an alternate directory
and port.
Ubunutu 9.10 server
GCC 4.3.3
Tries both:
./configure --with-pgport=5490 --prefix=/usr/local/pgsql/9.0/
and:
./configure --with-pgport=5490 --prefix=/usr/local/pgsql/9.0/
--enable-debug -enable-cassert
make[4]: Entering directory
`/usr/local/src/postgresql-9.0alpha5/src/backend/utils/error'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -Werror -I../../../../src/include -D_GNU_SOURCE -c -o assert.o
assert.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -Werror -I../../../../src/include -D_GNU_SOURCE -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
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-04-02 04:57:45 | Re: Compile fail, alpha5 & gcc 4.3.3 in elog.c |
Previous Message | Petr Jelinek | 2010-04-02 04:34:49 | Re: Proposal: Add JSON support |