VCMidlTool.WarnAsError Özellik

Tanım

Derleyicinin tüm uyarıları hata olarak değerlendirip değerlendirmediğini gösteren bir değer alır veya ayarlar.

public:
 property bool WarnAsError { bool get(); void set(bool value); };
public:
 property bool WarnAsError { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(7)]
public bool WarnAsError { [System.Runtime.InteropServices.DispId(7)] get; [System.Runtime.InteropServices.DispId(7)] set; }
[<System.Runtime.InteropServices.DispId(7)>]
[<get: System.Runtime.InteropServices.DispId(7)>]
[<set: System.Runtime.InteropServices.DispId(7)>]
member this.WarnAsError : bool with get, set
Public Property WarnAsError As Boolean

Özellik Değeri

Boolean

true Derleyici tüm uyarıları hata olarak kabul eder; Aksi takdirde, false .

Öznitelikler

Açıklamalar

WarnAsError C++ derleyicisinin /w,/W0,/W1,/W2,/W3,/W4,/W1,/W2,/W3,/W4,/duvar,/WD,/we,/Wo,/WV,/WX (uyarı düzeyi) seçeneği ve MIDL derleyicisinin MIDL özellik sayfaları: genel seçeneğini sunar.

Şunlara uygulanır