Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@retropie:~/code/exult$ ./autogen.sh
- libtoolize: putting auxiliary files in '.'.
- libtoolize: copying file './ltmain.sh'
- libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
- libtoolize: copying file 'm4/libtool.m4'
- libtoolize: copying file 'm4/ltoptions.m4'
- libtoolize: copying file 'm4/ltsugar.m4'
- libtoolize: copying file 'm4/ltversion.m4'
- libtoolize: copying file 'm4/lt~obsolete.m4'
- configure.ac:153: installing './compile'
- configure.ac:14: installing './config.guess'
- configure.ac:14: installing './config.sub'
- configure.ac:17: installing './install-sh'
- configure.ac:17: installing './missing'
- Makefile.am: installing './depcomp'
- configure.ac: installing './ylwrap'
- You are now ready to run ./configure
- pi@retropie:~/code/exult$ ./configure
- checking build system type... armv7l-unknown-linux-gnueabihf
- checking host system type... armv7l-unknown-linux-gnueabihf
- checking target system type... armv7l-unknown-linux-gnueabihf
- checking for a BSD-compatible install... /usr/bin/install -c
- checking whether build environment is sane... yes
- checking for a thread-safe mkdir -p... /bin/mkdir -p
- checking for gawk... no
- checking for mawk... mawk
- checking whether make sets $(MAKE)... yes
- checking whether make supports nested variables... yes
- checking windowing system... X11 (GNU/Linux)
- checking for gawk... (cached) mawk
- checking for g++... g++
- checking whether the C++ compiler works... yes
- checking for C++ compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C++ compiler... yes
- checking whether g++ accepts -g... yes
- checking whether make supports the include directive... yes (GNU style)
- checking dependency style of g++... gcc3
- checking whether g++ supports C++17 features with -std=c++17... yes
- checking how to run the C++ preprocessor... g++ -std=c++17 -E
- checking for flex... flex
- checking lex output file root... lex.yy
- checking lex library... none needed
- checking whether yytext is a pointer... no
- checking for bison... bison -y
- checking how to print strings... printf
- checking for gcc... gcc
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- checking whether gcc understands -c and -o together... yes
- checking dependency style of gcc... gcc3
- checking for a sed that does not truncate output... /bin/sed
- checking for grep that handles long lines and -e... /bin/grep
- checking for egrep... /bin/grep -E
- checking for fgrep... /bin/grep -F
- checking for ld used by gcc... /usr/bin/ld
- checking if the linker (/usr/bin/ld) is GNU ld... yes
- checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
- checking the name lister (/usr/bin/nm -B) interface... BSD nm
- checking whether ln -s works... yes
- checking the maximum length of command line arguments... 1572864
- checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
- checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
- checking for /usr/bin/ld option to reload object files... -r
- checking for objdump... objdump
- checking how to recognize dependent libraries... pass_all
- checking for dlltool... no
- checking how to associate runtime and link libraries... printf %s\n
- checking for ar... ar
- checking for archiver @FILE support... @
- checking for strip... strip
- checking for ranlib... ranlib
- checking command to parse /usr/bin/nm -B output from gcc object... ok
- checking for sysroot... no
- checking for a working dd... /bin/dd
- checking how to truncate binary pipes... /bin/dd bs=4096 count=1
- checking for mt... mt
- checking if mt is a manifest tool... no
- checking how to run the C preprocessor... gcc -E
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking for dlfcn.h... yes
- checking for objdir... .libs
- checking if gcc supports -fno-rtti -fno-exceptions... no
- checking for gcc option to produce PIC... -fPIC -DPIC
- checking if gcc PIC flag -fPIC -DPIC works... yes
- checking if gcc static flag -static works... yes
- checking if gcc supports -c -o file.o... yes
- checking if gcc supports -c -o file.o... (cached) yes
- checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
- checking dynamic linker characteristics... GNU/Linux ld.so
- checking how to hardcode library paths into programs... immediate
- checking whether stripping libraries is possible... yes
- checking if libtool supports shared libraries... yes
- checking whether to build shared libraries... no
- checking whether to build static libraries... yes
- checking how to run the C++ preprocessor... g++ -std=c++17 -E
- checking for ld used by g++ -std=c++17... /usr/bin/ld
- checking if the linker (/usr/bin/ld) is GNU ld... yes
- checking whether the g++ -std=c++17 linker (/usr/bin/ld) supports shared libraries... yes
- checking for g++ -std=c++17 option to produce PIC... -fPIC -DPIC
- checking if g++ -std=c++17 PIC flag -fPIC -DPIC works... yes
- checking if g++ -std=c++17 static flag -static works... yes
- checking if g++ -std=c++17 supports -c -o file.o... yes
- checking if g++ -std=c++17 supports -c -o file.o... (cached) yes
- checking whether the g++ -std=c++17 linker (/usr/bin/ld) supports shared libraries... yes
- checking dynamic linker characteristics... (cached) GNU/Linux ld.so
- checking how to hardcode library paths into programs... immediate
- checking for int8_t... yes
- checking for int16_t... yes
- checking for int32_t... yes
- checking for int64_t... yes
- checking for intptr_t... yes
- checking for uint8_t... yes
- checking for uint16_t... yes
- checking for uint32_t... yes
- checking for uint64_t... yes
- checking for uintptr_t... yes
- checking for dirent.h that defines DIR... yes
- checking for library containing opendir... none required
- checking for ANSI C header files... (cached) yes
- checking limits.h usability... yes
- checking limits.h presence... yes
- checking for limits.h... yes
- checking sys/time.h usability... yes
- checking sys/time.h presence... yes
- checking for sys/time.h... yes
- checking for unistd.h... (cached) yes
- checking for sys/types.h... (cached) yes
- checking sys/socket.h usability... yes
- checking sys/socket.h presence... yes
- checking for sys/socket.h... yes
- checking netdb.h usability... yes
- checking netdb.h presence... yes
- checking for netdb.h... yes
- checking sys/wait.h usability... yes
- checking sys/wait.h presence... yes
- checking for sys/wait.h... yes
- checking signal.h usability... yes
- checking signal.h presence... yes
- checking for signal.h... yes
- checking png.h usability... yes
- checking png.h presence... yes
- checking for png.h... yes
- checking for an ANSI C-conforming const... yes
- checking for inline... inline
- checking for size_t... yes
- checking whether time.h and sys/time.h may both be included... yes
- checking whether struct tm is in sys/time.h or time.h... time.h
- checking for working memcmp... yes
- checking for atexit... yes
- checking for dup2... yes
- checking for getcwd... yes
- checking for isascii... yes
- checking for memchr... yes
- checking for memmove... yes
- checking for memset... yes
- checking for mkdir... yes
- checking for pow... yes
- checking for select... yes
- checking for socket... yes
- checking for strcasecmp... yes
- checking for strchr... yes
- checking for strstr... yes
- checking for strtol... yes
- checking for strtoul... yes
- checking for getaddrinfo()... yes
- checking for mkstemp()... yes
- checking for special X11 libraries... no
- checking if we want to statically compile libraries... no
- checking for pkg-config... /usr/bin/pkg-config
- checking pkg-config is at least version 0.9.0... yes
- checking for sdl2-config... /usr/bin/sdl2-config
- checking for SDL - version >= 2.0.1... yes
- checking for OGG... yes
- checking for GLADE... no
- checking for LIBGNOMEUI... no
- checking if we want to use timidity midi... yes
- checking alsa/asoundlib.h usability... yes
- checking alsa/asoundlib.h presence... yes
- checking for alsa/asoundlib.h... yes
- checking if we want to use ALSA midi... yes
- checking fluidsynth.h usability... no
- checking fluidsynth.h presence... no
- checking for fluidsynth.h... no
- checking if we want to use fluidsynth midi... no; fluidsynth.h not found
- checking if we should build mt32emu... no
- checking zlib.h usability... yes
- checking zlib.h presence... yes
- checking for zlib.h... yes
- checking for zipped savegame support... yes
- checking if we should build all hq scaler... yes
- checking if we should build the hq2x scaler... yes
- checking if we should build the hq3x scaler... yes
- checking if we should build the hq4x scaler... yes
- checking if we should build the 2xBR, 3xBR and 4xBR scalers... yes
- checking whether to enable midi sfx... no
- checking whether to enable support for Exult Studio... no
- checking desired optimization level... from CXXFLAGS
- checking whether to enable debugging mode... from CXXFLAGS
- checking whether to enable sanitizers... no
- checking if we should disable the SDL parachute... no
- checking whether C++ compiler accepts -Wall... yes
- checking whether C++ compiler accepts -Wextra... yes
- checking whether C++ compiler accepts -pedantic... yes
- checking whether C++ compiler accepts -Walloc-zero... yes
- checking whether C++ compiler accepts -Walloca... yes
- checking whether C++ compiler accepts -Wc++14-compat... yes
- checking whether C++ compiler accepts -Wc++17-compat... yes
- checking whether C++ compiler accepts -Wcatch-value=3... yes
- checking whether C++ compiler accepts -Wcast-align... yes
- checking whether C++ compiler accepts -Wcast-qual... yes
- checking whether C++ compiler accepts -Wconditionally-supported... yes
- checking whether C++ compiler accepts -Wctor-dtor-privacy... yes
- checking whether C++ compiler accepts -Wdisabled-optimization... yes
- checking whether C++ compiler accepts -Wduplicated-branches... yes
- checking whether C++ compiler accepts -Wduplicated-cond... yes
- checking whether C++ compiler accepts -Wextra-semi... yes
- checking whether C++ compiler accepts -Wformat-nonliteral... no
- checking whether C++ compiler accepts -Wformat-security... no
- checking whether C++ compiler accepts -Wlogical-not-parentheses... yes
- checking whether C++ compiler accepts -Wlogical-op... yes
- checking whether C++ compiler accepts -Wmissing-include-dirs... yes
- checking whether C++ compiler accepts -Wnon-virtual-dtor... yes
- checking whether C++ compiler accepts -Wnull-dereference... yes
- checking whether C++ compiler accepts -Wold-style-cast... yes
- checking whether C++ compiler accepts -Woverloaded-virtual... yes
- checking whether C++ compiler accepts -Wplacement-new... yes
- checking whether C++ compiler accepts -Wredundant-decls... yes
- checking whether C++ compiler accepts -Wshift-negative-value... yes
- checking whether C++ compiler accepts -Wshift-overflow... yes
- checking whether C++ compiler accepts -Wtrigraphs... yes
- checking whether C++ compiler accepts -Wundef... yes
- checking whether C++ compiler accepts -Wuninitialized... yes
- checking whether C++ compiler accepts -Wuseless-cast... yes
- checking whether C++ compiler accepts -Wwrite-strings... yes
- checking whether C++ compiler accepts -Wzero-as-null-pointer-constant... yes
- checking whether C++ compiler accepts -Wunused-const-variables... no
- checking whether C++ compiler accepts -Wabsolute-value... no
- checking whether C++ compiler accepts -Wdeprecated-register... no
- checking whether C++ compiler accepts -Wmismatched-tags... no
- checking whether C++ compiler accepts -Wunused-private-field... no
- checking whether to build only the main program... no
- checking whether to build the usecode compiler... no
- checking whether to build the data files... yes
- checking whether to build the Exult mods... no
- checking for freetype-config... no
- checking whether to build Exult Studio... no
- checking whether to enable the usecode debugger... no
- checking whether to display the usecode container in Gumps... no
- checking whether to display non-readied objects in Gumps... no
- checking whether to build the Gnome SHP Thumbnailer... no
- checking whether to build the GIMP plugin... no
- checking that generated files are newer than configure... done
- configure: creating ./config.status
- config.status: creating exult.spec
- config.status: creating Info.plist
- config.status: creating Makefile
- config.status: creating audio/Makefile
- config.status: creating audio/midi_drivers/Makefile
- config.status: creating audio/midi_drivers/timidity/Makefile
- config.status: creating audio/midi_drivers/mt32emu/Makefile
- config.status: creating conf/Makefile
- config.status: creating content/Makefile
- config.status: creating content/sifixes/Makefile
- config.status: creating content/si/Makefile
- config.status: creating content/bgkeyring/Makefile
- config.status: creating content/bg/Makefile
- config.status: creating content/islefaq/Makefile
- config.status: creating files/Makefile
- config.status: creating files/sha1/Makefile
- config.status: creating files/zip/Makefile
- config.status: creating gamemgr/Makefile
- config.status: creating gumps/Makefile
- config.status: creating pathfinder/Makefile
- config.status: creating flic/Makefile
- config.status: creating tools/Makefile
- config.status: creating data/Makefile
- config.status: creating docs/Makefile
- config.status: creating desktop/Makefile
- config.status: creating objs/Makefile
- config.status: creating imagewin/Makefile
- config.status: creating shapes/Makefile
- config.status: creating shapes/shapeinf/Makefile
- config.status: creating usecode/Makefile
- config.status: creating usecode/compiler/Makefile
- config.status: creating usecode/ucxt/Makefile
- config.status: creating usecode/ucxt/Docs/Makefile
- config.status: creating usecode/ucxt/data/Makefile
- config.status: creating usecode/ucxt/include/Makefile
- config.status: creating usecode/ucxt/src/Makefile
- config.status: creating mapedit/Makefile
- config.status: creating server/Makefile
- config.status: creating config.h
- config.status: executing depfiles commands
- config.status: executing libtool commands
- Exult v1.7.0git
- SDL ....................... : 2.0.10
- Build tools................ : yes
- Build usecode compiler..... : no
- Build Exult mods........... : no
- Build Exult Studio......... : no
- Exult Studio support....... : no
- Build all HQ scalers....... : yes
- Build NxBR scalers......... : yes
- Now type 'make' to build Exult
- pi@retropie:~/code/exult$ make -j9 -s
- Flex.cc: In static member function 'static void Flex_header::write(ODataSource*, const char*, std::size_t, Flex_header::Flex_vers)':
- Flex.cc:69:39: warning: useless cast to type 'using uint32 = uint32_t' {aka 'unsigned int'} [-Wuseless-cast]
- out->write4(static_cast<uint32>(count));
- ^
- Flex.cc: In member function 'void Flex_writer::finish_object()':
- Flex.cc:199:56: warning: useless cast to type 'using uint32 = uint32_t' {aka 'unsigned int'} [-Wuseless-cast]
- Write4(tptr, static_cast<uint32>(cur_start - start_pos)); // Store start of section.
- ^
- Flex.cc:200:50: warning: useless cast to type 'using uint32 = uint32_t' {aka 'unsigned int'} [-Wuseless-cast]
- Write4(tptr, static_cast<uint32>(pos - cur_start)); // Store length.
- ^
- expack.cc: In function 'int main(int, char**)':
- expack.cc:278:48: warning: useless cast to type 'using uint32 = uint32_t' {aka unsigned int'} [-Wuseless-cast]
- auto buf = f->retrieve(static_cast<uint32>(i), len);
- ^
- fontgen.cc:40:13: warning: 'void Gen_shadow(unsigned char*, int, int, unsigned char, unsigned char)' defined but not used [-Wunused-function]
- static void Gen_shadow(
- ^~~~~~~~~~
- font.cc: In member function 'int Font::paint_text_box(Image_buffer8*, const char*, int, int, int, int, int, bool, bool, Cursor_info*)':
- font.cc:233:40: warning: useless cast to type 'int' [-Wuseless-cast]
- return -static_cast<int>(text - start); // Return -offset of end.
- ^
- font.cc: In member function 'int Font::paint_text_box_fixedwidth(Image_buffer8*, const char*, int, int, int, int, int, int, int)':
- font.cc:351:40: warning: useless cast to type 'int' [-Wuseless-cast]
- int w = static_cast<int>(wrd - text) * char_width;
- ^
- font.cc:376:43: warning: useless cast to type 'int' [-Wuseless-cast]
- int width = static_cast<int>(ewrd - text) * char_width;
- ^
- font.cc:423:40: warning: useless cast to type 'int' [-Wuseless-cast]
- return -static_cast<int>(text - start); // Return -offset of end.
- ^
- font.cc: In member function 'int Font::find_cursor(const char*, int, int, int, int, int, int, int)':
- font.cc:575:41: warning: useless cast to type 'int' [-Wuseless-cast]
- return static_cast<int>(text - start);
- ^
- font.cc:590:41: warning: useless cast to type 'int' [-Wuseless-cast]
- return static_cast<int>(text - start);
- ^
- font.cc:620:45: warning: useless cast to type 'int' [-Wuseless-cast]
- return static_cast<int>(text - start - 1);
- ^
- font.cc:629:62: warning: useless cast to type 'int' [-Wuseless-cast]
- int woff = find_xcursor(text, static_cast<int>(ewrd - text), cx - curx);
- ^
- font.cc:631:41: warning: useless cast to type 'int' [-Wuseless-cast]
- return static_cast<int>(text - start) + woff;
- ^
- font.cc:638:39: warning: useless cast to type 'int' [-Wuseless-cast]
- return static_cast<int>(text - start);
- ^
- font.cc:639:39: warning: useless cast to type 'int' [-Wuseless-cast]
- return -static_cast<int>(text - start); // Failed, so indicate where we are.
- ^
- font.cc: In member function 'int Font::find_xcursor(const char*, int, int)':
- font.cc:661:45: warning: useless cast to type 'int' [-Wuseless-cast]
- return static_cast<int>(text - 1 - start);
- ^
- In file included from /usr/include/SDL2/SDL_video.h:31,
- from ./../imagewin/imagewin.h:37,
- from ./../imagewin/iwin8.h:29,
- from ../gamewin.h:26,
- from miscinf.cc:33:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from ibuf16.cc:26:
- ibuf16.h: In member function 'short unsigned int* Image_buffer16::get_pixels()':
- ibuf16.h:35:49: warning: cast from 'unsigned char*' to 'short unsigned int*' increases required alignment of target type [-Wcast-align]
- return reinterpret_cast<unsigned short *>(bits);
- ^
- ibuf16.cc: In member function 'virtual void Image_buffer16::get(Image_buffer*, int, int)':
- ibuf16.cc:177:68: warning: cast from 'unsigned char*' to 'short unsigned int*' increases required alignment of target type [-Wcast-align]
- unsigned short *to = reinterpret_cast<unsigned short *>(dest->bits) +
- ^
- ibuf16.cc: In member function 'virtual void Image_buffer16::put(Image_buffer*, int, int)':
- ibuf16.cc:199:69: warning: cast from 'unsigned char*' to 'short unsigned int*' increases required alignment of target type [-Wcast-align]
- Image_buffer16::copy16(reinterpret_cast<unsigned short *>(src->bits),
- ^
- ibuf8.cc: In member function 'virtual void Image_buffer8::copy8(const unsigned char*, int, int, int, int)':
- ibuf8.cc:211:75: warning: cast from 'unsigned char*' to 'uint32*' {aka 'unsigned int*'} increases required alignment of target type [-Wcast-align]
- uint32 *to = reinterpret_cast<uint32 *>(bits + desty * line_width + destx);
- ^
- ibuf8.cc:212:92: warning: cast from 'const unsigned char*' to 'const uint32*' {aka 'const unsigned int*'} increases required alignment of target type [-Wcast-align]
- const uint32 *from = reinterpret_cast<const uint32 *>(src_pixels + srcy * src_width + srcx);
- ^
- ibuf8.cc:234:48: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'uint32*' {aka 'unsigned int*'} increases required alignment of target type [-Wcast-alig]
- to = reinterpret_cast<uint32 *>(to8 + to_next);
- ^
- ibuf8.cc:235:60: warning: cast from 'const uint8*' {aka 'const unsigned char*'} to 'const uint32*' {aka 'const unsigned int*'} increases required alignment of target type [-Wcast-align]
- from = reinterpret_cast<const uint32 *>(from8 + from_next);
- ^
- In file included from BilinearScalerInternal_2x.cpp:21:
- BilinearScalerInternal_2x.cpp: In instantiation of 'bool Pentagram::BilinearScalerInternal_2x(SDL_Surface*, sint32, sint32, sint32, sint32, uint8*, sint32, sint32, sint32, bool) [with uintX = unsigned int; Manip = ManipStoD<color_8, color_32>; uintS = unsigned char; SDL_Surface = SDL_Surface; sint32 = int; uint8 = unsigned char]':
- BilinearScalerInternal_2x.cpp:183:1: required from here
- BilinearScalerInternal.h:42:5: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX*>(pixel)) = Manip::rgb(a[0], a[1], a[2]); \
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- BilinearScalerInternal.h:43:5: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX*>(pixel+sizeof(uintX))) = Manip::rgb((a[0]+f[0])>>1, (a[1]+f[1])>>1, (a[2]+f[2])>>1); \
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- BilinearScalerInternal.h:45:5: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX*>(pixel)) = Manip::rgb((a[0]+b[0])>>1, (a[1]+b[1])>>1, (a[2]+b[2])>>1);\
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- BilinearScalerInternal.h:46:5: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX*>(pixel+sizeof(uintX))) = Manip::rgb((a[0]+b[0]+f[0]+g[0])>>2, (a[1]+b[1]+f[1]+g[1])>>2, (a[2]+b[2]+f[2]+g[2])>>2);\
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- BilinearScalerInternal.h:42:5: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX*>(pixel)) = Manip::rgb(a[0], a[1], a[2]); \
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_video.h:31,
- from imagewin.h:37,
- from ArbScaler.h:23,
- from BilinearScaler.h:23,
- from BilinearScalerInternal.h:20,
- from BilinearScalerInternal_Arb.cpp:21:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_video.h:31,
- from imagewin.h:37,
- from ArbScaler.h:23,
- from BilinearScaler.h:23,
- from BilinearScalerInternal.h:20,
- from BilinearScalerInternal_X1Y12.cpp:21:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from BilinearScalerInternal_Arb.cpp:21:
- BilinearScalerInternal_Arb.cpp: In instantiation of 'bool Pentagram::BilinearScalerInternal_Arb(SDL_Surface*, sint32, sint32, sint32, sint32, uint8*, sint32, sint32, sint32, bool) [with uintX = unsigned int; Manip = ManipStoD<color_8, color_32>; uintS = unsigned char; SDL_Surface = SDL_Surface; sint32 = int; uint8 = unsigned char]':
- BilinearScalerInternal_Arb.cpp:255:1: required from here
- BilinearScalerInternal.h:36:4: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *reinterpret_cast<uintX*>(pixel) = Manip::rgb( \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- BilinearScalerInternal.h:125:7: note: in expansion of macro 'FilterPixel'
- FilterPixel(a,b,f,g,(end_x-pos_x)>>8,(end_y-pos_y)>>8);\
- ^~~~~~~~~~~
- BilinearScalerInternal.h:36:4: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *reinterpret_cast<uintX*>(pixel) = Manip::rgb( \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from BilinearScalerInternal_X1Y12.cpp:21:
- BilinearScalerInternal_X1Y12.cpp: In instantiation of 'bool Pentagram::BilinearScalerInternal_X1Y12(SDL_Surface*, sint32, sint32, sint32, sint32, uint8*, sint32, sint32, sint32, bool) [with uintX = unsigned int; Manip = ManipStoD<color_8, color_32>; uintS = unsigned char; SDL_Surface = SDL_Surface; sint32 = int; uint8 = unsigned char]':
- BilinearScalerInternal_X1Y12.cpp:92:1: required from here
- BilinearScalerInternal.h:100:4: warning: cast from 'uint8*' {aka 'unsigned char'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX*>(pixel)) = Manip::rgb( \
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_video.h:31,
- from imagewin.h:37,
- from ArbScaler.h:23,
- from BilinearScaler.h:23,
- from BilinearScalerInternal.h:20,
- from BilinearScalerInternal_X2Y24.cpp:21:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from BilinearScalerInternal_X2Y24.cpp:21:
- BilinearScalerInternal_X2Y24.cpp: In instantiation of 'bool Pentagram::BilinearScalerInternal_X2Y24(SDL_Surface*, sint32, sint32, sint32, sint32, uint8*, sint32, sint32, sint32, bool) [with uintX = unsigned int; Manip = ManipStoD<color_8, color_32>; uintS = unsigned char; SDL_Surface = SDL_Surface; sint32 = int; uint8 = unsigned char]':
- BilinearScalerInternal_X2Y24.cpp:154:1: required from here
- BilinearScalerInternal.h:50:4: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX*>(pixel)) = Manip::rgb( \
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- BilinearScalerInternal.h:52:4: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX*>(pixel+sizeof(uintX))) = Manip::rgb( \
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_video.h:31,
- from imagewin.h:37,
- from ArbScaler.h:23,
- from PointScaler.h:23,
- from PointScaler.cpp:21:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- BilinearScalerInternal_X2Y24.cpp: In instantiation of 'bool Pentagram::BilinearScalerInternal_X2Y24(SDL_Surface*, sint32, sint32, sint32, sint32, uint8*, sint32, sint32, sint32, bool) [with uintX = short unsigned int; Manip = ManipStoD<color_8, color_565>; uintS = unsigned char; SDL_Surface = SDL_Surface; sint32 = int; uint8 = unsigned char]':
- BilinearScalerInternal_X2Y24.cpp:154:1: required from here
- BilinearScalerInternal.h:50:4: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'short unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX*>(pixel)) = Manip::rgb( \
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- BilinearScalerInternal.h:52:4: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'short unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX*>(pixel+sizeof(uintX))) = Manip::rgb( \
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PointScaler.cpp: In instantiation of 'static bool Pentagram::PointScalerInternal<uintX, Manip, uintS>::Scale(SDL_Surface*, sint32, sint32, sint32, sint32, uint8*, sint32, sint32, sint32, bool) [with uintX = unsigned int; Manip = ManipStoD<color_8, color_32>; uintS = unsigned char; SDL_Surface = SDL_Surface; sint32 = int; uint8 = unsigned char]':
- PointScaler.cpp:288:63: required from here
- PointScaler.cpp:58:8: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX *>(pixel + 0)) = p;
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PointScaler.cpp:59:8: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX *>(pixel + sizeof(uintX))) = p;
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PointScaler.cpp:60:8: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX *>(pixel2 + 0)) = p;
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PointScaler.cpp:61:8: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX *>(pixel2 + sizeof(uintX))) = p;
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PointScaler.cpp:104:10: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX *>(pixel)) = p;
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PointScaler.cpp:155:9: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX *>(pixel + 0)) = p;
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PointScaler.cpp:156:9: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX *>(pixel + sizeof(uintX))) = p;
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PointScaler.cpp:200:9: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX *>(pixel)) = p;
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- PointScaler.cpp:253:10: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'unsigned int*' increases required alignment of target type [-Wcast-align]
- *(reinterpret_cast<uintX *>(pixel)) = p;
- ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- stackframe.cc: In function 'std::ostream& operator<<(std::ostream&, Stack_frame&)':
- stackframe.cc:86:47: warning: useless cast to type 'int' [-Wuseless-cast]
- << static_cast<int>(frame.ip - frame.code) << " in 0x"
- ^
- In file included from ./../include/ucdata.h:27,
- from ucfunc.cc:23:
- ./../include/ucfunc.h: In member function 'unsigned int GotoSet::size() const':
- ./../include/ucfunc.h:152:48: warning: useless cast to type 'unsigned int' [-Wuseless-cast]
- return static_cast<unsigned int>(_uccs.size());
- ^
- In file included from ./../include/ucdata.h:27,
- from ucxt.cc:50:
- ./../include/ucfunc.h: In member function 'unsigned int GotoSet::size() const':
- ./../include/ucfunc.h:152:48: warning: useless cast to type 'unsigned int' [-Wuseless-cast]
- return static_cast<unsigned int>(_uccs.size());
- ^
- In file included from ./../include/ucdata.h:27,
- from ucdata.cc:32:
- ./../include/ucfunc.h: In member function 'unsigned int GotoSet::size() const':
- ./../include/ucfunc.h:152:48: warning: useless cast to type 'unsigned int' [-Wuseless-cast]
- return static_cast<unsigned int>(_uccs.size());
- ^
- timidity_common.cpp: In function 'void* Timidity_Pentagram::safe_malloc(size_t)':
- timidity_common.cpp:221:40: warning: useless cast to type 'unsigned int' [-Wuseless-cast]
- static_cast<unsigned>(count));
- ^
- timidity_common.cpp:227:40: warning: useless cast to type 'unsigned int' [-Wuseless-cast]
- static_cast<unsigned>(count));
- ^
- In file included from /usr/include/SDL2/SDL_main.h:25,
- from /usr/include/SDL2/SDL.h:32,
- from timidity.cpp:32:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_main.h:25,
- from /usr/include/SDL2/SDL.h:32,
- from LowLevelMidiDriver.h:30,
- from LowLevelMidiDriver.cpp:23:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- fmopl.cpp: In function 'FMOpl_Pentagram::FM_OPL* FMOpl_Pentagram::OPLCreate(int, int, int)':
- fmopl.cpp:1143:44: warning: cast from 'char*' to 'FMOpl_Pentagram::FM_OPL*' increases required alignment of target type [-Wcast-align]
- OPL = reinterpret_cast<FM_OPL *>(ptr); ptr += sizeof(FM_OPL);
- ^
- fmopl.cpp:1144:44: warning: cast from 'char*' to 'FMOpl_Pentagram::OPL_CH*' increases required alignment of target type [-Wcast-align]
- OPL->P_CH = reinterpret_cast<OPL_CH *>(ptr); ptr += sizeof(OPL_CH) * max_ch;
- ^
- In file included from /usr/include/SDL2/SDL_main.h:25,
- from /usr/include/SDL2/SDL.h:32,
- from LowLevelMidiDriver.h:30,
- from FMOplMidiDriver.h:24,
- from FMOplMidiDriver.cpp:23:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_main.h:25,
- from /usr/include/SDL2/SDL.h:32,
- from LowLevelMidiDriver.h:30,
- from FMOplMidiDriver.h:24,
- from MidiDriver.cpp:27:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_main.h:25,
- from /usr/include/SDL2/SDL.h:32,
- from LowLevelMidiDriver.h:30,
- from TimidityMidiDriver.h:24,
- from TimidityMidiDriver.cpp:20:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_main.h:25,
- from /usr/include/SDL2/SDL.h:32,
- from LowLevelMidiDriver.h:30,
- from ALSAMidiDriver.h:26,
- from ALSAMidiDriver.cpp:27:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- AudioChannel.cc: In member function 'void Pentagram::AudioChannel::resampleFrameM16toS(sint16*&, uint32&)':
- AudioChannel.cc:480:46: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c = *reinterpret_cast<sint16 *>(src+4);
- ^
- AudioChannel.cc:483:45: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c = *reinterpret_cast<sint16 *>(src2);
- ^
- AudioChannel.cc: In member function 'void Pentagram::AudioChannel::resampleFrameM16toM(sint16*&, uint32&)':
- AudioChannel.cc:543:46: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c = *reinterpret_cast<sint16 *>(src+4);
- ^
- AudioChannel.cc:546:45: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c = *reinterpret_cast<sint16 *>(src2);
- ^
- AudioChannel.cc: In member function 'void Pentagram::AudioChannel::resampleFrameS16toM(sint16*&, uint32&)':
- AudioChannel.cc:599:47: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c = *reinterpret_cast<sint16 *>(src+8);
- ^
- AudioChannel.cc:600:48: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c2 = *reinterpret_cast<sint16 *>(src+10);
- ^
- AudioChannel.cc:604:46: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c = *reinterpret_cast<sint16 *>(src2);
- ^
- AudioChannel.cc:605:48: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c2 = *reinterpret_cast<sint16 *>(src2+2);
- ^
- AudioChannel.cc: In member function 'void Pentagram::AudioChannel::resampleFrameS16toS(sint16*&, uint32&)':
- AudioChannel.cc:660:47: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c = *reinterpret_cast<sint16 *>(src+8);
- ^
- AudioChannel.cc:661:48: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c2 = *reinterpret_cast<sint16 *>(src+10);
- ^
- AudioChannel.cc:665:46: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c = *reinterpret_cast<sint16 *>(src2);
- ^
- AudioChannel.cc:666:48: warning: cast from 'uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- int c2 = *reinterpret_cast<sint16 *>(src2+2);
- ^
- RawAudioSample.cc: In member function 'virtual uint32 Pentagram::RawAudioSample::decompressFrame(void*, void*) const':
- RawAudioSample.cc:96:82: warning: cast from 'std::unique_ptr<unsigned char []>::pointer' {aka 'unsigned char*'} to 'const uint16*' {aka 'const short unsigned int*'} increases required alignment of target type [-Wcast-align]
- const uint16 *src = reinterpret_cast<const uint16 *>(buffer.get() + decomp->pos);
- ^
- In file included from /usr/include/SDL2/SDL_main.h:25,
- from /usr/include/SDL2/SDL.h:32,
- from AudioMixer.cc:27:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_main.h:25,
- from /usr/include/SDL2/SDL.h:32,
- from OggAudioSample.cc:23:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_audio.h:31,
- from Audio.cc:22:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_video.h:31,
- from ./../imagewin/imagewin.h:37,
- from ./../imagewin/iwin8.h:29,
- from ../mouse.h:26,
- from ../exult.h:22,
- from Midi.cc:31:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- AudioMixer.cc: In static member function 'static void Pentagram::AudioMixer::sdlAudioCallback(void*, Uint8*, int)':
- AudioMixer.cc:301:50: warning: cast from 'Uint8*' {aka 'unsigned char*'} to 'sint16*' {aka 'short int*'} increases required alignment of target type [-Wcast-align]
- mixer->MixAudio(reinterpret_cast<sint16*>(stream), len);
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_video.h:31,
- from ./../imagewin/imagewin.h:37,
- from ./../imagewin/iwin8.h:29,
- from ../mouse.h:26,
- from Gump_manager.h:25,
- from Notebook_gump.cc:25:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- Gamemenu_gump.cc: At global scope:
- Gamemenu_gump.cc:57:20: warning: 'quitmenutext' defined but not used [-Wunused-variable]
- static const char *quitmenutext = "Quit to Menu";
- ^~~~~~~~~~~~
- Newfile_gump.cc: In member function 'void Newfile_gump::LoadSaveGameDetails()':
- Newfile_gump.cc:918:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 18 equals destination size [-Wstringop-truncation]
- strncpy(cur_party[i].name, namestr.c_str(), 18);
- ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_video.h:31,
- from ./../imagewin/imagewin.h:37,
- from ./../imagewin/iwin8.h:29,
- from ../gamewin.h:26,
- from Face_button.cc:26:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_events.h:31,
- from Gump_manager.cc:25:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_video.h:31,
- from ./../imagewin/imagewin.h:37,
- from ./../imagewin/iwin8.h:29,
- from ../gamewin.h:26,
- from Jawbone_gump.cc:26:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_video.h:31,
- from ./../imagewin/imagewin.h:37,
- from ./../imagewin/iwin8.h:29,
- from ../gamewin.h:26,
- from CombatStats_gump.cc:25:
- /usr/include/SDL2/SDL_endian.h: In function 'Uint32 SDL_Swap32(Uint32)':
- /usr/include/SDL2/SDL_stdinc.h:134:71: warning: useless cast to type 'Uint32' {aka 'unsigned int'} [-Wuseless-cast]
- #define SDL_static_cast(type, expression) static_cast<type>(expression)
- ^
- /usr/include/SDL2/SDL_endian.h:164:12: note: in expansion of macro 'SDL_static_cast'
- return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) |
- ^~~~~~~~~~~~~~~
- combat.cc: In function 'void Combat_schedule::start_battle()':
- combat.cc:107:83: warning: potential null pointer dereference [-Wnull-dereference]
- (!opponents.empty() || (npc->get_target() && npc->get_target()->as_actor()))) {
- ^
- gamedat.cc: In member function 'void Game_window::write_saveinfo()':
- gamedat.cc:488:11: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 18 equals destination size [-Wstringop-truncation]
- strncpy(name, namestr.c_str(), 18);
- ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
- gamewin.cc: In member function 'void Game_window::add_npc(Actor*, int)':
- gamewin.cc:786:47: warning: potential null pointer dereference [-Wnull-dereference]
- assert(!npcs[num] || get_npc(num)->is_unused());
- ~~~~~~~~~~~~~~~~~~~~~~~^~
- In file included from monsters.h:24,
- from gamewin.cc:47:
- actors.h: In member function 'int Game_window::get_unused_npc()':
- actors.h:570:10: warning: potential null pointer dereference [-Wnull-dereferenc]
- unused = tf;
- ~~~~~~~^~~~
- actors.h:570:10: warning: potential null pointer dereference [-Wnull-dereferenc]
Add Comment
Please, Sign In to add comment