[Mono-bugs] [Bug 75403][Wis] New - Confusing warnings when compiling with MBAS

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jun 28 07:11:47 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jwezel at compumaster.de.

http://bugzilla.ximian.com/show_bug.cgi?id=75403

--- shadow/75403	2005-06-28 07:11:47.000000000 -0400
+++ shadow/75403.tmp.1329	2005-06-28 07:11:47.000000000 -0400
@@ -0,0 +1,70 @@
+Bug#: 75403
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Basic
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: jwezel at compumaster.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Confusing warnings when compiling with MBAS
+
+Description of Problem:
+When compiling, there are lot of warning messages which are confusing, not 
+matching and only make trouble when you have to find the single one error 
+message which is really a problem
+
+Steps to reproduce the problem:
+Compile any vb script (e. g. a web page source code) like this: 
+[root at lwezel temp]# mbas test.vb /target:library
+
+Actual Results:
+MonoBASIC Compiler  0.96.2.0 - (c)2002, 2003, 2004, 2005 Rafael Teixeira
+--------
+THIS IS AN ALPHA SOFTWARE.
+--------
+test.vb(32,17) warning BC0168: The variable `1_LBArgs' is declared but 
+never used
+test.vb(32,17) warning BC0168: The variable `1_LBArgsNames' is declared 
+but never used
+test.vb(32,17) warning BC0168: The variable `1_LBCopyBack' is declared but 
+never used
+Internal warning BC0168: The variable `1_LBArgs' is declared but never used
+Internal warning BC0168: The variable `1_LBArgsNames' is declared but 
+never used
+Internal warning BC0168: The variable `1_LBCopyBack' is declared but never 
+used
+test.vb(40,21) warning BC0168: The variable `1_LBArgs' is declared but 
+never used
+test.vb(40,21) warning BC0168: The variable `AutoHandlers' is declared but 
+never used
+test.vb(40,21) warning BC0168: The variable `1_LBArgsNames' is declared 
+but never used
+test.vb(40,21) warning BC0168: The variable `1_LBCopyBack' is declared but 
+never used
+test.vb(43,17) warning BC0168: The variable `1_LBArgs' is declared but 
+never used
+test.vb(43,17) warning BC0168: The variable `1_LBArgsNames' is declared 
+but never used
+test.vb(43,17) warning BC0168: The variable `1_LBCopyBack' is declared but 
+never used
+Compilation succeeded: 13 warning(s)
+[root at lwezel temp]#
+
+
+Expected Results:
+The variables doesn't exist in the source code, so the warnings should not 
+happen.
+
+How often does this happen? 
+Always
+
+Additional Information:
+Mono 1.1.8 from 2005-06-28


More information about the mono-bugs mailing list