No more LNK1166 link warnings!

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

No more LNK1166 link warnings!

Post by Antonio Linares »

Please add this flag when calling the linker:

/ARMPADCODE:NO

No more warnings!!! :-) :-)
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: No more LNK1166 link warnings!

Post by Enrico Maria Giordano »

I don't have any warning and I don't use that linker switch. Can you show me a PRG sample that gives this warning when linked?

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Dear Enrico,

Please make a search in these forums for LNK1166 and you will see all the users that have reported it, thanks :-)
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:

Post by Enrico Maria Giordano »

They are all using

Harbour Compiler Alpha build 45.0 (Flex)
Copyright 1999-2005, http://www.harbour-project.org/

that is a very old Harbour version. With the current harbour provided by you with FWPCC August 2008 there are no warnings.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

I was getting the warnings here today, with a recent harbour.exe. It is a linker issue, that could be related to the C compiler, but no with the Harbour compiler. I think so...

Other users have already reported that they are not getting the warnings using this new flag. They are linker warnings. No compiler warnings.
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:

Post by Enrico Maria Giordano »

Antonio Linares wrote:Enrico,

I was getting the warnings here today, with a recent harbour.exe. It is a linker issue, that could be related to the C compiler, but no with the Harbour compiler. I think so...

Other users have already reported that they are not getting the warnings using this new flag. They are linker warnings. No compiler warnings.
I don't know why I don't get that warnings anymore. I got them in the past.

EMG
Post Reply