prsht.h changes for Borland 64 bits
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: prsht.h changes for Borland 64 bits
Can we see a sample of the problem, please?
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: prsht.h changes for Borland 64 bits
Sorry, I can't find any samples of the problem.
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: prsht.h changes for Borland 64 bits
If you ever get the error, as I got it yesterday, then you know what to do
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: prsht.h changes for Borland 64 bits
But then the same fix should be applied to MSC.
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: prsht.h changes for Borland 64 bits
I never got it with MSVC
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: prsht.h changes for Borland 64 bits
Nonetheless it has the same slash. And I never get that error with BCC too. If you can provide a sample I will make some experiments.
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: prsht.h changes for Borland 64 bits
Dear Enrico,
Simply try to rebuild FWH 64 for BCC64
Simply try to rebuild FWH 64 for BCC64
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: prsht.h changes for Borland 64 bits
Can you tell me one single file that gives error if compiled with BCC 64 bit, please?
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: prsht.h changes for Borland 64 bits
Dear Enrico,
I can't, sorry, yesterday I was compiling several files and one of them failed with bcc 64 bits, but I just tried again to build all of them without modifying prsht.h and all of them compiled fine. Now I don't remember which exact file gave the error, I modified several modules. I would say it was now.prg but we have modified it, so it compiles fine with all compilers (32 and 64).
If I ever face it again then I will let you know it
thanks
I can't, sorry, yesterday I was compiling several files and one of them failed with bcc 64 bits, but I just tried again to build all of them without modifying prsht.h and all of them compiled fine. Now I don't remember which exact file gave the error, I modified several modules. I would say it was now.prg but we have modified it, so it compiles fine with all compilers (32 and 64).
If I ever face it again then I will let you know it
thanks
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: prsht.h changes for Borland 64 bits
Found it:
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for Harbour 22.10 bcc7 64bits Oct. 2022 xHarbour development power │▄
│ (c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
Compiling 'fivedit0.prg' and generating preprocessed output to 'fivedit0.ppo'...
Lines 10121, Functions/Procedures 58
Generating C source output to 'fivedit0.c'... Done.
Embarcadero C++ 7.10 for Win64 Copyright (c) 2012-2015 Embarcadero Technologies, Inc.
fivedit0.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Error prsht.h 917 1: '#endif' before '#if'
* Linking errors *
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: prsht.h changes for Borland 64 bits
BTW, the above xHarbour should say Harbour...
Fixing it now
Fixing it now
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: prsht.h changes for Borland 64 bits
Thank you, I'm investigating. I don't understand why even MSC has the same bugged prsht.h...Antonio Linares wrote:Found it:
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for Harbour 22.10 bcc7 64bits Oct. 2022 xHarbour development power │▄
│ (c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 3.2.0dev (r2011030937)
Copyright (c) 1999-2020, https://harbour.github.io/
Compiling 'fivedit0.prg' and generating preprocessed output to 'fivedit0.ppo'...
Lines 10121, Functions/Procedures 58
Generating C source output to 'fivedit0.c'... Done.
Embarcadero C++ 7.10 for Win64 Copyright (c) 2012-2015 Embarcadero Technologies, Inc.
fivedit0.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Error prsht.h 917 1: '#endif' before '#if'
* Linking errors *
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: prsht.h changes for Borland 64 bits
With the fix explained at the beginning of this thread, it works fine
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: prsht.h changes for Borland 64 bits
Yes, I know, but I like to fully understand the problem.