Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#31 Failure to compile source under STLport5.0.X

closed-rejected
5
2006-06-08
2006-04-12
Anonymous
No

I have an application which contain some C++ code that
uses STLport. This code used to compile successfully
under STLport4.6.X (that is when using these STL header
files).

Note that I am using Intel C++ compiler 9.0 for linux
ia64 systems.

My problem is that I lately tried to compile this code
such that it uses the STL headers from STLport5.0.1
(or STLport5.0.2). Here one of the sources failled
very strangly to compile with an error messages:

(IMPORTANT: notice the messages related to _Node and
_M_ht as not being members of the chain of class
inheratence)

icpc -O3 -DNDEBUG
-I/store/ayad/starcd/Genesis/pro4_dev/STLport-5.0.2//stlport
-I/sw/sdev/intel-cc/9.0.032/include
-I/sw/sdev/intel-cc/9.0.032/include/c++
-I/store/ayad/starcd/Genesis/pro4_dev/prep4000_9ecc/TOOLSDIR/ccmio/dev/include
-I/store/ayad/starcd/Genesis/pro4_dev/meshkernel_9ecc/src
-I/store/ayad/starcd/Genesis/pro4_dev/prep4000_9ecc/TOOLSDIR/mesa/dev/include
-I/usr/X11R6/include
-I/store/ayad/starcd/Genesis/pro4_dev/prep4000_9ecc/TOOLSDIR/renderer/dev/include
-DOS64BIT -ftz -tpp2 -w -mrelax -DRENDSTLPORT
-DRENDNOGL -fPIC -c CPP/CFacesFromCells.cpp -o
CPP/CFacesFromCells.o

CPP/CFacesFromCells.cpp(1493): error: class
"stlp_priv::_Ht_iterator<stlpmtx_std::hashtable<stlpmtx_std::hash_map<CFace,
ngeom::CFaceData, CTopoList::HashType,
CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::value_type,
stlpmtx_std::hash_map<CFace, ngeom::CFaceData,
CTopoList::HashType, CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::key_type, CTopoList::HashType,
stlpmtx_std::hash_map<CFace,
ngeom::CFaceData, CTopoList::HashType,
CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::_HashMapTraits,
stlpmtx_std::_Select1st<stlpmtx_std::hash_map<CFace,
ngeom::CFaceData, CTopoList::HashType,
CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::value_type>, CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::_ElemsIte,

stlpmtx_std::hashtable<stlpmtx_std::hash_map<CFace,
ngeom::CFaceData, CTopoList::HashType,
CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::value_type,
stlpmtx_std::hash_map<CFace, ngeom::CFaceData,
CTopoList::HashType, CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::key_type, CTopoList::HashType,
stlpmtx_std::hash_map<CFace, ngeom::CFaceData,
CTopoList::HashType, CTopoList::EqualType,

stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::_HashMapTraits,
stlpmtx_std::_Select1st<stlpmtx_std::hash_map<CFace,
ngeom::CFaceData, CTopoList::HashType,
CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::value_type>, CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::_NonConstTraits>" has no member
"_Node" <<<<--------------- THIS MESSAGE!
for
(pFacei=RESTORE_ITERATOR(pFacei->second.next,faceMap);
^

CPP/CFacesFromCells.cpp(1493): error: class
"stlp_priv::_Ht_iterator<stlpmtx_std::hashtable<stlpmtx_std::hash_map<CFace,
ngeom::CFaceData, CTopoList::HashType,
CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::value_type,
stlpmtx_std::hash_map<CFace, ngeom::CFaceData,
CTopoList::HashType, CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::key_type, CTopoList::HashType,
stlpmtx_std::hash_map<CFace,
ngeom::CFaceData, CTopoList::HashType,
CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::_HashMapTraits,
stlpmtx_std::_Select1st<stlpmtx_std::hash_map<CFace,
ngeom::CFaceData, CTopoList::HashType,
CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::value_type>, CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::_ElemsIte,

stlpmtx_std::hashtable<stlpmtx_std::hash_map<CFace,
ngeom::CFaceData, CTopoList::HashType,
CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::value_type,
stlpmtx_std::hash_map<CFace, ngeom::CFaceData,
CTopoList::HashType, CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::key_type, CTopoList::HashType,
stlpmtx_std::hash_map<CFace, ngeom::CFaceData,
CTopoList::HashType, CTopoList::EqualType,

stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::_HashMapTraits,
stlpmtx_std::_Select1st<stlpmtx_std::hash_map<CFace,
ngeom::CFaceData, CTopoList::HashType,
CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::value_type>, CTopoList::EqualType,
stlpmtx_std::allocator<stlpmtx_std::pair<const CFace,
ngeom::CFaceData>>>::_NonConstTraits>" has no member
"_M_ht" <<<<--------------- THIS MESSAGE!

My main question to you, has this (or something
similar) been reported by other users?
Or is this a known issue?

thanks

Ayad jassim
ayad@sgi.com
Silicon Graphics Inc

Discussion

    • assigned_to: nobody --> complement
    • status: open --> closed-rejected