Vic,

Clipper does not support /W2 - which provides extended level of  
warnings. If you don't want such warnings you should use Clipper  
compatible warnings switch /W.

Ron

On Jun 28, 2008, at 8:27 PM, [EMAIL PROTECTED] wrote:

> On Sat, 28 Jun 2008, Ron Pinkas wrote:
>> Can you please explain what is wrong?
>
>     "xVar" is never used, but it's defined for a possible usage (on a
> header file). Clipper doesn't reports this warning.
>
> Atte.
>  Vic
>
>> On Jun 28, 2008, at 12:11 PM, Vicente Guerra wrote:
>>>      The following code
>>>           MEMVAR xVar
>>>           PROCEDURE MAIN
>>>              ? "Hi!"
>>>           RETURN
>>> compiled with the "/W2" flag, produces the following error message:
>>> C:\L>harbour bb /n /w2
>>> xHarbour Compiler build 1.1.0 (SimpLex) (Rev. 6157)
>>> Copyright 1999-2008, http://www.xharbour.org http://www.harbour-
>>> project.org/
>>> Compiling 'bb.prg'...
>>> bb.prg(5) Warning W0003  Variable: 'XVAR' declared but not used in
>>> function: '*(
>>> 1)'
>>> Lines 6, Functions/Procedures 1
>>> Generating C source output to 'bb.c'...
>>> Done.
>>> C:\L>
>



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to