2013-01-22 00:37 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
* code cleanup to ease adding linker message exceptions
* unused functions enclosed in '#if 0' guards
+ show warning for options that are only valid on command line
and ignored when used inside .hbp/.hbm files.
- deleted compatibility features:
- '-arch=' option (use '-platform=' instead)
Notice it will now be passed to Harbour compiler and possibly
interpreted as '-a' option, so it's better to update it _now_.
- '${hb_arch}' compatibility macro (use '${hb_platform}' instead)
- 'mt=mt' .hbc command (use 'mt=yes' instead)
* '-mwindows' and '-mconsole' legacy options will now issue
a warning with suggested replacement options (-gui/-std)
+ hbmk2 will now issue a warning if certain known low-level linker
options are used. Current list is: -Wl,--allow-multiple-definition,
-force:multiple, -w-dpl. These options are ideal if the goal
is to shoot yourself in the foot, otherwise they are not
recommended.
* contrib/hbnf/clrsel.prg
* contrib/hbnf/tests/clrsel.prg
! fixed obscure unicode issue
* utils/hbtest/rt_class.prg
* applied tests/fixcase.hb
% use new Harbour functions in Harbour-only code
* extras/httpsrv/uhttpd.prg
% use new Harbour function
This commit is contained in:
@@ -1836,13 +1836,14 @@ FUNCTION uhttpd_join( cSeparator, aData )
|
||||
LOCAL cRet := "", nI
|
||||
|
||||
FOR nI := 1 TO Len( aData )
|
||||
IF nI > 1; cRet += cSeparator
|
||||
IF nI > 1
|
||||
cRet += cSeparator
|
||||
ENDIF
|
||||
SWITCH ValType( aData[ nI ] )
|
||||
CASE "C"
|
||||
CASE "M"; cRet += aData[ nI ]; EXIT
|
||||
CASE "N"; cRet += LTrim( Str( aData[ nI ] ) ); EXIT
|
||||
CASE "D"; cRet += iif( ! Empty( aData[ nI ] ), DToC( aData[ nI ] ), "" ); EXIT
|
||||
CASE "M" ; cRet += aData[ nI ]; EXIT
|
||||
CASE "N" ; cRet += hb_ntos( aData[ nI ] ); EXIT
|
||||
CASE "D" ; cRet += iif( ! Empty( aData[ nI ] ), DToC( aData[ nI ] ), "" ); EXIT
|
||||
ENDSWITCH
|
||||
NEXT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user