Re: Disabling Warnings

Jan Kotas <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.rotor
Message-ID <DD12668590C9274E9B2226FDBD02B98807F70CC1@red-msg-08.redmond.corp.microsoft.com>
Try removing -W4 from the following files to get rid of the remaining
ones:

clr\src\ClassLibNative\Float\Sources.Inc
clr\src\ClassLibNative\NLS\Sources.inc
clr\src\VM\SOURCES.INC

"4" in "-w4" means warning level.

-Jan

This posting is provided "AS IS" with no warranties, and confers no
rights.

-----Original Message-----
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[email protected]] On Behalf Of Archana
Sent: Sunday, August 03, 2003 1:29 AM
To: [email protected]
Subject: Re: [DOTNET-ROTOR] Disabling Warnings

After making this change i still get the same message although there are
few of them now

Most of them are ones that might require explicit casting
like the following..

d:\rotor_nov1\sscli\clr\src\vm\wks\..\gcsmp.cpp(6906) : error C2220:
warning tre ated as error - no object file generated
d:\rotor_nov1\sscli\clr\src\vm\wks\..\gcsmp.cpp(6906) : warning C4018:
'>=' : signed/unsigned mismatch

and when i add /w to the compiler option it says "overriding /w with
/w4"
does 4 mean the warning level over here?

Thanks
archana

On Sat, 2 Aug 2003, Jan Kotas wrote:

> Try removing -WX and -Wall from COMPILER_WARNINGS in
> rotorenv\bin\sources.cor.
>
> -Jan
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> -----Original Message-----
> From: Discussion of the Rotor Shared Source CLI implementation
> [mailto:[email protected]] On Behalf Of Archana
> Sent: Saturday, August 02, 2003 6:19 AM
> To: [email protected]
> Subject: [DOTNET-ROTOR] Disabling Warnings
>
> Hi,
>  Wrt building Rotor on windows, How does one go about disabling
Warnings
> during the build process. And i also get the "Warning treated as
error"
> which i presume is got do with the warning level, Can someone please
> tell
> me how can i set the level to a value such that it treats a warning as
a
> warning
> Thanks & Regards,
> archana
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.