Re: Code not compiling since 19d5486 due to concatenate operators in macros

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Code not compiling since 19d5486 due to concatenate operators in macros
Дата
Msg-id 526E422D.2050604@vmware.com
обсуждение исходный текст
Ответ на Code not compiling since 19d5486 due to concatenate operators in macros  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Code not compiling since 19d5486 due to concatenate operators in macros  (Hiroshi Inoue <inoue@tpf.co.jp>)
Список pgsql-odbc
On 28.10.2013 10:10, Michael Paquier wrote:
> Hi all,
> (resending patch as it looks that it was stuck in administration queue
> of this ML...)
>
> I noticed this morning that ODBC does not compile correctly since
> commit 19d5486 due to some macros using concatenate operators used
> with CORR_STRCPY and CORR_VALCPY in psqlodbc.c and connection.c.
>
> In the case of CORR_VALCPY the macro simply needs to copy a field one
> by one, and for CORR_STRCPY only a string is copied, so concatenate
> operators are not necessary IMO. Please find a patch fixing that by
> removing the unnecessary operators.

Thanks, committed to fix the build.

Hiroshi, I didn't understand the point of that change in the first
place. The old memcpy method of copying these objects seemed fine to me.
Can you elaborate?

PS. I just noticed that the email address in your git commit messages is
misspelled, "inoue@tpf.co.p". Check your .gitconfig file.

- Heikki


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Code not compiling since 19d5486 due to concatenate operators in macros
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Code not compiling since 19d5486 due to concatenate operators in macros