RELEASE STOPPER? nonportable int64 constants in pg_crc.c

Поиск
Список
Период
Сортировка
Искать

RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>
Дата:

Recent changes in pg_crc.c (64 bit CRC) introduced non portable constants of the form:

 -c -o pg_crc.o pg_crc.c
      287 |         0x0000000000000000, 0x42F0E1EBA9EA3693,
            ............................a..................
a - 1506-207 (W) Integer constant 0x42F0E1EBA9EA3693 out of range.

I guess this will show up on a lot of non gcc platforms !!!!!
It shows no diffs in the regression tests! From what I understand,
failure would only show up after fast shutdown/crash.

Attached is a patch, but I have no idea how portable that is.

Andreas

Re: Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:

Re: Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Re: Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Re: Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:

Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:

Re: Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:

Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:

Re: Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
The Hermit Hacker <scrappy@hub.org>
Дата:

Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:

Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
FAQ