I got compiling troubles with the last pf_support.mx updates:
I got compiling troubles with the last pf_support.mx updates:

It was caused by the line:

} *_dst = ((((int*) &_tmp)[0] ^ ((int*) &_tmp)[1]) & 0x7fffffff);

In the QUERY_HASH macro.

pf_support.mx: In function `CMDxquery_hash':
pf_support.mx:4941: warning: dereferencing type-punned pointer will break strict-aliasing rules
pf_support.mx:4941: warning: dereferencing type-punned pointer will break strict-aliasing rules
pf_support.mx: In function `CMDxquery_hash_bat':
pf_support.mx:4954: warning: dereferencing type-punned pointer will break strict-aliasing rules
pf_support.mx:4954: warning: dereferencing type-punned pointer will break strict-aliasing rules


I added two (void*) casts and now it compiles on SuSe9.3

} *_dst = ((((int*) (void*)&_tmp)[0] ^ ((int*) (void*)&_tmp)[1]) & 0x7fffffff);

Hope it also compiles on other architectures,

JanF.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb