Hello All

Below are the hbIDE logs ( for this matter, it is the same if it is executed
on command line ).

The MOST puzzling factor is that if I put "C:\Dev\C5\cn.prg" after
"C:\Dev\C5\ar.prg" the 
the above warnings are shown for "C:\Dev\C5\VR.PRG".

The behavior is the same for Harbour latest and Xharbour since Oct, 2007.

What I suspect is Harbour compiler gets puzzled when a lot of warnings are
issued and
those gets accumulated somewhere on the stack and runs short of
placeholders.

I can compile all the prgs one-by-one with same flags.


I am almost stuck to link this application with hbMK2 ( directly or via
hbIDE ).
Any help is appreciated.



HARBOUR
=======

----------------------------------------------------------------------------------------------------
Project [ Ar32H ]    Launch [ No ]    Rebuild [ Yes ]    Started [ 13:40:19
]
----------------------------------------------------------------------------------------------------
Batch File Exists => C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\krov89.bat
Batch File Contents => 
set HB_COMPILER=bcc
set HB_USER_CFLAGS=-D__nHARBOUR__
set HB_INS_PREFIX=E:\harbour
set HB_INC_INSTALL=E:\harbour\include
set HB_BIN_INSTALL=E:\harbour\bin
set HB_LIB_INSTALL=E:\harbour\lib
set PATH=E:\harbour;E:\harbour\bin;E:\bcc55\bin;
set HB_WITH_ADS=c:\dev\c5

hbmk2 E:\dev_hbmk\harbour\ar32h.hbp -q -trace -info -lang=en -width=512
-rebuild 

Command => C:\WINDOWS\system32\cmd.exe
Arguments => /C C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\krov89.bat
----------------------------------------------------------------------------------------------------
CurDir() => dev_hbmk Starting in => E:\dev_hbmk\harbour\

E:\dev_hbmk\harbour>set HB_COMPILER=bcc 
E:\dev_hbmk\harbour>set HB_USER_CFLAGS=-D__nHARBOUR__ 
E:\dev_hbmk\harbour>set HB_INS_PREFIX=E:\harbour 
E:\dev_hbmk\harbour>set HB_INC_INSTALL=E:\harbour\include 
E:\dev_hbmk\harbour>set HB_BIN_INSTALL=E:\harbour\bin 
E:\dev_hbmk\harbour>set HB_LIB_INSTALL=E:\harbour\lib 
E:\dev_hbmk\harbour>set PATH=E:\harbour;E:\harbour\bin;E:\bcc55\bin; 
E:\dev_hbmk\harbour>set HB_WITH_ADS=c:\dev\c5 
E:\dev_hbmk\harbour>hbmk2 E:\dev_hbmk\harbour\ar32h.hbp -q -trace -info
-lang=en -width=512 -rebuild 
hbmk2: Processing environment options: -compiler=bcc
hbmk2: Autodetected platform: win
hbmk2: Using Harbour: E:\harbour\bin E:\harbour\include E:\harbour\lib
E:\harbour\lib
hbmk2: Using C compiler: E:\bcc55\bin\bcc32.exe
hbmk2: Processing configuration: E:\harbour\bin\hbmk.cfg
hbmk2: Compiling Harbour sources...
hbmk2: Harbour compiler command (embedded):
(E:\harbour\bin\harbour.exe) -n2 C:\Dev\C5\ar.prg C:\Dev\C5\tgetint.prg
C:\Dev\C5\sr2.PRG C:\Dev\C5\cn.prg C:\Dev\C5\VR.PRG [PLUS All Other PRGS ]
-n- -m -w0 -es0 -DWIN -DADS -DCDX -D__HARBOUR__ -D__JUSTALOG__ -D__PRITLIB__
-D__MENUSCONTROL__ -D__CLASSMENU__ -D__SCREENSBYDEF__ -q
-oE:\dev_hbmk\harbour\obj\ar\ -iE:\harbour\include -ic:\dev\c5 -undef:.ARCH.
-D__PLATFORM__WINDOWS -D__LITTLE_ENDIAN__ -D__ARCH32BIT__

Harbour 2.1.0beta1 (Rev. 14414)
Copyright (c) 1999-2010, http://www.harbour-project.org/


C:\Dev\C5\cn.prg(50) Warning W0001 Ambiguous reference 'MESSAGE'
C:\Dev\C5\cn.prg(67) Warning W0001 Ambiguous reference 'E_VAR'
...
...

----------------------------------------------------------------------------------------------------
Exit Code [ 6 ]    Exit Status [ 0 ]    Finished at [ 13:40:24 ]    Done in
[ 4.91 Secs ]
----------------------------------------------------------------------------------------------------







XHARBOUR
========


----------------------------------------------------------------------------------------------------
Project [ Ar32X ]    Launch [ No ]    Rebuild [ Yes ]    Started [ 13:47:54
]
----------------------------------------------------------------------------------------------------
Batch File Exists => C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\oqva61.bat
Batch File Contents => 
set HB_COMPILER=bcc
set HB_INS_PREFIX=C:\xharbour
set HB_INC_INSTALL=C:\xharbour\include
set HB_BIN_INSTALL=C:\xharbour\bin
set HB_LIB_INSTALL=C:\xharbour\lib
set PATH=C:\xharbour;C:\xharbour\bin;E:\bcc55\bin;
set HB_WITH_ADS=c:\dev\c5

