Magnus, I am seeing this compile warning, I think related to work you
were doing:
guc.c:7116: warning: `assign_backslash_quote' defined but not used
--
Bruce Momjian [EMAIL PROTECTED]http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your
Bruce Momjian wrote:
Magnus, I am seeing this compile warning, I think related to work you
were doing:
guc.c:7116: warning: `assign_backslash_quote' defined but not used
Yup, that's mine, fixed.
//Magnus
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes
I get the following warning compiling CVS HEAD:
[neilc:/Users/neilc/pgsql]% make -C src/backend/utils/error all
[ ... ]
gcc -no-cpp-precomp -O0 -Winline -fno-strict-aliasing -g -Wall
-Wmissing-prototypes -Wmissing-declarations -I../../../../src/include
-I/sw/include -c -o elog.o elog.c -MMD
Neil Conway [EMAIL PROTECTED] writes:
I get the following warning compiling CVS HEAD:
[neilc:/Users/neilc/pgsql]% make -C src/backend/utils/error all
[ ... ]
gcc -no-cpp-precomp -O0 -Winline -fno-strict-aliasing -g -Wall
-Wmissing-prototypes -Wmissing-declarations -I../../../../src/include
Tom Lane wrote:
Neil Conway [EMAIL PROTECTED] writes:
I get the following warning compiling CVS HEAD:
[neilc:/Users/neilc/pgsql]% make -C src/backend/utils/error all
[ ... ]
gcc -no-cpp-precomp -O0 -Winline -fno-strict-aliasing -g -Wall
-Wmissing-prototypes -Wmissing-declarations
Andrew Dunstan [EMAIL PROTECTED] writes:
*sigh*
my local (linux) man for gettimeofday says this:
struct timeval {
time_t tv_sec;/* seconds */
suseconds_ttv_usec; /* microseconds */
};
Yeah, but mine (HPUX) says that tv_sec
- Original Message -
From: Andrew Dunstan [EMAIL PROTECTED]
To: PostgreSQL Hackers Mailing List [EMAIL PROTECTED]
Sent: Saturday, October 11, 2003 8:58 AM
Subject: Re: [HACKERS] compile warning
- Original Message -
From: Manfred Spraul [EMAIL PROTECTED]
The kernel is still
Andrew Dunstan wrote:
I have a fix for this which I will post to patches - essentially you cast
the pointers to (void *) and the compiler doesn't complain. It would be a
pity to turn off strict aliasing altogether, as it is known to improve
performance in some cases.
Tested on Cygwin/GCC
- Original Message -
From: Bruce Momjian [EMAIL PROTECTED]
To: Andrew Dunstan [EMAIL PROTECTED]
Cc: PostgreSQL Hackers Mailing List [EMAIL PROTECTED]
Sent: Saturday, October 11, 2003 11:26 AM
Subject: Re: [HACKERS] compile warning
Andrew Dunstan wrote:
I have a fix for this which
-
From: Bruce Momjian [EMAIL PROTECTED]
To: Andrew Dunstan [EMAIL PROTECTED]
Cc: PostgreSQL Hackers Mailing List [EMAIL PROTECTED]
Sent: Saturday, October 11, 2003 11:26 AM
Subject: Re: [HACKERS] compile warning
Andrew Dunstan wrote:
I have a fix for this which I will post
On Sat, Oct 11, 2003 at 12:17:42PM -0400, Andrew Dunstan wrote:
If you don't want to do this we could turn off strict-aliasing. You might
take a performance hit, though - see
http://www.freetype.org/pipermail/devel/2003-June/009452.html for info on
what the FreeType people found.
See the
Alvaro Herrera wrote:
On Thu, Oct 09, 2003 at 11:51:09PM -0400, Bruce Momjian wrote:
Alvaro Herrera wrote:
I'm seeing this compile warning on today's CVS tip:
$ make src/backend/commands/tablecmds.o
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -I./src/include
Bruce Momjian wrote:
This seems to be a bug in gcc-3.3.1. -fstrict-aliasing is enabled by
-O2 or higher optimization in gcc 3.3.1.
Now that I think of it, they might be talking about an optimization
called register aliasing, where they are taking the structure and
mapping it to a CPU register
Andrew Dunstan wrote:
Bruce Momjian wrote:
This seems to be a bug in gcc-3.3.1. -fstrict-aliasing is enabled by
-O2 or higher optimization in gcc 3.3.1.
According to the C standard, it's illegal to access a data with a
pointer of the wrong type. The only exception is char *.
This can be used
Alvaro Herrera wrote:
I'm seeing this compile warning on today's CVS tip:
$ make src/backend/commands/tablecmds.o
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -I./src/include
-D_GNU_SOURCE -c -o src/backend/commands/tablecmds.o
src/backend/commands/tablecmds.c
On Thu, Oct 09, 2003 at 11:51:09PM -0400, Bruce Momjian wrote:
Alvaro Herrera wrote:
I'm seeing this compile warning on today's CVS tip:
$ make src/backend/commands/tablecmds.o
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -I./src/include
-D_GNU_SOURCE -c -o
I'm seeing this compile warning on today's CVS tip:
$ make src/backend/commands/tablecmds.o
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -I./src/include
-D_GNU_SOURCE -c -o src/backend/commands/tablecmds.o src/backend/commands/tablecmds.c
src/backend/commands/tablecmds.c: In
17 matches
Mail list logo