Hi Luiz,
I'm also using the free version, but there was
an update to this toolset (__BORLANDC__: 0x0550 -> 0x0551).
(The one on the homepage is most probably the newer one.)
But, I've tried a build using 5.5.0 and I got no
warnings again (using the mentioned environment
and switches)
Brgds,
Viktor
On 2008.05.31., at 3:05, Luis Krause Mantilla wrote:
Viktor:
Mine is the free version you download from Borland's (CodeGear's)
site,
and when you type "bcc32" it just says:
Borland C++ 5.0 for Win32 Copyright (c) 1993, 1996 Borland
International
27-06-2000 05:01 869,376 bcc32.exe
The installer name is freecommandLinetools.exe
So it's obviously not the same as yours, but that still doesn't
explain why
now I can't build.
I'll keep digging until I found out why....
Regards,
Szakáts Viktor wrote:
Okay, thanks.
One more bit of information: I'm using
BCC 5.5.1 (SP2), size of all /include files: 39986943 bytes.
You're most probably using the same, but anyways.
I've double checked my environment, and my BCC5.5.1
installation is intact, retried full build after
on fresh SVN checkout, with your switches, and still
no warnings.
Brgds,
Viktor
On 2008.05.31., at 2:03, Luis Krause Mantilla wrote:
Viktor:
I'll review your email and report later.
It's very odd because my current environment settings
to build Harbour have been the same since it moved
from CVS to SVN so indeed something in your
recent changes is now breaking something while
rebuilding Harbour.
I'll reply later once I have a better idea of what's
going on.
Regards,
Szakáts Viktor wrote:
Hi Luis,
I did a test with your settings, but for me it works
without warnings.
Could it be that some non-BCC windows.h headers are being
found before the BCC ones?
Here's my full env for reference:
-----------------------------------
* script
set PATH=C:\devl\bcc55\bin;%PATH%
set C_USR=-5 -k- -O1 -v- -WC -w-inl- -6 -OS -a8
set HB_BUILD_VERBOSE=yes
call make_b32.bat
* C:\devl\bcc55\bin\bcc32.cfg
-I"C:\devl\bcc55\include"
-L"C:\devl\bcc55\lib"
* C:\devl\bcc55\bin\ilink32.cfg
/L"C:\devl\bcc55\lib"
* environment
(contains no include/lib envvars, and path contains no other C
compilers)
-----------------------------------
See make_b32.log attached.
Brgds,
Viktor
On 2008.05.30., at 19:48, Luis Krause Mantilla wrote:
Viktor:
I use Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
This is my bcc32.cfg:
-5
-d
-k-
-O1
-O2
-v-
-WC
-w-inl-
-6
-OS
-a8
-I"f:\Bcc55\include;f:\harbour\include"
-L"f:\Bcc55\lib;f:\Bcc55\lib\psdk"
-lj"f:\Bcc55\lib;f:\Bcc55\lib\psdk"
This is my ilink32.cfg:
-L"f:\Bcc55\lib;f:\Bcc55\lib\psdk;f:\harbour\lib"
And these the only harbour specific envvars I set:
HARBOURCMD=/n /w /es2
HB_ARCHITECTURE=w32
HB_COMPILER=bcc32
HB_DIR_ADS=C:\Program Files\Extended Systems\Advantage 8.1\acesdk
Regards,
Szakáts Viktor wrote:
Hi Luis,
All I know that today I've fixed this exact problem
in contrib/hbapollo and that _declspec may have
something to do with the contrib/hbgd problem.
BCC55 by default is generating this warning for
_declspec, and it doesn't do it for __declspec.
Harbour has _declspec for __BORLANDC__ since ages.
Maybe WIN32_LEAN_AND_MEAN has something to do with this.
To make things even more interesting I had no such
warnings with BCC55 and BCC58, using plain default
compiler switches.
Which BCC version do you use and what are your
compiler switches?
Brgds,
Viktor
On 2008.05.30., at 18:35, Luis Krause Mantilla wrote:
Hi:
With the most current svn I now get:
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
source\common\expropt1.c:
Warning W8036 include\hbvmpub.h 204: Non-ANSI keyword used:
'_declspec'
Warning W8036 include\hbapi.h 465: Non-ANSI keyword used:
'_declspec'
[a ton more of the same warning]
Warning W8036 include\hbapi.h 705: Non-ANSI keyword used:
'_declspec'
Error E2228 include\hbapi.h 705: Too many error or warning
messages
*** 1 errors in Compile ***
** error 1 ** deleting obj\b32\expropt1.obj
Do I need to change BCC switches to build?
Regards,
--
Luis Krause Mantilla
lkrausem at shaw dot ca
luis_krause at hotmail dot com
"May the Source be with GNU"
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
--
Luis Krause Mantilla
lkrausem at shaw dot ca
luis_krause at hotmail dot com
"May the Source be with GNU"
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
------------------------------------------------------------------------
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
--
Luis Krause Mantilla
lkrausem at shaw dot ca
luis_krause at hotmail dot com
"May the Source be with GNU"
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
--
Luis Krause Mantilla
lkrausem at shaw dot ca
luis_krause at hotmail dot com
"May the Source be with GNU"
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour