Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Massive Warning Wall in Build 1542  (Read 1492 times)

0 Members and 1 Guest are viewing this topic.

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
Massive Warning Wall in Build 1542
« on: July 31, 2010, 07:26:21 pm »
I just updated to Build 1542 and found a massive wall of warnings in stb_image.h:

In file included from ../../src/SFML/Graphics/ImageLoader.cpp:30:
../../src/SFML/Graphics/stb_image/stb_image.h:193: warning: comma at end of enumerator list
In file included from ../../src/SFML/Graphics/ImageLoader.cpp:30:
../../src/SFML/Graphics/stb_image/stb_image.h:782: warning: comma at end of enumerator list
In file included from ../../src/SFML/Graphics/ImageLoader.cpp:30:
../../src/SFML/Graphics/stb_image/stb_image.h:1828: warning: unused parameter ‘in_far’
../../src/SFML/Graphics/stb_image/stb_image.h:2572: warning: comma at end of enumerator list
../../src/SFML/Graphics/stb_image/stb_image.h:4235: warning: unused parameter ‘pal’
../../src/SFML/Graphics/stb_image/stb_image.h: In function ‘stbi_uc* stbi_gif_load_from_file(FILE*, int*, int*, int*, int)’:
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::h’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::out’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::flags’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::bgindex’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::ratio’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::transparent’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::eflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::pal’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::lpal’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::codes’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::color_table’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::parse’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::step’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::lflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::start_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::start_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::max_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::max_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::cur_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::cur_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4526: warning: missing initializer for member ‘stbi_gif_struct::line_size’
../../src/SFML/Graphics/stb_image/stb_image.h: In function ‘stbi_uc* stbi_gif_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’:
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::h’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::out’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::flags’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::bgindex’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::ratio’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::transparent’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::eflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::pal’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::lpal’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::codes’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::color_table’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::parse’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::step’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::lflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::start_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::start_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::max_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::max_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::cur_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::cur_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4544: warning: missing initializer for member ‘stbi_gif_struct::line_size’
../../src/SFML/Graphics/stb_image/stb_image.h: In function ‘uint8* stbi_gif_load_next(stbi*, stbi_gif*, int*, int)’:
../../src/SFML/Graphics/stb_image/stb_image.h:4470: warning: array subscript is above array bounds

Any way to fix this? I don't like having walls of warnings, they always make me feel like something is going to go wrong and screw up my programs.
I use the latest build of SFML2

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Massive Warning Wall in Build 1542
« Reply #1 on: August 01, 2010, 12:09:19 am »
Sure. Let me breath and I'll fix them and send a patch to the author :)
Laurent Gomila - SFML developer