[Pkg-ace-devel] Bug#336020: ace - FTBFS: error: request for member `hash' in `t', which is of non-class type `const long unsigned int'

thomas.g.girard at free.fr thomas.g.girard at free.fr
Fri Nov 18 12:46:54 UTC 2005


Selon Bastian Blank <waldi at debian.org>:

> Package: ace
> Version: 5.4.7-5
> Severity: serious
>
> There was an error while trying to autobuild your package:
>
> > Automatic build of ace_5.4.7-5 on debian01 by sbuild/s390 69
> [...]
> > g++-3.4 -W -Wall -Wpointer-arith -O3 -pipe   -D_REENTRANT
> -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -DACE_HAS_SYS_SIGLIST=1
> -DACE_GPERF=\"gperf-ace\"   -I/build/buildd/ace-5.4.7/ACE_wrappers
> -I/build/buildd/ace-5.4.7/ACE_wrappers/TAO -DACE_NDEBUG -DACE_USE_RCSID=0
> -I/usr/kerberos/include -DACE_HAS_EXCEPTIONS -DACE_COMPILE_TIMEPROBES
> -I../../../.. -I../../.. -I../../../orbsvcs -I../../DAnCE -I../../DAnCE/ciao
> -I/include -I../../DAnCE/Config_Handlers -DXML_USE_PTHREADS
> -DCONFIG_HANDLERS_BUILD_DLL  -c -fPIC -o .shobj/IDREF_Base.o IDREF_Base.cpp
> > /build/buildd/ace-5.4.7/ACE_wrappers/ace/Functor_T.inl: In member function
> `long unsigned int ACE_Hash<TYPE>::operator()(const TYPE&) const [with TYPE =
> size_t]':
> > /build/buildd/ace-5.4.7/ACE_wrappers/ace/Hash_Map_Manager_T.inl:73:
> instantiated from `u_long ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, HASH_KEY,
> COMPARE_KEYS, ACE_LOCK>::hash(const EXT_ID&) [with EXT_ID = size_t, INT_ID =
> ACE_CString, HASH_KEY = ACE_Hash<size_t>, COMPARE_KEYS =
> ACE_Equal_To<size_t>, ACE_LOCK = ACE_Null_Mutex]'
> > /build/buildd/ace-5.4.7/ACE_wrappers/ace/Hash_Map_Manager_T.cpp:300:
> instantiated from `int ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, HASH_KEY,
> COMPARE_KEYS, ACE_LOCK>::shared_find(const EXT_ID&,
> ACE_Hash_Map_Entry<EXT_ID, INT_ID>*&, size_t&) [with EXT_ID = size_t, INT_ID
> = ACE_CString, HASH_KEY = ACE_Hash<size_t>, COMPARE_KEYS =
> ACE_Equal_To<size_t>, ACE_LOCK = ACE_Null_Mutex]'
> > /build/buildd/ace-5.4.7/ACE_wrappers/ace/Hash_Map_Manager_T.inl:182:
> instantiated from `int ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, HASH_KEY,
> COMPARE_KEYS, ACE_LOCK>::find_i(const EXT_ID&, INT_ID&) [with EXT_ID =
> size_t, INT_ID = ACE_CString, HASH_KEY = ACE_Hash<size_t>, COMPARE_KEYS =
> ACE_Equal_To<size_t>, ACE_LOCK = ACE_Null_Mutex]'
> > /build/buildd/ace-5.4.7/ACE_wrappers/ace/Hash_Map_Manager_T.inl:210:
> instantiated from `int ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, HASH_KEY,
> COMPARE_KEYS, ACE_LOCK>::find(const EXT_ID&, INT_ID&) const [with EXT_ID =
> size_t, INT_ID = ACE_CString, HASH_KEY = ACE_Hash<size_t>, COMPARE_KEYS =
> ACE_Equal_To<size_t>, ACE_LOCK = ACE_Null_Mutex]'
> > IDREF_Base.cpp:47:   instantiated from here
> > /build/buildd/ace-5.4.7/ACE_wrappers/ace/Functor_T.inl:8: error: request
> for member `hash' in `t', which is of non-class type `const long unsigned
> int'


Hello,

I believe the patch available here
http://cvs.doc.wustl.edu/viewcvs.cgi/ace/Functor.inl.diff?r1=4.4&r2=4.5 should
do the trick.

I'll have a look at it this evening.

Thanks,

Thomas




More information about the Pkg-ace-devel mailing list