hbmk2 E:\dev_hbmk\xharbour\ar32x.hbp -xhb -q -trace -info -lang=en
-width=512 -rebuild 

Command => C:\WINDOWS\system32\cmd.exe
Arguments => /C C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\oqva61.bat
----------------------------------------------------------------------------------------------------
CurDir() => dev_hbmk Starting in => E:\dev_hbmk\xharbour\

E:\dev_hbmk\xharbour>set HB_COMPILER=bcc 
E:\dev_hbmk\xharbour>set HB_INS_PREFIX=C:\xharbour 
E:\dev_hbmk\xharbour>set HB_INC_INSTALL=C:\xharbour\include 
E:\dev_hbmk\xharbour>set HB_BIN_INSTALL=C:\xharbour\bin 
E:\dev_hbmk\xharbour>set HB_LIB_INSTALL=C:\xharbour\lib 
E:\dev_hbmk\xharbour>set PATH=C:\xharbour;C:\xharbour\bin;E:\bcc55\bin; 
E:\dev_hbmk\xharbour>set HB_WITH_ADS=c:\dev\c5 
E:\dev_hbmk\xharbour>hbmk2 E:\dev_hbmk\xharbour\ar32x.hbp -xhb -q -trace
-info -lang=en -width=512 -rebuild 
hbmk2: Processing environment options: -compiler=bcc
hbmk2: Autodetected platform: win
hbmk2: Using Harbour: C:\xharbour\bin C:\xharbour\include C:\xharbour\lib
C:\xharbour\lib
hbmk2: Using C compiler: E:\bcc55\bin\bcc32.exe
hbmk2: Compiling Harbour sources...
hbmk2: Harbour compiler command:
C:\xharbour\bin\harbour.exe -n C:\Dev\C5\ar.prg C:\Dev\C5\tgetint.prg
C:\Dev\C5\sr2.PRG C:\Dev\C5\cn.prg C:\Dev\C5\VR.PRG [PLUS All Other PRGS ]
-n- -m -w0 -es0 -DWIN -DADS -DCDX -D__XHARBOUR__ -D__JUSTALOG__
-D__PRITLIB__ -D__MENUSCONTROL__ -D__CLASSMENU__ -D__SCREENSBYDEF__ -q
-oE:\dev_hbmk\xharbour\obj\ar\ -iC:\xharbour\include -ic:\dev\c5
-undef:.ARCH. -D__PLATFORM__WINDOWS

xHarbour Compiler build 0.99.71 (SimpLex)
Copyright 1999-2007, http://www.xharbour.org http://www.harbour-project.org/
C:\Dev\C5\cn.prg(50) Warning W0001 Ambiguous reference: 'MESSAGE'
C:\Dev\C5\cn.prg(67) Warning W0001 Ambiguous reference: 'E_VAR'
...
...
----------------------------------------------------------------------------------------------------
Exit Code [ 6 ]    Exit Status [ 0 ]    Finished at [ 13:48:03 ]    Done in
[ 8.89 Secs ]
----------------------------------------------------------------------------------------------------



.hbp
====


-3rd=hbide_version=1.0
-3rd=hbide_type=Executable
-3rd=hbide_title=Ar32X
-3rd=hbide_location=E:\dev_hbmk\xharbour\
-3rd=hbide_workingfolder=
-3rd=hbide_destinationfolder=
-3rd=hbide_output=ar32x
-3rd=hbide_launchparams=
-3rd=hbide_launchprogram=
-3rd=hbide_backupfolder=
-3rd=hbide_xhb=YES
-3rd=hbide_xpp=NO
-3rd=hbide_clp=NO
 
-warn=no
-trace
-info
-inc
-n-
-m
-w0
-es0
-DWIN
-DADS
-DCDX
-D__XHARBOUR__
-D__JUSTALOG__
-D__PRITLIB__
-D__MENUSCONTROL__
-D__CLASSMENU__
-D__SCREENSBYDEF__
-incpath=c:\dev\c5
-LC:\Dev\C5\
-LC:\Dev\c5\Prit_lib
-LE:\dev_projects\hbIDE_Libs
-lsigkitw
-lpadcomw
-lace32
-ltbtools
-l5frame
-ldatadict
-lbcbind
-lCachRDD
-lEztwain3
-oE:\dev_exes\Ar32X
-workdir=E:\dev_hbmk\xharbour\obj\ar
 
C:\Dev\C5\ar.prg
...
...


-----
     enjoy hbIDEing...
        Pritpal Bedi 
http://hbide.vouch.info/
-- 
View this message in context: 
http://harbour-devel.1590103.n2.nabble.com/hbMK2-xhb-issues-switch-n-by-default-which-breaks-process-tp5005754p5011112.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to