[Mono-dev] xbuild and 'treat warnings as errors'

Jeff Holt jeff.holt at hotsos.com
Thu Jan 10 11:41:56 EST 2008


I am trying to build from a VS 2005 .NET csproj using mono 1.2.4 for
RHEL3. I can't get xbuild to give gmcs the /warnaserror option.

 

I found references for the CodeAnalysisTreatWarningsAsErrors property
but my attempts to use it have all failed to induce the desired
behavior.

 

I attempted xbuild after adding this property to the csproj file (with a
true value) and I've also tried executing xbuild with the option
/property:CodeAnalysisTreatWarningsAsErrors=true. In both cases, nothing
changed.

 

Manually executing gmcs is not an option.

 

I've tried installing 1.2.6 from source on RHEL3 but when I uncovered
the glibc setaffinity bug I decided to search for a RHEL3 rpm. I could
go back to implementing 1.2.6 on RHEL3 but it seems silly to do so if
version 1.2.6 also does not have the so-called 'treat warnings as
errors' xbuild feature.

 

Does the feature exists? If it doesn't but is planned, then (1) what
release is it planned for and (2) should I go ahead and implement it and
offer up a patch?

 

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080110/96e17be3/attachment.html 


More information about the Mono-devel-list mailing list