Advertisement
kyonides

Gosu Errors Fedora 31

Dec 6th, 2019
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.30 KB | None | 0 0
  1. $ sudo gem i gosu
  2. Fetching gosu-0.14.5.gem
  3. Building native extensions. This could take a while...
  4. ERROR: Error installing gosu:
  5. ERROR: Failed to build gem native extension.
  6.  
  7. current directory: /usr/local/share/gems/gems/gosu-0.14.5/ext/gosu
  8. /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20191206-30525-x80kw8.rb extconf.rb
  9. The Gosu gem requires some libraries to be installed system-wide.
  10. See the following site for a list:
  11. https://github.com/gosu/gosu/wiki/Getting-Started-on-Linux
  12. checking for -lopenal... yes
  13. checking for AL/al.h... yes
  14. creating Makefile
  15.  
  16. current directory: /usr/local/share/gems/gems/gosu-0.14.5/ext/gosu
  17. make "DESTDIR=" clean
  18. rm -f
  19. rm -f gosu.so *.o *.bak mkmf.log .*.time
  20.  
  21. current directory: /usr/local/share/gems/gems/gosu-0.14.5/ext/gosu
  22. make "DESTDIR="
  23. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Audio.o -c ../../src/Audio.cpp
  24. In file included from ../../src/Audio.cpp:2:
  25. ../../src/OggFile.hpp:11:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
  26. 11 | #pragma GCC diagnostic ignored "-Wcomma"
  27. | ^~~~~~~~~
  28. In file included from ../../src/Audio.cpp:16:
  29. ../../src/MPEGFile.hpp: In member function ‘virtual std::size_t Gosu::MPEGFile::read_data(void*, std::size_t)’:
  30. ../../src/MPEGFile.hpp:72:33: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  31. 72 | && position_ != contents_.size()) {
  32. | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
  33. In file included from /usr/include/c++/9/cassert:44,
  34. from ../../src/Audio.cpp:8:
  35. ../../src/MPEGFile.hpp: In member function ‘virtual void Gosu::MPEGFile::rewind()’:
  36. ../../src/MPEGFile.hpp:87:49: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  37. 87 | assert (position_ >= 0 && position_ <= contents_.size());
  38. | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
  39. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o AudioImpl.o -c ../../src/AudioImpl.cpp
  40. ../../src/AudioImpl.cpp: In function ‘Gosu::Channel Gosu::allocate_channel()’:
  41. ../../src/AudioImpl.cpp:64:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ [-Wsign-compare]
  42. 64 | for (int i = 1; i < CHANNELS; ++i) {
  43. | ~~^~~~~~~~~~
  44. ../../src/AudioImpl.cpp: In function ‘bool Gosu::channel_expired(int, int)’:
  45. ../../src/AudioImpl.cpp:80:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ [-Wsign-compare]
  46. 80 | return channel < 0 || channel >= CHANNELS || _tokens[channel] != token;
  47. | ~~~~~~~~^~~~~~~~~~~
  48. ../../src/AudioImpl.cpp: In function ‘ALuint Gosu::al_source_for_channel(int)’:
  49. ../../src/AudioImpl.cpp:85:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ [-Wsign-compare]
  50. 85 | if (channel < 0 || channel >= CHANNELS) {
  51. | ~~~~~~~~^~~~~~~~~~~
  52. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Bitmap.o -c ../../src/Bitmap.cpp
  53. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o BitmapIO.o -c ../../src/BitmapIO.cpp
  54. ../../src/BitmapIO.cpp:15:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
  55. 15 | #pragma GCC diagnostic ignored "-Wcomma"
  56. | ^~~~~~~~~
  57. ../../src/BitmapIO.cpp: In function ‘int {anonymous}::read_callback(void*, char*, int)’:
  58. ../../src/BitmapIO.cpp:32:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  59. 32 | size_t actual_size = (size < remaining ? size : remaining);
  60. | ~~~~~^~~~~~~~~~~
  61. ../../src/BitmapIO.cpp: At global scope:
  62. ../../src/BitmapIO.cpp:96:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
  63. 96 | #pragma GCC diagnostic ignored "-Wcomma"
  64. | ^~~~~~~~~
  65. In file included from ../../src/BitmapIO.cpp:18:
  66. ../../src/stb_image.h:1135:13: warning: ‘void stbi__float_postprocess(float*, int*, int*, int*, int)’ defined but not used [-Wunused-function]
  67. 1135 | static void stbi__float_postprocess(float *result, int *x, int *y, int *comp, int req_comp)
  68. | ^~~~~~~~~~~~~~~~~~~~~~~
  69. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o BlockAllocator.o -c ../../src/BlockAllocator.cpp
  70. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Channel.o -c ../../src/Channel.cpp
  71. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Color.o -c ../../src/Color.cpp
  72. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o DirectoriesApple.o -c ../../src/DirectoriesApple.cpp
  73. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o DirectoriesUnix.o -c ../../src/DirectoriesUnix.cpp
  74. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o DirectoriesWin.o -c ../../src/DirectoriesWin.cpp
  75. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o FileUnix.o -c ../../src/FileUnix.cpp
  76. ../../src/FileUnix.cpp: In member function ‘virtual void Gosu::File::resize(size_t)’:
  77. ../../src/FileUnix.cpp:76:14: warning: ignoring return value of ‘int ftruncate(int, __off_t)’, declared with attribute warn_unused_result [-Wunused-result]
  78. 76 | ftruncate(pimpl->fd, new_size);
  79. | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  80. ../../src/FileUnix.cpp: In member function ‘virtual void Gosu::File::read(size_t, size_t, void*) const’:
  81. ../../src/FileUnix.cpp:88:15: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
  82. 88 | ::read(pimpl->fd, dest_buffer, length);
  83. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  84. ../../src/FileUnix.cpp: In member function ‘virtual void Gosu::File::write(size_t, size_t, const void*)’:
  85. ../../src/FileUnix.cpp:96:12: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
  86. 96 | ::write(pimpl->fd, source_buffer, length);
  87. | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  88. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o FileWin.o -c ../../src/FileWin.cpp
  89. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Font.o -c ../../src/Font.cpp
  90. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o GosuGLView.o -c ../../src/GosuGLView.cpp
  91. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o GosuViewController.o -c ../../src/GosuViewController.cpp
  92. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Graphics.o -c ../../src/Graphics.cpp
  93. In file included from ../../src/Graphics.cpp:2:
  94. ../../src/DrawOp.hpp: In member function ‘void Gosu::DrawOp::perform(const Gosu::DrawOp*) const’:
  95. ../../src/DrawOp.hpp:108:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
  96. 108 | for (unsigned i = 0; i < vertices_or_block_index; i++) {
  97. | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
  98. In file included from /usr/include/c++/9/cassert:44,
  99. from ../../src/DrawOpQueue.hpp:8,
  100. from ../../src/Graphics.cpp:3:
  101. ../../src/DrawOpQueue.hpp: In member function ‘void Gosu::DrawOpQueue::perform_draw_ops_and_code()’:
  102. ../../src/DrawOpQueue.hpp:145:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::function<void()> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  103. 145 | assert (block_index < gl_blocks.size());
  104. | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  105. In file included from ../../src/Graphics.cpp:2:
  106. ../../src/DrawOp.hpp: In static member function ‘static void Gosu::Graphics::draw_quad(double, double, Gosu::Color, double, double, Gosu::Color, double, double, Gosu::Color, double, double, Gosu::Color, Gosu::ZPos, Gosu::AlphaMode)’:
  107. ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +72)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  108. 12 | struct DrawOp
  109. | ^~~~~~
  110. ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +80)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  111. ../../src/DrawOp.hpp: In static member function ‘static void Gosu::Graphics::draw_line(double, double, Gosu::Color, double, double, Gosu::Color, Gosu::ZPos, Gosu::AlphaMode)’:
  112. ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +72)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  113. 12 | struct DrawOp
  114. | ^~~~~~
  115. ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +80)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  116. ../../src/DrawOp.hpp: In static member function ‘static void Gosu::Graphics::draw_triangle(double, double, Gosu::Color, double, double, Gosu::Color, double, double, Gosu::Color, Gosu::ZPos, Gosu::AlphaMode)’:
  117. ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +72)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  118. 12 | struct DrawOp
  119. | ^~~~~~
  120. ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +80)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  121. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o IO.o -c ../../src/IO.cpp
  122. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Image.o -c ../../src/Image.cpp
  123. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Input.o -c ../../src/Input.cpp
  124. ../../src/Input.cpp: In member function ‘bool Gosu::Input::Impl::feed_sdl_event(const SDL_Event*)’:
  125. ../../src/Input.cpp:129:69: warning: comparison between ‘const enum SDL_Scancode’ and ‘enum Gosu::ButtonName’ [-Wenum-compare]
  126. 129 | if (e->key.repeat == 0 && e->key.keysym.scancode <= KB_RANGE_END) {
  127. | ^~~~~~~~~~~~
  128. ../../src/Input.cpp: In member function ‘void Gosu::Input::Impl::poll_gamepads()’:
  129. ../../src/Input.cpp:171:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  130. 171 | for (int i = 0; i < available_gamepads; ++i) {
  131. | ~~^~~~~~~~~~~~~~~~~~~~
  132. ../../src/Input.cpp:175:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<_SDL_GameController*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  133. 175 | if (i < game_controllers.size()) {
  134. | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
  135. ../../src/Input.cpp:187:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::array<bool, 20>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  136. 187 | for (int j = 0; j < current_gamepad.size(); ++j) {
  137. | ~~^~~~~~~~~~~~~~~~~~~~~~~~
  138. ../../src/Input.cpp:202:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::array<bool, 20>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  139. 202 | for (int j = 0; j < any_gamepad.size(); ++j) {
  140. | ~~^~~~~~~~~~~~~~~~~~~~
  141. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o InputUIKit.o -c ../../src/InputUIKit.cpp
  142. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Inspection.o -c ../../src/Inspection.cpp
  143. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o LargeImageData.o -c ../../src/LargeImageData.cpp
  144. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Macro.o -c ../../src/Macro.cpp
  145. In file included from ../../src/DrawOpQueue.hpp:4,
  146. from ../../src/Macro.cpp:2:
  147. ../../src/DrawOp.hpp: In member function ‘void Gosu::DrawOp::perform(const Gosu::DrawOp*) const’:
  148. ../../src/DrawOp.hpp:108:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
  149. 108 | for (unsigned i = 0; i < vertices_or_block_index; i++) {
  150. | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
  151. In file included from /usr/include/c++/9/cassert:44,
  152. from ../../src/DrawOpQueue.hpp:8,
  153. from ../../src/Macro.cpp:2:
  154. ../../src/DrawOpQueue.hpp: In member function ‘void Gosu::DrawOpQueue::perform_draw_ops_and_code()’:
  155. ../../src/DrawOpQueue.hpp:145:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::function<void()> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  156. 145 | assert (block_index < gl_blocks.size());
  157. | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  158. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o MarkupParser.o -c ../../src/MarkupParser.cpp
  159. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Math.o -c ../../src/Math.cpp
  160. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o OffScreenTarget.o -c ../../src/OffScreenTarget.cpp
  161. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Resolution.o -c ../../src/Resolution.cpp
  162. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o RubyGosu.o -c ../../src/RubyGosu.cxx
  163. ../../src/RubyGosu.cxx: In function ‘void Gosu::load_bitmap(Gosu::Bitmap&, VALUE)’:
  164. ../../src/RubyGosu.cxx:2306:31: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  165. 2306 | if (RSTRING_LEN(blob) == size) {
  166. | ^
  167. ../../src/RubyGosu.cxx:2308:98: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘class Gosu::Color’ from an array of ‘const unsigned int’ [-Wclass-memaccess]
  168. 2308 | std::memcpy(bitmap.data(), reinterpret_cast<const unsigned*>(RSTRING_PTR(blob)), size);
  169. | ^
  170. In file included from ../../Gosu/Bitmap.hpp:7,
  171. from ../../Gosu/Gosu.hpp:13,
  172. from ../../src/RubyGosu.cxx:2261:
  173. ../../Gosu/Color.hpp:16:11: note: ‘class Gosu::Color’ declared here
  174. 16 | class Color
  175. | ^~~~~
  176. ../../src/RubyGosu.cxx:2310:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  177. 2310 | else if (RSTRING_LEN(blob) == size * sizeof(float)) {
  178. | ^
  179. ../../src/RubyGosu.cxx: In function ‘Gosu::Image* Gosu::render(int, int, VALUE)’:
  180. ../../src/RubyGosu.cxx:2417:26: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  181. 2417 | VALUE keys = rb_funcall(options, rb_intern("keys"), 0, NULL);
  182. | ^~~~~~~~~~
  183. ../../src/RubyGosu.cxx:2418:29: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  184. 2418 | int keys_size = NUM2INT(rb_funcall(keys, rb_intern("size"), 0, NULL));
  185. | ^~~~~~~
  186. ../../src/RubyGosu.cxx: In function ‘int SWIG_AsCharPtrAndSize(VALUE, char**, size_t*, int*)’:
  187. ../../src/RubyGosu.cxx:2701:11: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  188. 2701 | obj = rb_funcall(obj, rb_intern("to_s"), 0, NULL);
  189. | ^~~~~~~~~~
  190. ../../src/RubyGosu.cxx: In function ‘Gosu::Font* new_Gosu_Font__SWIG_1(int, VALUE)’:
  191. ../../src/RubyGosu.cxx:2820:26: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  192. 2820 | VALUE keys = rb_funcall(options, rb_intern("keys"), 0, NULL);
  193. | ^~~~~~~~~~
  194. ../../src/RubyGosu.cxx:2821:29: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  195. 2821 | int keys_size = NUM2INT(rb_funcall(keys, rb_intern("size"), 0, NULL));
  196. | ^~~~~~~
  197. ../../src/RubyGosu.cxx: In function ‘Gosu::Image* new_Gosu_Image(VALUE, VALUE)’:
  198. ../../src/RubyGosu.cxx:2872:26: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  199. 2872 | VALUE keys = rb_funcall(options, rb_intern("keys"), 0, NULL);
  200. | ^~~~~~~~~~
  201. ../../src/RubyGosu.cxx:2873:29: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  202. 2873 | int keys_size = NUM2INT(rb_funcall(keys, rb_intern("size"), 0, NULL));
  203. | ^~~~~~~
  204. ../../src/RubyGosu.cxx:2889:37: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  205. 2889 | int rect_size = NUM2INT(rb_funcall(value, rb_intern("size"), 0, NULL));
  206. | ^~~~~~~
  207. ../../src/RubyGosu.cxx: In function ‘Gosu::Image* Gosu_Image_from_text(const string&, double, VALUE)’:
  208. ../../src/RubyGosu.cxx:2934:26: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  209. 2934 | VALUE keys = rb_funcall(options, rb_intern("keys"), 0, NULL);
  210. | ^~~~~~~~~~
  211. ../../src/RubyGosu.cxx:2935:29: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  212. 2935 | int keys_size = NUM2INT(rb_funcall(keys, rb_intern("size"), 0, NULL));
  213. | ^~~~~~~
  214. ../../src/RubyGosu.cxx: In function ‘std::vector<Gosu::Image> Gosu_Image_load_tiles__SWIG_0(VALUE, int, int, VALUE)’:
  215. ../../src/RubyGosu.cxx:3006:26: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  216. 3006 | VALUE keys = rb_funcall(options, rb_intern("keys"), 0, NULL);
  217. | ^~~~~~~~~~
  218. ../../src/RubyGosu.cxx:3007:29: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  219. 3007 | int keys_size = NUM2INT(rb_funcall(keys, rb_intern("size"), 0, NULL));
  220. | ^~~~~~~
  221. ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::show()’:
  222. ../../src/RubyGosu.cxx:3227:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  223. 3227 | result = rb_funcall(swig_get_self(), rb_intern("show"), 0, NULL);
  224. | ^~~~~~~~~~
  225. ../../src/RubyGosu.cxx: In member function ‘virtual bool SwigDirector_Window::tick()’:
  226. ../../src/RubyGosu.cxx:3235:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  227. 3235 | result = rb_funcall(swig_get_self(), rb_intern("tick"), 0, NULL);
  228. | ^~~~~~~~~~
  229. ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::close()’:
  230. ../../src/RubyGosu.cxx:3249:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  231. 3249 | result = rb_funcall(swig_get_self(), rb_intern("close"), 0, NULL);
  232. | ^~~~~~~~~~
  233. ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::update()’:
  234. ../../src/RubyGosu.cxx:3256:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  235. 3256 | result = rb_funcall(swig_get_self(), rb_intern("protected_update"), 0, NULL);
  236. | ^~~~~~~~~~
  237. ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::draw()’:
  238. ../../src/RubyGosu.cxx:3263:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  239. 3263 | result = rb_funcall(swig_get_self(), rb_intern("protected_draw_2"), 0, NULL);
  240. | ^~~~~~~~~~
  241. ../../src/RubyGosu.cxx: In member function ‘virtual bool SwigDirector_Window::needs_redraw() const’:
  242. ../../src/RubyGosu.cxx:3271:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  243. 3271 | result = rb_funcall(swig_get_self(), rb_intern("protected_needs_redraw?"), 0, NULL);
  244. | ^~~~~~~~~~
  245. ../../src/RubyGosu.cxx: In member function ‘virtual bool SwigDirector_Window::needs_cursor() const’:
  246. ../../src/RubyGosu.cxx:3286:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  247. 3286 | result = rb_funcall(swig_get_self(), rb_intern("protected_needs_cursor?"), 0, NULL);
  248. | ^~~~~~~~~~
  249. ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::lose_focus()’:
  250. ../../src/RubyGosu.cxx:3300:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  251. 3300 | result = rb_funcall(swig_get_self(), rb_intern("protected_lose_focus"), 0, NULL);
  252. | ^~~~~~~~~~
  253. ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::release_memory()’:
  254. ../../src/RubyGosu.cxx:3307:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
  255. 3307 | result = rb_funcall(swig_get_self(), rb_intern("release_memory"), 0, NULL);
  256. | ^~~~~~~~~~
  257. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o TexChunk.o -c ../../src/TexChunk.cpp
  258. In file included from ../../src/DrawOpQueue.hpp:4,
  259. from ../../src/TexChunk.cpp:2:
  260. ../../src/DrawOp.hpp: In member function ‘void Gosu::DrawOp::perform(const Gosu::DrawOp*) const’:
  261. ../../src/DrawOp.hpp:108:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
  262. 108 | for (unsigned i = 0; i < vertices_or_block_index; i++) {
  263. | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
  264. In file included from /usr/include/c++/9/cassert:44,
  265. from ../../src/DrawOpQueue.hpp:8,
  266. from ../../src/TexChunk.cpp:2:
  267. ../../src/DrawOpQueue.hpp: In member function ‘void Gosu::DrawOpQueue::perform_draw_ops_and_code()’:
  268. ../../src/DrawOpQueue.hpp:145:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::function<void()> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  269. 145 | assert (block_index < gl_blocks.size());
  270. | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  271. ../../src/TexChunk.cpp: In member function ‘virtual void Gosu::TexChunk::insert(const Gosu::Bitmap&, int, int)’:
  272. ../../src/TexChunk.cpp:90:48: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  273. 90 | if (x < 0 || y < 0 || x + original.width() > w || y + original.height() > h) {
  274. | ~~~~~~~~~~~~~~~~~~~~~^~~
  275. ../../src/TexChunk.cpp:90:77: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  276. 90 | if (x < 0 || y < 0 || x + original.width() > w || y + original.height() > h) {
  277. | ~~~~~~~~~~~~~~~~~~~~~~^~~
  278. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Text.o -c ../../src/Text.cpp
  279. ../../src/Text.cpp: In function ‘Gosu::Bitmap Gosu::layout_markup(const string&, const string&, double, double, int, Gosu::Alignment, unsigned int)’:
  280. ../../src/Text.cpp:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<Gosu::FormattedString> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  281. 93 | for (int i = 0; i < lines.size(); ++i) {
  282. | ~~^~~~~~~~~~~~~~
  283. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o TextBuilder.o -c ../../src/TextBuilder.cpp
  284. ../../src/TextBuilder.cpp: In member function ‘void Gosu::TextBuilder::feed_word(std::vector<Gosu::FormattedString>&&)’:
  285. ../../src/TextBuilder.cpp:135:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  286. 135 | if (current_line_width > result.width() || new_word.is_end_of_line) {
  287. | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  288. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o TextInput.o -c ../../src/TextInput.cpp
  289. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Texture.o -c ../../src/Texture.cpp
  290. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o TimingApple.o -c ../../src/TimingApple.cpp
  291. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o TimingUnix.o -c ../../src/TimingUnix.cpp
  292. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o TimingWin.o -c ../../src/TimingWin.cpp
  293. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o Transform.o -c ../../src/Transform.cpp
  294. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o TrueTypeFont.o -c ../../src/TrueTypeFont.cpp
  295. ../../src/TrueTypeFont.cpp:8:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
  296. 8 | #pragma GCC diagnostic ignored "-Wcomma"
  297. | ^~~~~~~~~
  298. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o TrueTypeFontApple.o -c ../../src/TrueTypeFontApple.cpp
  299. g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I../../src -I../.. -I/usr/include/libdrm -I/usr/include/SDL2 -I/usr/include/AL -DHAVE_AL_AL_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -D_REENTRANT -m64 -o TrueTypeFontUnix.o -c ../../src/TrueTypeFontUnix.cpp
  300. ../../src/TrueTypeFontUnix.cpp:11:10: fatal error: fontconfig/fontconfig.h: No such file or directory
  301. 11 | #include <fontconfig/fontconfig.h>
  302. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  303. compilation terminated.
  304. make: *** [Makefile:237: TrueTypeFontUnix.o] Error 1
  305.  
  306. make failed, exit code 2
  307.  
  308. Gem files will remain installed in /usr/local/share/gems/gems/gosu-0.14.5 for inspection.
  309. Results logged to /usr/local/lib64/gems/ruby/gosu-0.14.5/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement