Re: pgsql-server: Fix TAS assembly stuff for Solaris/386.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql-server: Fix TAS assembly stuff for Solaris/386.
Дата
Msg-id 21218.1096034754@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql-server: Fix TAS assembly stuff for Solaris/386.  (Kris Jurka <books@ejurka.com>)
Ответы Re: pgsql-server: Fix TAS assembly stuff for Solaris/386.  (Kris Jurka <books@ejurka.com>)
Список pgsql-committers
Kris Jurka <books@ejurka.com> writes:
> UINT64CONST produces these in a number of places:
> "xlog.c", line 552: warning: constant promoted to unsigned long long

> it likes either ##ULL or unadorned.  The problem is we're taking a
> constant larger than long long and explicitly saying it's a long long.

No other machine we use thinks it's larger than long long --- are you
sure about that?  If that is the problem, why does the message use the
word "promoted" and not, say, "truncated"?

>> I think most of these come from flex and/or bison code that we don't
>> have a lot of control over.

> Another significant amount is from switch statements written like this:

> switch(i) {
>     case 1:
>         return 1;
>         break;
> }

Yeah, there are some of those.  Do you think it's worth cleaning up,
given that we can't do anything about the ones induced by flex/bison?

            regards, tom lane

В списке pgsql-committers по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: pgsql-server: Fix TAS assembly stuff for Solaris/386.
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: pginstaller - CVSROOT: Update address for CVS