Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.16
-
Fix Version/s: None
-
Component/s: Compiler Plugin (0.14)
-
Labels:None
-
Number of attachments :
Description
The compile warnings should be logged as warning log level (if it is possible). It will help to find the real errors.
Here is an example:
[ERROR] /projet/xmlrpc.net/target/build-sources/main-sources/XmlRpcClientProtocol.cs(980,14): warning CS0219: The variable `coen' is assigned but its value is never used
[ERROR] /projet/xmlrpc.net/target/build-sources/main-sources/XmlRpcServerProtocol.cs(42,14): warning CS0219: The variable `type' is assigned but its value is never used
[ERROR] /projet/xmlrpc.net/target/build-sources/main-sources/XmlRpcSerializer.cs(1089,24): warning CS0168: The variable `ex' is declared but never used
[ERROR] /projet/xmlrpc.net/target/build-sources/main-sources/XmlRpcServerProtocol.cs(108,10): warning CS0169: The private method `CookComputing.XmlRpc.XmlRpcServerProtocol.IsVisibleXmlRpcMethod(System.Reflection.MethodInfo)' is never used
[ERROR] /projet/xmlrpc.net/target/build-sources/main-sources/XmlRpcSerializer.cs(1876,12): warning CS0169: The private method `CookComputing.XmlRpc.XmlRpcSerializer.ParseStack.Push(string)' is never used
[ERROR] /projet/xmlrpc.net/target/build-sources/main-sources/XmlRpcServiceInfo.cs(180,17): warning CS0169: The private method `CookComputing.XmlRpc.XmlRpcServiceInfo.IsVisibleXmlRpcMethod(System.Reflection.MethodInfo)' is never used
[ERROR] /projet/xmlrpc.net/target/build-sources/generated-sources/META-INF/AssemblyInfo.cs(5,12): error CS0579: Theattribute `System.Reflection.AssemblyDescriptionAttribute' cannot be applied multiple times
[ERROR] /projet/xmlrpc.net/target/build-sources/main-sources/AssemblyDesc.cs(30,12): (Location of the symbol related to previous error)
[ERROR] /projet/xmlrpc.net/target/build-sources/main-sources/AssemblyDescFX1_0.cs(30,12): (Location of the symbol related to previous error)
[ERROR] /projet/xmlrpc.net/target/build-sources/generated-sources/META-INF/AssemblyInfo.cs(12,12): error CS0579: The attribute `System.Reflection.AssemblyVersionAttribute' cannot be applied multiple times
[ERROR] /projet/xmlrpc.net/target/build-sources/main-sources/AssemblyBuildNumber.cs(16,12): (Location of the symbolrelated to previous error)
Compilation failed: 2 error(s), 6 warnings
Thx,
Mimil
Oups sorry for the Major priority, it should be a lower priority.