Problem when compiling with Harbor

Post Reply
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Problem when compiling with Harbor

Post by Maurizio »

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: Select all

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Problem when compiling with Harbor

Post by Antonio Linares »

Dear Maurizio,

I would say that Harbour always worked like that

defines are case sensitive
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Problem when compiling with Harbor

Post by Enrico Maria Giordano »

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

EMG
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Re: Problem when compiling with Harbor

Post by Maurizio »

Thanks Antonio, Enrico

the strange thing is that it worked before, and on another PC it still works :?
Maurizio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Problem when compiling with Harbor

Post by Antonio Linares »

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
Post Reply