Boo

Warning suppression/promotion options

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 0.8.2
  • Fix Version/s: 0.9
  • Labels:
    None
  • Number of attachments :
    0

Description

Introduce two new compiler options (booc/nant/msbuild):
-nowarn:BCW0001,...
-warnaserror:BCW0001,...

In the CompilerParameters, add four methods:
SuppressWarning(string code)
RestoreWarning(string code)
PromoteWarningAsError(string code)
RevokeWarningAsError(string code)

Internally it uses Adding event on CompilerWarningCollection, however this provides an easier
alternative wrt the suppression/promotion of warnings (especially wrt BOO-1126)

Activity

Hide
Cedric Vivier added a comment -

Landed in rev. 3170.

Show
Cedric Vivier added a comment - Landed in rev. 3170.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: