pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql/ /configure.in /configure rc/include/con ...
3+ messages / 3 participants
[nested] [flat]
* pgsql/ /configure.in /configure rc/include/con ...
@ 2001-03-23 18:42 Tom Lane <tgl@hub.org>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2001-03-23 18:42 UTC (permalink / raw)
To: pgsql-committers@postgresql.org
CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl@hub.org 01/03/23 13:42:12
Modified files:
. : configure.in configure
src/include : config.h.in
src/include/utils: pg_crc.h
src/backend/utils/hash: pg_crc.c
Log message:
When using 'long long int' for int64 type, check to see if the compiler
accepts nnnLL syntax for long long constants. If so, decorate the CRC64
constants with LL to avoid warnings and/or erroneous results from certain
non-standards-compliant compilers.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql/ /configure.in /configure rc/include/con ...
@ 2001-03-23 20:30 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Tom Lane <tgl@hub.org>
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Momjian @ 2001-03-23 20:30 UTC (permalink / raw)
To: Tom Lane <tgl@hub.org>; +Cc: pgsql-interfaces
FYI, ecpg had several 0LL's. I changed them to (long long)0 because
there was not LL test at the time.
> CVSROOT: /home/projects/pgsql/cvsroot
> Module name: pgsql
> Changes by: tgl@hub.org 01/03/23 13:42:12
>
> Modified files:
> . : configure.in configure
> src/include : config.h.in
> src/include/utils: pg_crc.h
> src/backend/utils/hash: pg_crc.c
>
> Log message:
> When using 'long long int' for int64 type, check to see if the compiler
> accepts nnnLL syntax for long long constants. If so, decorate the CRC64
> constants with LL to avoid warnings and/or erroneous results from certain
> non-standards-compliant compilers.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql/ /configure.in /configure rc/include/con ...
@ 2001-03-23 20:32 Tom Lane <tgl@sss.pgh.pa.us>
parent: Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Tom Lane @ 2001-03-23 20:32 UTC (permalink / raw)
To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: pgsql-interfaces
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> FYI, ecpg had several 0LL's. I changed them to (long long)0 because
> there was not LL test at the time.
Should leave 'em that way, I'd say. Zero does not need LL decoration...
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-03-23 20:32 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-23 18:42 pgsql/ /configure.in /configure rc/include/con ... Tom Lane <tgl@hub.org>
2001-03-23 20:30 ` Bruce Momjian <pgman@candle.pha.pa.us>
2001-03-23 20:32 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox