Warning C4244 Issues - by Wedgette

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 611481 Comments
Status Closed Workarounds
Type Suggestion Repros 0
Opened 10/7/2010 10:16:42 AM
Access Restriction Public

Description

I'm running into an issue with Warning C4244 (http://msdn.microsoft.com/en-us/library/2d7604yb.aspx and http://msdn.microsoft.com/en-us/library/th7a07tz(VS.80).aspx).

I'm compiling with warning level 4 (/W4), but I would like to only see the level 2 version of Warning C4244. Specifically, I'm concerned with int to float conversions (show up at level 2), but not int to char (show up at level 3/4). I've tried many combinations of pragma warning and compiler settings, but haven't found one that fits my needs.

My suggestion is that two different warnings within C4244 be split, or add an additional warning that only reports the floating point conversions similar to how 4242 reports the int to char.
Sign in to post a comment.
Posted by Jamie [MSFT] on 11/11/2010 at 4:34 PM
Hello Wedgette,

This is an interesting feature request. Unfortunately we won't be able to fit this into our schedule for the next version of Visual Studio.

We appreciate the time you spent to suggest this.

Jamie Eckman
Visual C++ Team
Posted by Microsoft on 10/7/2010 at 10:23 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)