pgsql: Fix use of offsetof()

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
pgsql: Fix use of offsetof()
Дата
Msg-id
E1bq2HD-0002tP-Sl@gemulon.postgresql.org
Список
Fix use of offsetof()

Using offsetof() with a run-time computed argument is not allowed in
either C or C++.  Apparently, gcc allows it, but g++ doesn't.

Reviewed-by: Heikki Linnakangas 
Reviewed-by: Thomas Munro 

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f1a469c9f1cfeab9f9c7d4a5d3e75892e7b6f60c

Modified Files
--------------
contrib/bloom/blutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

В списке pgsql-committers по дате отправления
От: Peter Eisentraut
Дата:
От: Peter Eisentraut
Дата:
FAQ