S
Steve Richter
I finally get my 6.0 c++ code to compile in .NET. Now there are a lot
of warnings in the .NET compile. Under 6.0, the complile of a very
large body of code results in 25 warnings. With C++ .NET, the same
file compiles with 228 errors.
Here is an example:
int SecondsToMilliSeconds( double nSeconds )
{
return( nSeconds * 1000 ) ;
}
gives warning:
c:\srcom\acsubs.cpp(2584) : warning C4244: 'return' : conversion from
'double' to 'int', possible loss of data.
Under 6.0 I dont see that warning.
I am worried that all the warnings will obscure the warnings that I
need to see.
Can I tell the .NET compile to compile under the warning rules of 6.0?
-Steve
of warnings in the .NET compile. Under 6.0, the complile of a very
large body of code results in 25 warnings. With C++ .NET, the same
file compiles with 228 errors.
Here is an example:
int SecondsToMilliSeconds( double nSeconds )
{
return( nSeconds * 1000 ) ;
}
gives warning:
c:\srcom\acsubs.cpp(2584) : warning C4244: 'return' : conversion from
'double' to 'int', possible loss of data.
Under 6.0 I dont see that warning.
I am worried that all the warnings will obscure the warnings that I
need to see.
Can I tell the .NET compile to compile under the warning rules of 6.0?
-Steve