[stlport-bugs] [ stlport-Bugs-1721844 ] type_info is not a member of stlpmtx_std
Brought to you by:
complement
From: SourceForge.net <no...@so...> - 2007-05-28 09:41:51
|
Bugs item #1721844, was opened at 2007-05-19 17:22 Message generated for change (Settings changed) made by dums You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=766244&aid=1721844&group_id=146814 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Operational Environment/Compiler specific code Group: None Status: Open Resolution: None Priority: 1 Private: No Submitted By: sakarab (sakarab) >Assigned to: Francois Dumont (dums) Summary: type_info is not a member of stlpmtx_std Initial Comment: The following sample program, gives an error on compilaton with CodeGear Turbo Explorer 2006. The error is: "type_info is not a member of stlpmtx_std". #include <typeinfo> class A {}; int main() { const std::type_info& ti = typeid(A); return 0; } Using STLPort 5.1.3 ---------------------------------------------------------------------- Comment By: sakarab (sakarab) Date: 2007-05-23 22:40 Message: Logged In: YES user_id=1512556 Originator: YES To be sure that there is no change in compiler options, I added the following lines in "test/unit/typeinfo_header_test.cpp" file: <code> namespace { class A {}; void useless_function() { const std::type_info& ti = typeid(A); } }; </code> and tried to recompile the unit tests. It stoped in this modified file. Only this time the message is: 'type_info' is not a member of stlp_std ---------------------------------------------------------------------- Comment By: Petr Ovtchenkov (complement) Date: 2007-05-23 08:07 Message: Logged In: YES user_id=615813 Originator: NO Check the compiler's options you compile you test case and compare with compiler's options from unit tests builds. STLport compiled (by default) with threads support, while you not. Reopen this ticket in case of problem remains. ---------------------------------------------------------------------- Comment By: sakarab (sakarab) Date: 2007-05-22 23:54 Message: Logged In: YES user_id=1512556 Originator: YES > what about compiler name? I assumed you know. Sorry. I hope __BORLANDC__ = 0x582 is the "compiler name" you are asking for. It's a free download (www.codegear.com). > What OS name? >From the above it follows that OS=WIN32 > unit tests? The output of the unit tests is attatched. File Added: out.zip ---------------------------------------------------------------------- Comment By: Petr Ovtchenkov (complement) Date: 2007-05-20 00:15 Message: Logged In: YES user_id=615813 Originator: NO CodeGear Turbo Explorer 2006: what about compiler name? What OS name? What result of original build of library and unit tests? I.e. see http://stlport.sourceforge.net/BugReport.shtml ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=766244&aid=1721844&group_id=146814 |