I'm working on it.
But please tell me if your problem is about "to compile" or about HMG4.
rathinagiri wrote:However, for existing projects I think -w0 will be helpful.
Clipper and Harbour are the same? Yes, but Harbour compiler is most powerfull then Blinker or Rtl, etc. IMHO, the usage of new options can help you to catch some "problems" and keep your project aligned with this compiler.
On the other hand, you can change and customize options within your batch commands.
Every time I download HMG4 I must/want change the standard batch commands....
For example adding other helpfull options (little example)
Code: Select all
SET PRGFLAG=-w3 -es2 -gtgui
HBMK2 -oFileName.exe -gui -prgflag=%PRGFLAG% -strip -trace -icon=your.ico -workdir=%WORKDIR% FileSource > %HRBLOG% 2>&1
-w3 and -es2 to keep a good code. I always recommended (on this forum many times) to use these to solve problem about Harbour/Clipper syntax. Mr Pritpal has recommended use of it regarding library compilation.
-strip to strip binaries
-workdir to prevent creation of a lot temporary working directory (..\Document and Settings\..... ) within your system directories, ecc.
- I recommended to everyone to use ".hbp" and ".hbc" files for your little/big project instead a generic "hbmk.hbm" file
So, with "HMG4" (see demo) these are not adopted: why?
But I see the "-run" option, but I think it's dangerous. Many times, I got a crash because my AV don't wants handle in a right way the new program and its dependencies.....and I removed it
Well, I'm working on your program.