← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/texture_atlas into lp:widelands

 

Bugs for Tino's issues have been filed:

https://bugs.launchpad.net/widelands/+bug/1397301
https://bugs.launchpad.net/widelands/+bug/1397302

I am getting compiler warnings:


src/graphic/image_cache.cc:40:13: warning: declaration of ‘texture’ shadows a member of 'this' [-Wshadow]
    Texture* texture = reload_image_();
             ^
src/graphic/image_cache.cc:51:12: warning: declaration of ‘texture’ shadows a member of 'this' [-Wshadow]
   Texture* texture = texture_cache_->get(filename_);
            ^
src/graphic/image_cache.cc:59:12: warning: declaration of ‘texture’ shadows a member of 'this' [-Wshadow]
   Texture* texture = texture_cache_->insert(filename_, load_image(filename_), false);
        
src/graphic/graphic.cc:66:71: warning: declaration of ‘fullscreen’ shadows a member of 'this' [-Wshadow]
 Graphic::Graphic(int window_mode_w, int window_mode_h, bool fullscreen)

src/graphic/image_transformations.cc:306:12: warning: declaration of ‘texture’ shadows a member of 'this' [-Wshadow]
   Texture* texture = texture_cache_->get(hash_);
            ^
src/graphic/in_memory_image.cc:41:55: warning: declaration of ‘texture’ shadows a member of 'this' [-Wshadow]
  InMemoryImage(const string& ghash, Texture* texture) :
                                                       ^
                                                       
src/graphic/rendertarget.cc:247:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    while (tx < r.w) {
                  ^
src/graphic/rendertarget.cc:251:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (tx + srcrc.w > r.w)
                          ^

-- 
https://code.launchpad.net/~widelands-dev/widelands/texture_atlas/+merge/243119
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/texture_atlas.


References