Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo gem i gosu
- Fetching gosu-0.14.5.gem
- Building native extensions. This could take a while...
- ERROR: Error installing gosu:
- ERROR: Failed to build gem native extension.
- current directory: /usr/local/share/gems/gems/gosu-0.14.5/ext/gosu
- /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20191206-30525-x80kw8.rb extconf.rb
- The Gosu gem requires some libraries to be installed system-wide.
- See the following site for a list:
- https://github.com/gosu/gosu/wiki/Getting-Started-on-Linux
- checking for -lopenal... yes
- checking for AL/al.h... yes
- creating Makefile
- current directory: /usr/local/share/gems/gems/gosu-0.14.5/ext/gosu
- make "DESTDIR=" clean
- rm -f
- rm -f gosu.so *.o *.bak mkmf.log .*.time
- current directory: /usr/local/share/gems/gems/gosu-0.14.5/ext/gosu
- make "DESTDIR="
- 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
- In file included from ../../src/Audio.cpp:2:
- ../../src/OggFile.hpp:11:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
- 11 | #pragma GCC diagnostic ignored "-Wcomma"
- | ^~~~~~~~~
- In file included from ../../src/Audio.cpp:16:
- ../../src/MPEGFile.hpp: In member function ‘virtual std::size_t Gosu::MPEGFile::read_data(void*, std::size_t)’:
- ../../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]
- 72 | && position_ != contents_.size()) {
- | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/9/cassert:44,
- from ../../src/Audio.cpp:8:
- ../../src/MPEGFile.hpp: In member function ‘virtual void Gosu::MPEGFile::rewind()’:
- ../../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]
- 87 | assert (position_ >= 0 && position_ <= contents_.size());
- | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
- 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
- ../../src/AudioImpl.cpp: In function ‘Gosu::Channel Gosu::allocate_channel()’:
- ../../src/AudioImpl.cpp:64:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ [-Wsign-compare]
- 64 | for (int i = 1; i < CHANNELS; ++i) {
- | ~~^~~~~~~~~~
- ../../src/AudioImpl.cpp: In function ‘bool Gosu::channel_expired(int, int)’:
- ../../src/AudioImpl.cpp:80:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ [-Wsign-compare]
- 80 | return channel < 0 || channel >= CHANNELS || _tokens[channel] != token;
- | ~~~~~~~~^~~~~~~~~~~
- ../../src/AudioImpl.cpp: In function ‘ALuint Gosu::al_source_for_channel(int)’:
- ../../src/AudioImpl.cpp:85:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ [-Wsign-compare]
- 85 | if (channel < 0 || channel >= CHANNELS) {
- | ~~~~~~~~^~~~~~~~~~~
- 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
- 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
- ../../src/BitmapIO.cpp:15:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
- 15 | #pragma GCC diagnostic ignored "-Wcomma"
- | ^~~~~~~~~
- ../../src/BitmapIO.cpp: In function ‘int {anonymous}::read_callback(void*, char*, int)’:
- ../../src/BitmapIO.cpp:32:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
- 32 | size_t actual_size = (size < remaining ? size : remaining);
- | ~~~~~^~~~~~~~~~~
- ../../src/BitmapIO.cpp: At global scope:
- ../../src/BitmapIO.cpp:96:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
- 96 | #pragma GCC diagnostic ignored "-Wcomma"
- | ^~~~~~~~~
- In file included from ../../src/BitmapIO.cpp:18:
- ../../src/stb_image.h:1135:13: warning: ‘void stbi__float_postprocess(float*, int*, int*, int*, int)’ defined but not used [-Wunused-function]
- 1135 | static void stbi__float_postprocess(float *result, int *x, int *y, int *comp, int req_comp)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- ../../src/FileUnix.cpp: In member function ‘virtual void Gosu::File::resize(size_t)’:
- ../../src/FileUnix.cpp:76:14: warning: ignoring return value of ‘int ftruncate(int, __off_t)’, declared with attribute warn_unused_result [-Wunused-result]
- 76 | ftruncate(pimpl->fd, new_size);
- | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- ../../src/FileUnix.cpp: In member function ‘virtual void Gosu::File::read(size_t, size_t, void*) const’:
- ../../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]
- 88 | ::read(pimpl->fd, dest_buffer, length);
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../../src/FileUnix.cpp: In member function ‘virtual void Gosu::File::write(size_t, size_t, const void*)’:
- ../../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]
- 96 | ::write(pimpl->fd, source_buffer, length);
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 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
- 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
- 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
- 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
- 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
- In file included from ../../src/Graphics.cpp:2:
- ../../src/DrawOp.hpp: In member function ‘void Gosu::DrawOp::perform(const Gosu::DrawOp*) const’:
- ../../src/DrawOp.hpp:108:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
- 108 | for (unsigned i = 0; i < vertices_or_block_index; i++) {
- | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/9/cassert:44,
- from ../../src/DrawOpQueue.hpp:8,
- from ../../src/Graphics.cpp:3:
- ../../src/DrawOpQueue.hpp: In member function ‘void Gosu::DrawOpQueue::perform_draw_ops_and_code()’:
- ../../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]
- 145 | assert (block_index < gl_blocks.size());
- | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- In file included from ../../src/Graphics.cpp:2:
- ../../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)’:
- ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +72)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- 12 | struct DrawOp
- | ^~~~~~
- ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +80)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- ../../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)’:
- ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +72)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- 12 | struct DrawOp
- | ^~~~~~
- ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +80)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- ../../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)’:
- ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +72)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- 12 | struct DrawOp
- | ^~~~~~
- ../../src/DrawOp.hpp:12:12: warning: ‘*((void*)& op +80)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- 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
- 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
- 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
- ../../src/Input.cpp: In member function ‘bool Gosu::Input::Impl::feed_sdl_event(const SDL_Event*)’:
- ../../src/Input.cpp:129:69: warning: comparison between ‘const enum SDL_Scancode’ and ‘enum Gosu::ButtonName’ [-Wenum-compare]
- 129 | if (e->key.repeat == 0 && e->key.keysym.scancode <= KB_RANGE_END) {
- | ^~~~~~~~~~~~
- ../../src/Input.cpp: In member function ‘void Gosu::Input::Impl::poll_gamepads()’:
- ../../src/Input.cpp:171:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
- 171 | for (int i = 0; i < available_gamepads; ++i) {
- | ~~^~~~~~~~~~~~~~~~~~~~
- ../../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]
- 175 | if (i < game_controllers.size()) {
- | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
- ../../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]
- 187 | for (int j = 0; j < current_gamepad.size(); ++j) {
- | ~~^~~~~~~~~~~~~~~~~~~~~~~~
- ../../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]
- 202 | for (int j = 0; j < any_gamepad.size(); ++j) {
- | ~~^~~~~~~~~~~~~~~~~~~~
- 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
- 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
- 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
- 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
- In file included from ../../src/DrawOpQueue.hpp:4,
- from ../../src/Macro.cpp:2:
- ../../src/DrawOp.hpp: In member function ‘void Gosu::DrawOp::perform(const Gosu::DrawOp*) const’:
- ../../src/DrawOp.hpp:108:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
- 108 | for (unsigned i = 0; i < vertices_or_block_index; i++) {
- | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/9/cassert:44,
- from ../../src/DrawOpQueue.hpp:8,
- from ../../src/Macro.cpp:2:
- ../../src/DrawOpQueue.hpp: In member function ‘void Gosu::DrawOpQueue::perform_draw_ops_and_code()’:
- ../../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]
- 145 | assert (block_index < gl_blocks.size());
- | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- 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
- 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
- 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
- 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
- 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
- ../../src/RubyGosu.cxx: In function ‘void Gosu::load_bitmap(Gosu::Bitmap&, VALUE)’:
- ../../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]
- 2306 | if (RSTRING_LEN(blob) == size) {
- | ^
- ../../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]
- 2308 | std::memcpy(bitmap.data(), reinterpret_cast<const unsigned*>(RSTRING_PTR(blob)), size);
- | ^
- In file included from ../../Gosu/Bitmap.hpp:7,
- from ../../Gosu/Gosu.hpp:13,
- from ../../src/RubyGosu.cxx:2261:
- ../../Gosu/Color.hpp:16:11: note: ‘class Gosu::Color’ declared here
- 16 | class Color
- | ^~~~~
- ../../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]
- 2310 | else if (RSTRING_LEN(blob) == size * sizeof(float)) {
- | ^
- ../../src/RubyGosu.cxx: In function ‘Gosu::Image* Gosu::render(int, int, VALUE)’:
- ../../src/RubyGosu.cxx:2417:26: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 2417 | VALUE keys = rb_funcall(options, rb_intern("keys"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx:2418:29: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 2418 | int keys_size = NUM2INT(rb_funcall(keys, rb_intern("size"), 0, NULL));
- | ^~~~~~~
- ../../src/RubyGosu.cxx: In function ‘int SWIG_AsCharPtrAndSize(VALUE, char**, size_t*, int*)’:
- ../../src/RubyGosu.cxx:2701:11: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 2701 | obj = rb_funcall(obj, rb_intern("to_s"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx: In function ‘Gosu::Font* new_Gosu_Font__SWIG_1(int, VALUE)’:
- ../../src/RubyGosu.cxx:2820:26: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 2820 | VALUE keys = rb_funcall(options, rb_intern("keys"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx:2821:29: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 2821 | int keys_size = NUM2INT(rb_funcall(keys, rb_intern("size"), 0, NULL));
- | ^~~~~~~
- ../../src/RubyGosu.cxx: In function ‘Gosu::Image* new_Gosu_Image(VALUE, VALUE)’:
- ../../src/RubyGosu.cxx:2872:26: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 2872 | VALUE keys = rb_funcall(options, rb_intern("keys"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx:2873:29: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 2873 | int keys_size = NUM2INT(rb_funcall(keys, rb_intern("size"), 0, NULL));
- | ^~~~~~~
- ../../src/RubyGosu.cxx:2889:37: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 2889 | int rect_size = NUM2INT(rb_funcall(value, rb_intern("size"), 0, NULL));
- | ^~~~~~~
- ../../src/RubyGosu.cxx: In function ‘Gosu::Image* Gosu_Image_from_text(const string&, double, VALUE)’:
- ../../src/RubyGosu.cxx:2934:26: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 2934 | VALUE keys = rb_funcall(options, rb_intern("keys"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx:2935:29: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 2935 | int keys_size = NUM2INT(rb_funcall(keys, rb_intern("size"), 0, NULL));
- | ^~~~~~~
- ../../src/RubyGosu.cxx: In function ‘std::vector<Gosu::Image> Gosu_Image_load_tiles__SWIG_0(VALUE, int, int, VALUE)’:
- ../../src/RubyGosu.cxx:3006:26: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3006 | VALUE keys = rb_funcall(options, rb_intern("keys"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx:3007:29: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3007 | int keys_size = NUM2INT(rb_funcall(keys, rb_intern("size"), 0, NULL));
- | ^~~~~~~
- ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::show()’:
- ../../src/RubyGosu.cxx:3227:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3227 | result = rb_funcall(swig_get_self(), rb_intern("show"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx: In member function ‘virtual bool SwigDirector_Window::tick()’:
- ../../src/RubyGosu.cxx:3235:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3235 | result = rb_funcall(swig_get_self(), rb_intern("tick"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::close()’:
- ../../src/RubyGosu.cxx:3249:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3249 | result = rb_funcall(swig_get_self(), rb_intern("close"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::update()’:
- ../../src/RubyGosu.cxx:3256:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3256 | result = rb_funcall(swig_get_self(), rb_intern("protected_update"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::draw()’:
- ../../src/RubyGosu.cxx:3263:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3263 | result = rb_funcall(swig_get_self(), rb_intern("protected_draw_2"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx: In member function ‘virtual bool SwigDirector_Window::needs_redraw() const’:
- ../../src/RubyGosu.cxx:3271:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3271 | result = rb_funcall(swig_get_self(), rb_intern("protected_needs_redraw?"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx: In member function ‘virtual bool SwigDirector_Window::needs_cursor() const’:
- ../../src/RubyGosu.cxx:3286:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3286 | result = rb_funcall(swig_get_self(), rb_intern("protected_needs_cursor?"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::lose_focus()’:
- ../../src/RubyGosu.cxx:3300:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3300 | result = rb_funcall(swig_get_self(), rb_intern("protected_lose_focus"), 0, NULL);
- | ^~~~~~~~~~
- ../../src/RubyGosu.cxx: In member function ‘virtual void SwigDirector_Window::release_memory()’:
- ../../src/RubyGosu.cxx:3307:12: warning: converting to non-pointer type ‘VALUE’ {aka ‘long unsigned int’} from NULL [-Wconversion-null]
- 3307 | result = rb_funcall(swig_get_self(), rb_intern("release_memory"), 0, NULL);
- | ^~~~~~~~~~
- 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
- In file included from ../../src/DrawOpQueue.hpp:4,
- from ../../src/TexChunk.cpp:2:
- ../../src/DrawOp.hpp: In member function ‘void Gosu::DrawOp::perform(const Gosu::DrawOp*) const’:
- ../../src/DrawOp.hpp:108:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
- 108 | for (unsigned i = 0; i < vertices_or_block_index; i++) {
- | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/9/cassert:44,
- from ../../src/DrawOpQueue.hpp:8,
- from ../../src/TexChunk.cpp:2:
- ../../src/DrawOpQueue.hpp: In member function ‘void Gosu::DrawOpQueue::perform_draw_ops_and_code()’:
- ../../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]
- 145 | assert (block_index < gl_blocks.size());
- | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- ../../src/TexChunk.cpp: In member function ‘virtual void Gosu::TexChunk::insert(const Gosu::Bitmap&, int, int)’:
- ../../src/TexChunk.cpp:90:48: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 90 | if (x < 0 || y < 0 || x + original.width() > w || y + original.height() > h) {
- | ~~~~~~~~~~~~~~~~~~~~~^~~
- ../../src/TexChunk.cpp:90:77: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
- 90 | if (x < 0 || y < 0 || x + original.width() > w || y + original.height() > h) {
- | ~~~~~~~~~~~~~~~~~~~~~~^~~
- 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
- ../../src/Text.cpp: In function ‘Gosu::Bitmap Gosu::layout_markup(const string&, const string&, double, double, int, Gosu::Alignment, unsigned int)’:
- ../../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]
- 93 | for (int i = 0; i < lines.size(); ++i) {
- | ~~^~~~~~~~~~~~~~
- 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
- ../../src/TextBuilder.cpp: In member function ‘void Gosu::TextBuilder::feed_word(std::vector<Gosu::FormattedString>&&)’:
- ../../src/TextBuilder.cpp:135:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
- 135 | if (current_line_width > result.width() || new_word.is_end_of_line) {
- | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- ../../src/TrueTypeFont.cpp:8:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
- 8 | #pragma GCC diagnostic ignored "-Wcomma"
- | ^~~~~~~~~
- 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
- 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
- ../../src/TrueTypeFontUnix.cpp:11:10: fatal error: fontconfig/fontconfig.h: No such file or directory
- 11 | #include <fontconfig/fontconfig.h>
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- compilation terminated.
- make: *** [Makefile:237: TrueTypeFontUnix.o] Error 1
- make failed, exit code 2
- Gem files will remain installed in /usr/local/share/gems/gems/gosu-0.14.5 for inspection.
- 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