SFML community forums
Help => Audio => Topic started by: OniLinkPlus on August 21, 2010, 04:55:09 am
-
Just wanted to let you know, on some Linux distros, such as Arch, al.h is located under the AL directory in include, so gcc can't find it since you include <al.h> instead of <AL/al.h>.
(stb_image is still warning filled too)
-
As a matter of fact, all Linux distributions to my knowledge use the <AL/al.h> and <AL/alc.h>, and I suspect MacOS X does as well.
-
I probably forgot to adjust the include paths in the Linux makefiles after I made the modifications for CMake. By the way, you should begin to use it ;)
stb_image is still warning filled too
Really? What kind of warnings do you have with gcc? I have none with VC++ at maximum level of warning.
-
I probably forgot to adjust the include paths in the Linux makefiles after I made the modifications for CMake. By the way, you should begin to use it ;)
stb_image is still warning filled too
Really? What kind of warnings do you have with gcc? I have none with VC++ at maximum level of warning.
I am using the CMake Revision.
The warnings are as follows:
../../src/SFML/Graphics/stb_image/stb_image.h:191:23: warning: comma at end of enumerator list
../../src/SFML/Graphics/stb_image/stb_image.h:780:15: warning: comma at end of enumerator list
../../src/SFML/Graphics/stb_image/stb_image.h:2582:30: warning: comma at end of enumerator list
../../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:4536:17: warning: missing initializer for member ‘stbi_gif_struct::h’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::out’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::flags’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::bgindex’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::ratio’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::transparent’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::eflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::pal’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::lpal’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::codes’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::color_table’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::parse’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::step’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::lflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::start_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::start_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::max_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::max_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::cur_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::cur_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: 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:4554:17: warning: missing initializer for member ‘stbi_gif_struct::h’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::out’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::flags’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::bgindex’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::ratio’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::transparent’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::eflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::pal’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::lpal’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::codes’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::color_table’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::parse’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::step’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::lflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::start_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::start_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::max_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::max_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::cur_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::cur_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: 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:4480:27: warning: array subscript is above array bounds