Page 1 of 1
No more LNK1166 link warnings!
Posted: Thu Sep 11, 2008 3:44 pm
by Antonio Linares
Please add this flag when calling the linker:
/ARMPADCODE:NO
No more warnings!!!

Re: No more LNK1166 link warnings!
Posted: Thu Sep 11, 2008 4:53 pm
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
Posted: Thu Sep 11, 2008 7:14 pm
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

Posted: Thu Sep 11, 2008 8:20 pm
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
Posted: Thu Sep 11, 2008 9:22 pm
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.
Posted: Fri Sep 12, 2008 6:55 am
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