Обсуждение: pgsql: Fix use of offsetof()

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

pgsql: Fix use of offsetof()

От
Peter Eisentraut
Дата:
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 <hlinnaka@iki.fi>
Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>

Branch
------
master

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

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