A
A Wieser
I've just upgraded to SP1, and am seeing C4244 warnings on code like the
following:
void fn()
{
short a = 1;
short b = 2;
a += b; // warning C4244: '+=' : conversion from 'int' to
'short', possible loss of data i:\2005\CPP\NDS\testmsl\Calsetng.cpp 168
// but
a = a + b; // doesn't give a warning.
}
I'm not sure if this was wrong before SP1 or not, but it's reported as fixed
here:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99575
Does anyone else get this error with or without SP1?
Anthony Wieser
Wieser Software Ltd
following:
void fn()
{
short a = 1;
short b = 2;
a += b; // warning C4244: '+=' : conversion from 'int' to
'short', possible loss of data i:\2005\CPP\NDS\testmsl\Calsetng.cpp 168
// but
a = a + b; // doesn't give a warning.
}
I'm not sure if this was wrong before SP1 or not, but it's reported as fixed
here:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99575
Does anyone else get this error with or without SP1?
Anthony Wieser
Wieser Software Ltd