[Ludiafuncs-hackers] Remove compiler warnings

Back to archive index

Beena Emerson memis****@gmail*****
2013年 8月 19日 (月) 21:55:03 JST


It is noticed that while compiling Ludia Functions with postgresql 9.3 and
9.4, the following warnings messages are got:

ludia_funcs.c:1019:2: warning: implicit declaration of function
‘heap_form_tuple’ [-Wimplicit-function-declaration]
ludia_funcs.c:1019:8: warning: assignment makes pointer from integer
without a cast [enabled by default]

This warning messages are displayed because in 9.3, there has been some
re-organization and the extern definition of heap_form_tuple has been moved
from include/access/htup.h to include/access/htup_details.h.

The attached patch checks the postgresql version and adds the new header if
required.

-- 
Beena Emerson
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下載 
-------------- next part --------------
$B%F%-%9%H7A<00J30$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
$B%U%!%$%kL>(B: remove-compiler-warnings.patch
$B7?(B:         application/octet-stream
$B%5%$%:(B:     313 $B%P%$%H(B
$B @ bL@(B:       $BL5$7(B
URL:        http://lists.sourceforge.jp/mailman/archives/ludiafuncs-hackers/attachments/20130819/d7d369ad/attachment.obj 



Ludiafuncs-hackers メーリングリストの案内
Back to archive index