- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With this simple console program I get some Intel Inspector 2011 problems:
#include
int main()
{
typeid(int).name();
return 0;
}
In vs2008 SP1 I get 5 events about invalid reads, leaks and mismatched allocations and in vs2010 I get a windows resource leak.
It looks like the type_info::name member function is not handled correctly by the tool or that in fact it contains some kind of problem.
Regards,
Isaac Lascasas.
#include
int main()
{
typeid(int).name();
return 0;
}
In vs2008 SP1 I get 5 events about invalid reads, leaks and mismatched allocations and in vs2010 I get a windows resource leak.
It looks like the type_info::name member function is not handled correctly by the tool or that in fact it contains some kind of problem.
Regards,
Isaac Lascasas.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I used your reference code to build my console application, Visual Studio* 2008 SP1 - didn't find any error in RTTI. Only one error was captured in MSVCR90D.dll - initcrit.c, which locatesat InitializeCriticalSetctionAndSpinCount(), actually this can be ignored.
Regards, Peter
// console.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#includeint _tmain(int argc, _TCHAR* argv[])
{
typeid(int).name();
return 0;
}

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page