Re: Incorrect return clause in regression test positioned-update causing compilation error

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Incorrect return clause in regression test positioned-update causing compilation error
Дата
Msg-id 53186040.1080102@vmware.com
обсуждение исходный текст
Ответ на Incorrect return clause in regression test positioned-update causing compilation error  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-odbc
On 03/06/2014 09:46 AM, Michael Paquier wrote:
> Hi all,
>
> I found that the regression test positioned-update does not compile
> correctly on OSX because of a "return" used in main() instead of a
> plain exit().
> Patch attached fixes that.

Thanks, committed.

I wonder why other compilers haven't warned about that; the "return"
statement didn't return a value, even though the main() function was
declared to return an "int".

- Heikki


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Ignore results/ when running regression tests
Следующее
От: Michael Paquier
Дата:
Сообщение: Elimination of (more or less) all compilation warnings on OSX