![]() |
#1 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,526
Donated: $60
![]() ![]() |
Link warning
I've been getting this weird linker warning for a while in FA, and i'm wondering if anyone can enlighten me on it's cause and seriousness:
Code:
/usr/bin/ld: Warning: type of symbol `format' changed from 1 to 2 in z-form.o
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,801
Donated: $40
![]() |
How old is your copy of the linker? It looks there was a patch to ld sometime after early 2004.
|
![]() |
![]() |
![]() |
#3 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,526
Donated: $60
![]() ![]() |
Quote:
Code:
GNU ld (GNU Binutils for Ubuntu) 2.18.93.20081009 ...although apparently I have the current Ubuntu binutils package, and I usually don't go deeper than the package level with system modification.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#4 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,801
Donated: $40
![]() |
I guess the linker's not the problem. In that case, I have no idea.
|
![]() |
![]() |
![]() |
#5 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,526
Donated: $60
![]() ![]() |
It looks like the answer should be that 'format' has been used as a variable name before it's use as a function name in z-form.c; problem is I can't find any such thing. I'm wondering if somehow it's included from some library or include file or something. In any case, it looks more like an annoyance than a worry.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#6 |
Angband Devteam member
|
'format' is one of the arguments taken by file_putf ... do you still use that?
|
![]() |
![]() |
![]() |
#7 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,526
Donated: $60
![]() ![]() |
Quote:
I'm annoyed and baffled about this, but I don't think it's actually causing any problems.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#8 |
Angband Devteam member
|
|
![]() |
![]() |
![]() |
#9 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,526
Donated: $60
![]() ![]() |
I think my wizard1.c is the equivalent, and it has no format.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#10 |
Apprentice
Join Date: Jan 2008
Posts: 96
![]() |
Nick,
Care to share your source tree? I'll chase it down real quick like. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dead link | buzzkill | Oook! | 1 | February 10, 2009 08:26 |
@Takkaria! changes link. | NeoWizard | Vanilla | 2 | February 2, 2009 21:14 |
Help with diving (warning: long) | bebo | Vanilla | 6 | January 22, 2009 02:23 |