I don't think we need warnings in generated classes.
By default TreatWarningsAsErrors = (WarningLevel > 0).
I don't want to touch WarningLevel in my system.codedom section, and <providerOption name="WarnAsError" value="false" /> is taken into account only for Web Forms compilation.
So it will be nice to to set TreatWarningsAsErrors = false in code. Or at least read the provider <providerOption name="WarnAsError" value="false" /> (unfortunately it is internal so read is only possible via reflection).
Issue is actual only for later versions of Spark, in 1.0release compiler parameters were created via new CompilerParameters().
Comments: ** Comment from web user: tgmayfield **
Actually, depending on the warning you may have to drop it lower. Mea culpa.
URL: http://sparkviewengine.codeplex.com/workitem/3873