Re: Problem with debug IDE displaying value of __int64
From: Tarek Madkour [MSFT] (tarekm_at_online.microsoft.com)
Date: 09/23/04
- Next message: SteveK: "Newb w/ simple wrapping ?"
- Previous message: raphtee: "Re: User defined messages to the Document"
- In reply to: Jesse Hose: "Problem with debug IDE displaying value of __int64"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 13:30:14 -0700
"=?Utf-8?B?SmVzc2UgSG9zZQ==?="
<JesseHose@discussions.microsoft.com> wrote in
news:8D45A783-6FE3-4991-B99B-2DAE462C48B4@microsoft.com:
> I get odd behavior in the debugger with the following code. The
> output of the program itself is correct, but when I add the
> g_bad_int64_max and g_bad_int64_min to the watch window they
> show values of -1 and 0 repsectively. This only happens when
> initializing a const __int64 in global scope with a literal
> constant. I fooled around with the initial value and it looks
> like the upper 32 bits are being ignored. Is this a known
> issue?
It's a bug in VS2003. This is fixed in VS2005.
Thanks,
-- Tarek Madkour, Visual C++ Team This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: SteveK: "Newb w/ simple wrapping ?"
- Previous message: raphtee: "Re: User defined messages to the Document"
- In reply to: Jesse Hose: "Problem with debug IDE displaying value of __int64"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|