- Code: Select all Expand view
- #include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL cVar := SPACE( 35 )
DEFINE DIALOG oDlg
@ 1, 1 GET cVar
ACTIVATE DIALOG oDlg;
ON INIT MSGINFO();
CENTER
RETURN NIL
I get this warning in Harbour and xHarbour:
- Code: Select all Expand view
- Harbour 3.2.0dev (r1605041350)
Copyright (c) 1999-2016, http://harbour-project.org/
test.prg(16) Warning W0004 Codeblock parameter 'SELF' declared but not used in function 'MAIN'
- Code: Select all Expand view
- xHarbour 1.2.3 Intl. (SimpLex) (Build 20170513)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
test.prg(16) Warning W0004 Codeblock parameter: 'SELF' declared but not used in function: 'MAIN'
The problem is /w3 compiler switch that I want to use absolutely. In xHarbour I can use /wb- to avoid that warning but Harbour doesn't support that switch.
Any ideas?
EMG