On Tue, 23 Jun 2009, Szak�ts Viktor wrote:
> I did a full rebuild with r11486, but I'm getting this with hbmk2
> (even the simplest session):
> ---
> Error F0036 Invalid filename ''
> ---
> In hbmk2, it's invoked by:
> ---
> HB_COMPILE( "", { <array of parameters> } )
> ---
> Maybe the first empty parameter is now unnecessary?
> (or it always was, but didn't cause a problem so far?)
Ups, My fault. In last commit I added:
argv[ argc++ ] = ( char * ) "";
but it was mistake.
The 1-st parameter should be application name, f.e. like in hbrun:
cFile := HB_COMPILEBUF( HB_ARGV( 0 ), "-n2", "-w", "-es2", "-q0", ;
s_aIncDir, cFile )
It allows to set by user compiler name for error messages.
I forgot about it. I'll remove above line. Sorry for troubles.
In hbmk2 you can use "hbmk2" or "harbour" as application name.
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour