Doug
Sun Oct 12 12:53:07 CDT 2008
On Sat, 11 Oct 2008 02:11:01 -0700, George
<George@discussions.microsoft.com> wrote:
>Thanks Doug,
>
>
>1. Do you think it is an IDE bug to prevent mouse to show the correct
>definition and also go to the wrong definition of 32-bit when developing
>64-bit application?
Yeah, I think it's a bug. A good hint was contained in what I originally
told you, namely, "If you want to report the bug..."
>>You're not going to find some IDE setting called "Display correct typedefs
>>in tooltips." If you want to report the bug, you can do so here:
>>
http://connect.microsoft.com/feedback/default.aspx?SiteID=210
>2. I have tried without any header files, size_t x will compile. It proves
>size_t is a built-in type?
Again, the answer to your question may be found in what I originally told
you, namely:
>>Try to compile this fragment:
>>
>>size_t x;
>>
>>Last time I checked, it will compile, because VC makes size_t an intrinsic
>>type. This is a (minor) deviation from the standard, which requires size_t
>>to be a typedef defined in various header files.
>
>But I searched MSDN never mentions this
MSDN doesn't mention a lot of things.
>and never describes size_t is for 32-bit for x86 and 64-bit for x64.
But I'm pretty sure it describes size_t WRT x86 and x64. If it doesn't,
well, you can report the documentation bug using the link I gave you in my
first message.
--
Doug Harrison
Visual C++ MVP