HMG4 harbour compiler option
Posted: Fri Feb 18, 2011 5:13 pm
Hi guys,
I come back on HMG4.
I seem to remember that the compilation of HMG4 library (normally for all the programs), I have to use the option /w3.
I wrote a simple program and I have compiled with this option, but I receive these warnings:
Where is my mistake?
If I use /w0 everything work fine.
Cheers
I come back on HMG4.
I seem to remember that the compilation of HMG4 library (normally for all the programs), I have to use the option /w3.
I wrote a simple program and I have compiled with this option, but I receive these warnings:
This is the piece of codepgmp000.prg(23) Warning W0001 Ambiguous reference 'OPRIORTAB'
pgmp000.prg(23) Warning W0001 Ambiguous reference 'OCURRENTPAGE'
pgmp000.prg(23) Warning W0001 Ambiguous reference 'OPRIORPAGE'
pgmp000.prg(23) Warning W0001 Ambiguous reference 'P000WIN'
pgmp000.prg(23) Warning W0001 Ambiguous reference 'P000WIN'
pgmp000.prg(23) Warning W0001 Ambiguous reference 'OCURRENTWINDOW'
pgmp000.prg(36) Warning W0001 Ambiguous reference 'OMAINMENU'
pgmp000.prg(38) Warning W0001 Ambiguous reference 'OMAINMENU'
pgmp000.prg(46) Warning W0001 Ambiguous reference 'P000WIN'
pgmp000.prg(55) Warning W0001 Ambiguous reference 'P000WIN'
pgmp000.prg(71) Warning W0001 Ambiguous reference 'P000WIN'
Line 55 and Line 71 are included in STATIC FUNCTIONSLine 23: DEFINE WINDOW p000Win
Line 24: ROW 0
Line 25: COL 0
Line 26: WIDTH 860
Line 27: HEIGHT 645
Line 28: TITLE "Main form"
Line 29: TYPE WND_MAIN
Line 30: ONINIT Win_OnInit()
Line 31: ONINTERACTIVECLOSE Win_OnInteractiveClose()
Line 32: ONRELEASE Win_OnRelease()
Line 33: FONTNAME "Arial"
Line 34: FONTSIZE 10
Line 35:
Line 36: DEFINE MAIN MENU
Line 37:
Line 38: DEFINE POPUP "&File"
Line 39: MENUITEM "e&Xit" ACTION p000_Exit()
Line 40: END POPUP
Line 41:
Line 42: END MENU
Line 43:
Line 44: END WINDOW
Line 45:
Line 46: p000Win:Activate()
Line 47:
Line 48:RETURN NIL
......
Line 55: p000Win:Center()
......
Line 71: p000Win:Release()
Where is my mistake?
If I use /w0 everything work fine.
Cheers