Enrico Maria Giordano wrote:The following sample gives a warning:
- Code: Select all Expand view RUN
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd, oMen
MENU oMen
MENUITEM "Test" ACTION MSGINFO( "OK" )
ENDMENU
DEFINE WINDOW oWnd;
MENU oMen
ACTIVATE WINDOW oWnd
RETURN NIL
Warning message:
- Code: Select all Expand view RUN
Warning W0004 Codeblock parameter 'OMENUITEM' declared but not used in function 'MAIN'
I use /wb- in xHarbour. Any replacement in Harbour or any other solution?
EMG
Enrico
Compiling...
Harbour 3.2.0dev (r1307082134)
Copyright (c) 1999-2013, http://harbour-project.org/
Compiling 'enr1.prg' and generating preprocessed output to 'enr1.ppo'...
Lines 4218, Functions/Procedures 1
Generating C source output to 'enr1.c'... Done.
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
enr1.c:
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
* Application successfully built *
using BuildH.bat