Bug 318391 (MONO75403) - Confusing warnings when compiling with MBAS
Summary: Confusing warnings when compiling with MBAS
Status: RESOLVED MOVED
Alias: MONO75403
Product: Mono: Compilers
Classification: Mono
Component: Basic (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-28 14:11 UTC by Jochen Wezel
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:23:25 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"