Bugzilla – Bug 318391
Confusing warnings when compiling with MBAS
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by jwezel@compumaster.de 2005-06-28 07:11:47 MST ---- 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@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@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 ---- Additional Comments From rafaelteixeirabr@hotmail.com 2005-06-28 10:42:29 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO75223 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"