dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Supporting MS Error code syntax


From: Rhys Weatherley
Subject: Re: [DotGNU]Supporting MS Error code syntax
Date: Fri, 08 Nov 2002 09:15:04 +1000

Adam Treat wrote:

> Howabout support for the csc style /nowarn option in csant?

Possibly.  The csant tool does have the ability to pass compiler-specific
options where necessary.  e.g.

    <arg compiler="cscc" value="-Wno-empty-input"/>
    <arg compiler="csc" value="/nowarn:626"/>
    <arg compiler="csc" value="/nowarn:649"/>
    <arg compiler="csc" value="/nowarn:168"/>
    <arg compiler="csc" value="/nowarn:67"/>
    <arg compiler="csc" value="/nowarn:169"/>

That comes from pnetlib's "runtime.build" file.  It may be better to add
something like:

    <warning name="no-empty-input"/>
    <warning name="no-dll-import"/>

And then let csant translate standardized names into whatever weirdo code
the underlying compiler wants to use.

Cheers,

Rhys.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]