* contrib/hbziparch/hbzipnew.cpp
! Fixed a potential GPFs. (GCC warnings)
* contrib/hbpgsql/postgres.c
* contrib/hbwhat32/_wininet.c
! Fixed two const casting warnings in MSVS non-CPP mode.
- tests/run_test.bat
+ tests/run_prg_all.bat
- tests/gnu_test.bat
+ tests/bld_gnu.bat
- tests/bld4dll.bat
+ tests/bld_b32_dll.bat
+ Some renames in the hope they will be easier to
understand, and more standard.
! Fixed .dll reference.
* contrib/hbziparch/Makefile
! Excluded from Darwin and OS/2 builds.
; NOTE: The Windows build I've tried are now building relatively
clearly, only with the 1) known warnings 2) warnings in
foreign code, plus 3) quite some in contrib/hbwhat32.
Tested compilers:
Win32
BCC551 - OK
BCC582 - OK
MSVS2005 - OK (doesn't work with set HB_BUILD_DLL=yes)
MSVS2005cpp - OK (doesn't work with set HB_BUILD_DLL=yes)
MSVS2008 - OK (doesn't work with set HB_BUILD_DLL=yes)
MSVS2008cpp - OK (doesn't work with set HB_BUILD_DLL=yes)
MinGW412 - OK
MinGW430
Win64
MSVS2008
Fails with:
'include\hbinit.h(218) : fatal error C1189: #error : Unknown initialization method.
MSVS2008cpp - OK (doesn't work with set HB_BUILD_DLL=yes)
Linux-Ubuntu (7.10)
GCC413 - OK (FreeImage f.e. fails.)
Darwin (OS X Leopard 10.5.4)
GCC401
Fails with a lot of:
'Wrong type of codeblock parameter, is: 1, should be: 8'
33 lines
1006 B
Batchfile
33 lines
1006 B
Batchfile
@echo off
|
|
rem
|
|
rem $Id$
|
|
rem
|
|
|
|
rem ---------------------------------------------------------------
|
|
rem This file is intended to build a program, which uses harbour-b32.dll
|
|
rem The main function must be called _AppMain.
|
|
rem To run the program, you need to have harbour-b32.dll in your path.
|
|
rem ---------------------------------------------------------------
|
|
|
|
..\bin\harbour %1.prg -n -i..\include %2 %3
|
|
|
|
bcc32 -c -O2 -d -I..\include %1.c ..\source\vm\mainwin.c
|
|
|
|
@echo c0w32.obj + > _bld_b32_dll.tmp
|
|
@echo %1.obj + >> _bld_b32_dll.tmp
|
|
@echo mainwin.obj, + >> _bld_b32_dll.tmp
|
|
@echo %1.exe, + >> _bld_b32_dll.tmp
|
|
@echo , + >> _bld_b32_dll.tmp
|
|
@echo ..\lib\harbour-b32.lib + >> _bld_b32_dll.tmp
|
|
@echo cw32.lib + >> _bld_b32_dll.tmp
|
|
@echo import32.lib, >> _bld_b32_dll.tmp
|
|
|
|
ilink32 -Tpe -Gn @_bld_b32_dll.tmp
|
|
|
|
del %1.obj
|
|
del mainwin.obj
|
|
del %1.c
|
|
del *.tds
|
|
|
|
del _bld_b32_dll.tmp
|