Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004524 [DCSS] Bug Report minor have not tried 2011-09-09 15:22 2011-09-09 16:23
Reporter vonbrand View Status public  
Assigned To KiloByte
Priority normal Resolution done  
Status resolved   Product Branch 0.10 ancient branch
Summary 0004524: Compile failure tilereg-dgn.cc
Description Fedora Linux 15, gcc-4.6.0-10.fc15.x86_64

tilereg-dgn.cc: In function ‘bool _handle_distant_monster(monster*, unsigned char)’:
tilereg-dgn.cc:704:54: error: invalid initialization of reference of type ‘const item_def&’ from expression of type ‘const item_def*’
itemprop.h:142:12: error: in passing argument 1 of ‘reach_type weapon_reach(const item_def&)’
tilereg-dgn.cc: In function ‘bool tile_dungeon_tip(const coord_def&, std::string&)’:
tilereg-dgn.cc:1049:40: error: ‘you_weapon’ was not declared in this scope
tilereg-dgn.cc:1050:46: error: invalid initialization of reference of type ‘const item_def&’ from expression of type ‘item_def*’
itemprop.h:142:12: error: in passing argument 1 of ‘reach_type weapon_reach(const item_def&)’
make: *** [tilereg-dgn.o] Error 1
Additional Information
Tags No tags attached.
Attached Files ? file icon 0001-Fix-compile-failure-in-tilereg-dgn.cc.patch [^] (1,445 bytes) 2011-09-09 15:36 [Show Content]

- Relationships

-  Notes
(0014595)
vonbrand (reporter)
2011-09-09 15:36

The above patch gets it to compile, I don't know enough to be able to check it out for sanity.
(0014596)
KiloByte (manager)
2011-09-09 15:49

Uhm yeah... couldn't test GL tiles, and webtiles happen to not use that code.

Fixed (but still didn't test).

If you have a patch, you didn't attach it... but I guess you did the same thing as I did.
(0014597)
vonbrand (reporter)
2011-09-09 16:23

Yes, there was an attached patch. And yes, yout patch is identical to mine ;-)

- Issue History
Date Modified Username Field Change
2011-09-09 15:22 vonbrand New Issue
2011-09-09 15:36 vonbrand File Added: 0001-Fix-compile-failure-in-tilereg-dgn.cc.patch
2011-09-09 15:36 vonbrand Note Added: 0014595
2011-09-09 15:49 KiloByte Note Added: 0014596
2011-09-09 15:49 KiloByte Status new => resolved
2011-09-09 15:49 KiloByte Fixed in Branch => 0.10 development branch
2011-09-09 15:49 KiloByte Resolution open => done
2011-09-09 15:49 KiloByte Assigned To => KiloByte
2011-09-09 16:23 vonbrand Note Added: 0014597


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker