FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem when compiling with Harbor
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Problem when compiling with Harbor
Posted: Mon Nov 30, 2020 03:10 PM
Hello ,
I've been working with Harbor and FiveWin for years and I've never had a problem like this before.
I have a problem when compiling , with header file and case sensitive

I have this error
[code]Copyright (c) 1999-2020, https://harbour.github.io/
Righe.prg(5689) Warning W0001 Ambiguous reference 'ARRAY_IVE'[code]

The problem is that in the source I Have

i := ascan(atotale[array_ive],. . .

And in the header.ch

#define ARRAY_IVE 4

I understand the problem is uppercase and lowercase, but it always worked before.

I don't know if this happened after a Windows update

Regards Maurizo
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem when compiling with Harbor
Posted: Mon Nov 30, 2020 05:44 PM

Dear Maurizio,

I would say that Harbour always worked like that

defines are case sensitive

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Problem when compiling with Harbor
Posted: Mon Nov 30, 2020 06:31 PM

Yes, I confirm: #defines have always been case sensitive in all the languages that support them.

EMG

Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: Problem when compiling with Harbor
Posted: Tue Dec 01, 2020 10:28 AM

Thanks Antonio, Enrico

the strange thing is that it worked before, and on another PC it still works :?
Maurizio

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Problem when compiling with Harbor
Posted: Tue Dec 01, 2020 10:35 AM

Please post a sample.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem when compiling with Harbor
Posted: Tue Dec 01, 2020 11:58 AM
Maurizio wrote:Thanks Antonio, Enrico

the strange thing is that it worked before, and on another PC it still works :-)
Maurizio


maybe the lowercase define exists on your CH files
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion