Search

Visual C++: int_fast8_t Not Always Signed by Timothy003

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 532883
Opened: 2/11/2010 7:42:19 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
When compiling with /J, std::int_fast8_t is unsigned.
Details (expand)

Product Language

English

Version

Visual Studio 2010 Release Candidate

Operating System

Windows 7

Operating System Language

English

Steps to Reproduce

Compile and execute the following C++ code with the /J compiler option:

#include <cstdint>
#include <limits>
#include <iostream>

int main()
{
    std::cout << std::numeric_limits<std::int_fast8_t>::is_signed << std::endl;
}

Actual Results

0

Expected Results

1
      You can indicate your satisfaction with how Microsoft handled this issue by completing this quick 3 question survey. [Details]

 

File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 6/22/2010 at 2:07 PM
Hi,

Thanks again for reporting this bug. We've fixed it, and the fix will be available in VC11.

As always, if you have any further questions, feel free to E-mail me at stl@microsoft.com .

Stephan T. Lavavej
Visual C++ Libraries Developer
Posted by Microsoft on 2/12/2010 at 4:24 PM
Hi,

Thanks for reporting this bug. It's too late to fix this in VC10 (despite the fact that it's trivial, only truly major bugs are eligible to be fixed between RC and RTM), but we'll keep this bug open so that it can be fixed in VC11.

If you have any further questions, feel free to E-mail me at stl@microsoft.com .

Stephan T. Lavavej
Visual C++ Libraries Developer
Posted by Microsoft on 2/12/2010 at 1:32 AM
Thank you for your feedback, We are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com).
Sign in to post a workaround.