Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-06-01 Thread Chen Kedem
On Sun, 01 Jun 2008, I wrote: > With ChangeLog 2008-05-31 21:00 UTC+0100 Viktor Szakats (rev 8552) > Win32/BCC5.5.1 and standard make_b32.bat I get NO warnings, but if > I enable CodeGuard and debug: set CFLAGS=-v -y -vG -Od > I get these warnings: > Warning W8080 source\rtl\FILESYS.C 2446: '_fsta

[Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-06-01 Thread Chen Kedem
With ChangeLog 2008-05-31 21:00 UTC+0100 Viktor Szakats (rev 8552) Win32/BCC5.5.1 and standard make_b32.bat I get NO warnings, but if I enable CodeGuard and debug: set CFLAGS=-v -y -vG -Od I get these warnings: Warning W8080 source\rtl\FILESYS.C 2446: '_fstat(int,_stat *)' is declared but never u

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-31 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "Luis Krause Mantilla" <[EMAIL PROTECTED]> A: "Harbour Project Main Developer List." Data invio: sabato 31 maggio 2008 17.01 Oggetto: Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30 Enrico: It was 2 in the morning...

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-31 Thread Luis Krause Mantilla
Enrico: It was 2 in the morning... pasted from the wrong dos window! It is indeed the same as yours! Mine says Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland -- Luis Krause Mantilla lkrausem at shaw dot ca luis_krause at hotmail dot com "May the Source be with GNU" __

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-31 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "Luis Krause Mantilla" <[EMAIL PROTECTED]> A: "Harbour Project Main Developer List." Data invio: sabato 31 maggio 2008 3.05 Oggetto: Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30 Viktor: Mine is the free version y

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-31 Thread Szakáts Viktor
Hi Luis, Thanks, I'm awaiting to hear your results. .dll was my last suspect, since the whole issue is around HB_EXPORT / HB_IMPORT which is active only for .dll build. (I've never tried to do a .dll build BTW). HB_IMPORT is explicitly activated in rddads, that's why the warning there. Brgds, V

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-31 Thread Luis Krause Mantilla
Viktor: I think I know why now. I was obviously confused when I said it the error occurred while building the multi-threaded libs. It was when it tries to create the harbour-b32.dll I had this setting SET HB_BUILD_DLL=yes as soon as I changed it to SET HB_BUILD_DLL=no No more errors logged

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-31 Thread Szakáts Viktor
Now, for this one, I'm also getting a warning, and I always did, because I used '-w', which I've recently added to the default BCC make switches, that's why you also see it. Yes, we'd need to hunt this down. (I've added a hack to hbapollo to solve the same warnings in their code.) The hack is eas

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-31 Thread Szakáts Viktor
Hi, But there's always a but When it starts building the MT libs I get the same error: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland source\common\expropt1.c: Warning W8036 include\hbvmpub.h 204: Non-ANSI keyword used: '_declspec' Warning W8036 include\hbapi.h 465: No

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-31 Thread Szakáts Viktor
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, Vik

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-30 Thread Luis Krause Mantilla
Viktor: rddads also throws a warning, but because it's just one it build fine, but I guess it would be good to get rid of this warning: .\ads1.c: Warning W8036 ..\..\include\hbset.h 232: Non-ANSI keyword used: '_declspec' Regards, -- Luis Krause Mantilla lkrausem at shaw dot ca luis_krause at

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-30 Thread Luis Krause Mantilla
Viktor: I think I found the problem (at least part of it). I forgot of a little batch file I run to actually build Harbour I had this: SET CFLAGS=-DHB_INCLUDE_WINEXCHANDLER So I removed HB_INCLUDE_WINEXCHANDLER and now Harbour build OK again But there's always a but When it starts

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-30 Thread Luis Krause Mantilla
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

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-30 Thread Szakáts Viktor
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 you

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-30 Thread Luis Krause Mantilla
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

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-30 Thread Luis Krause Mantilla
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;

Re: [Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-30 Thread Szakáts Viktor
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

[Harbour] Compile errors with ChangeLog 8539 2008-05-30

2008-05-30 Thread Luis Krause Mantilla
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] W