>>> Building on exopi-4 under emulators/gambatte BDEPENDS = [graphics/png;devel/sdl] DIST = [emulators/gambatte:gambatte_src-r571.tar.gz] FULLPKGNAME = gambatte-0.5.0.571p8 RDEPENDS = [devel/sdl] (Junk lock obtained for exopi-4 at 1764455269.46) >>> Running depends in emulators/gambatte at 1764455269.49 last junk was in math/med /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 was: /usr/sbin/pkg_add -aI -Drepair png-1.6.51 sdl-1.2.15p12 /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 >>> Running show-prepare-results in emulators/gambatte at 1764455271.19 ===> emulators/gambatte ===> Building from scratch gambatte-0.5.0.571p8 ===> gambatte-0.5.0.571p8 depends on: png-* -> png-1.6.51 ===> gambatte-0.5.0.571p8 depends on: sdl-* -> sdl-1.2.15p12 ===> Verifying specs: c++ c++abi pthread SDL c m z ===> found c++.12.0 c++abi.9.0 pthread.28.1 SDL.8.0 c.102.2 m.10.1 z.7.1 png-1.6.51 sdl-1.2.15p12 (Junk lock released for exopi-4 at 1764455271.73) distfiles size=522199 >>> Running build in emulators/gambatte at 1764455271.77 ===> emulators/gambatte ===> Checking files for gambatte-0.5.0.571p8 `/exopi-cvs/ports/distfiles/gambatte_src-r571.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for gambatte-0.5.0.571p8 ===> Patching for gambatte-0.5.0.571p8 ===> Applying OpenBSD patch patch-gambatte_qt_src_framework_src_SDL_Joystick_src_SDL_joystick_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |https://github.com/sinamas/gambatte/pull/7 |--- gambatte_qt/src/framework/src/SDL_Joystick/src/SDL_joystick.c.orig Sun Dec 20 05:16:46 2015 |+++ gambatte_qt/src/framework/src/SDL_Joystick/src/SDL_joystick.c Sun Dec 20 05:16:51 2015 -------------------------- Patching file gambatte_qt/src/framework/src/SDL_Joystick/src/SDL_joystick.c using Plan A... Hunk #1 succeeded at 376. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for gambatte-0.5.0.571p8 ===> Configuring for gambatte-0.5.0.571p8 ===> Building for gambatte-0.5.0.571p8 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/audiosink.cpp -o gambatte_sdl/src/audiosink.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/blitterwrapper.cpp -o gambatte_sdl/src/blitterwrapper.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/gambatte_sdl.cpp -o gambatte_sdl/src/gambatte_sdl.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 gambatte_sdl/src/gambatte_sdl.cpp:603:22: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] 603 | std::bind1st(std::mem_fun(&Parser::add), &parser)); | ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:49:1: note: 'mem_fun' has been explicitly marked deprecated here 49 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI mem_fun1_t<_Sp, _Tp, _Ap> mem_fun(_Sp (_Tp::*__f)(_Ap)) { | ^ /usr/include/c++/v1/__config:711:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 711 | # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED | ^ /usr/include/c++/v1/__config:688:49: note: expanded from macro '_LIBCPP_DEPRECATED' 688 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ gambatte_sdl/src/gambatte_sdl.cpp:603:9: warning: 'bind1st, Parser *>' is deprecated [-Wdeprecated-declarations] 603 | std::bind1st(std::mem_fun(&Parser::add), &parser)); | ^ /usr/include/c++/v1/__functional/binder1st.h:45:1: note: 'bind1st, Parser *>' has been explicitly marked deprecated here 45 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI binder1st<_Operation> | ^ /usr/include/c++/v1/__config:711:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 711 | # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED | ^ /usr/include/c++/v1/__config:688:49: note: expanded from macro '_LIBCPP_DEPRECATED' 688 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/parser.cpp -o gambatte_sdl/src/parser.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/sdlblitter.cpp -o gambatte_sdl/src/sdlblitter.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/str_to_sdlkey.cpp -o gambatte_sdl/src/str_to_sdlkey.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/usec.cpp -o gambatte_sdl/src/usec.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/adaptivesleep.cpp -o common/adaptivesleep.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/chainresampler.cpp -o common/resample/src/chainresampler.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/i0.cpp -o common/resample/src/i0.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/kaiser50sinc.cpp -o common/resample/src/kaiser50sinc.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/kaiser70sinc.cpp -o common/resample/src/kaiser70sinc.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/makesinckernel.cpp -o common/resample/src/makesinckernel.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/resamplerinfo.cpp -o common/resample/src/resamplerinfo.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/u48div.cpp -o common/resample/src/u48div.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/rateest.cpp -o common/rateest.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/skipsched.cpp -o common/skipsched.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/rgb32conv.cpp -o common/videolink/rgb32conv.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilterinfo.cpp -o common/videolink/vfilterinfo.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilters/catrom2x.cpp -o common/videolink/vfilters/catrom2x.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilters/catrom3x.cpp -o common/videolink/vfilters/catrom3x.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilters/kreed2xsai.cpp -o common/videolink/vfilters/kreed2xsai.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilters/maxsthq2x.cpp -o common/videolink/vfilters/maxsthq2x.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilters/maxsthq3x.cpp -o common/videolink/vfilters/maxsthq3x.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/bitmap_font.cpp -o libgambatte/src/bitmap_font.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/cpu.cpp -o libgambatte/src/cpu.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 In file included from libgambatte/src/cpu.cpp:19: In file included from libgambatte/src/cpu.h:22: In file included from libgambatte/src/memory.h:27: libgambatte/src/video.h:89:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:89:52: note: place parentheses around the '&' expression to silence this warning 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:89:52: note: place parentheses around the '?:' expression to evaluate it first 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:93:52: note: place parentheses around the '&' expression to silence this warning 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: note: place parentheses around the '?:' expression to evaluate it first 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/gambatte.cpp -o libgambatte/src/gambatte.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 In file included from libgambatte/src/gambatte.cpp:20: In file included from libgambatte/src/cpu.h:22: In file included from libgambatte/src/memory.h:27: libgambatte/src/video.h:89:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:89:52: note: place parentheses around the '&' expression to silence this warning 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:89:52: note: place parentheses around the '?:' expression to evaluate it first 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:93:52: note: place parentheses around the '&' expression to silence this warning 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: note: place parentheses around the '?:' expression to evaluate it first 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/initstate.cpp -o libgambatte/src/initstate.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/interrupter.cpp -o libgambatte/src/interrupter.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 In file included from libgambatte/src/interrupter.cpp:20: In file included from libgambatte/src/memory.h:27: libgambatte/src/video.h:89:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:89:52: note: place parentheses around the '&' expression to silence this warning 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:89:52: note: place parentheses around the '?:' expression to evaluate it first 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:93:52: note: place parentheses around the '&' expression to silence this warning 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: note: place parentheses around the '?:' expression to evaluate it first 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/interruptrequester.cpp -o libgambatte/src/interruptrequester.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/loadres.cpp -o libgambatte/src/loadres.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/memory.cpp -o libgambatte/src/memory.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 In file included from libgambatte/src/memory.cpp:19: In file included from libgambatte/src/memory.h:27: libgambatte/src/video.h:89:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:89:52: note: place parentheses around the '&' expression to silence this warning 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:89:52: note: place parentheses around the '?:' expression to evaluate it first 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:93:52: note: place parentheses around the '&' expression to silence this warning 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: note: place parentheses around the '?:' expression to evaluate it first 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/sound.cpp -o libgambatte/src/sound.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/state_osd_elements.cpp -o libgambatte/src/state_osd_elements.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/statesaver.cpp -o libgambatte/src/statesaver.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 libgambatte/src/statesaver.cpp:98:21: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] 98 | std::bind1st(std::mem_fun(&std::ofstream::put), &file)); | ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:49:1: note: 'mem_fun' has been explicitly marked deprecated here 49 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI mem_fun1_t<_Sp, _Tp, _Ap> mem_fun(_Sp (_Tp::*__f)(_Ap)) { | ^ /usr/include/c++/v1/__config:711:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 711 | # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED | ^ /usr/include/c++/v1/__config:688:49: note: expanded from macro '_LIBCPP_DEPRECATED' 688 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ libgambatte/src/statesaver.cpp:98:8: warning: 'bind1st, std::ofstream *>' is deprecated [-Wdeprecated-declarations] 98 | std::bind1st(std::mem_fun(&std::ofstream::put), &file)); | ^ /usr/include/c++/v1/__functional/binder1st.h:45:1: note: 'bind1st, std::ofstream *>' has been explicitly marked deprecated here 45 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI binder1st<_Operation> | ^ /usr/include/c++/v1/__config:711:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 711 | # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED | ^ /usr/include/c++/v1/__config:688:49: note: expanded from macro '_LIBCPP_DEPRECATED' 688 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/tima.cpp -o libgambatte/src/tima.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/file/file_zip.cpp -o libgambatte/src/file/file_zip.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 cc -O2 -pipe -DHAVE_USBHID_H -DUSBHID_UCR_DATA -DUSBHID_NEW -c libgambatte/src/file/unzip/unzip.c -o libgambatte/src/file/unzip/unzip.o libgambatte/src/file/unzip/unzip.c:171:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | local int unzlocal_getByte(pzlib_filefunc_def,filestream,pi) | ^ libgambatte/src/file/unzip/unzip.c:201:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | local int unzlocal_getShort (pzlib_filefunc_def,filestream,pX) | ^ libgambatte/src/file/unzip/unzip.c:229:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX) | ^ libgambatte/src/file/unzip/unzip.c:262:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | local int strcmpcasenosensitive_internal (fileName1,fileName2) | ^ libgambatte/src/file/unzip/unzip.c:305:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | extern int ZEXPORT unzStringFileNameCompare (fileName1,fileName2,iCaseSensitivity) | ^ libgambatte/src/file/unzip/unzip.c:331:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | local uLong unzlocal_SearchCentralDir(pzlib_filefunc_def,filestream) | ^ libgambatte/src/file/unzip/unzip.c:397:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | extern unzFile ZEXPORT unzOpen2 (path, pzlib_filefunc_def) | ^ libgambatte/src/file/unzip/unzip.c:500:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | extern unzFile ZEXPORT unzOpen (path) | ^ libgambatte/src/file/unzip/unzip.c:511:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | extern int ZEXPORT unzClose (file) | ^ libgambatte/src/file/unzip/unzip.c:532:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | extern int ZEXPORT unzGetGlobalInfo (file,pglobal_info) | ^ libgambatte/src/file/unzip/unzip.c:548:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | local void unzlocal_DosDateToTmuDate (ulDosDate, ptm) | ^ libgambatte/src/file/unzip/unzip.c:577:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | local int unzlocal_GetCurrentFileInfoInternal (file, | ^ libgambatte/src/file/unzip/unzip.c:750:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | extern int ZEXPORT unzGetCurrentFileInfo (file, | ^ libgambatte/src/file/unzip/unzip.c:774:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | extern int ZEXPORT unzGoToFirstFile (file) | ^ libgambatte/src/file/unzip/unzip.c:796:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | extern int ZEXPORT unzGoToNextFile (file) | ^ libgambatte/src/file/unzip/unzip.c:830:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | extern int ZEXPORT unzLocateFile (file, szFileName, iCaseSensitivity) | ^ libgambatte/src/file/unzip/unzip.c:909:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | extern int ZEXPORT unzGetFilePos(file, file_pos) | ^ libgambatte/src/file/unzip/unzip.c:927:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | extern int ZEXPORT unzGoToFilePos(file, file_pos) | ^ libgambatte/src/file/unzip/unzip.c:963:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | local int unzlocal_CheckCurrentFileCoherencyHeader (s,piSizeVar, | ^ libgambatte/src/file/unzip/unzip.c:1055:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | extern int ZEXPORT unzOpenCurrentFile3 (file, method, level, raw, password) | ^ libgambatte/src/file/unzip/unzip.c:1178:24: warning: incompatible pointer types assigning to 'const unsigned long *' from 'const z_crc_t *' (aka 'const unsigned int *') [-Wincompatible-pointer-types] 1178 | s->pcrc_32_tab = get_crc_table(); | ^ ~~~~~~~~~~~~~~~ libgambatte/src/file/unzip/unzip.c:1200:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | extern int ZEXPORT unzOpenCurrentFile (file) | ^ libgambatte/src/file/unzip/unzip.c:1206:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | extern int ZEXPORT unzOpenCurrentFilePassword (file, password) | ^ libgambatte/src/file/unzip/unzip.c:1213:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | extern int ZEXPORT unzOpenCurrentFile2 (file,method,level,raw) | ^ libgambatte/src/file/unzip/unzip.c:1232:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | extern int ZEXPORT unzReadCurrentFile (file, buf, len) | ^ libgambatte/src/file/unzip/unzip.c:1250:46: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1250 | if ((pfile_in_zip_read_info->read_buffer == NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ libgambatte/src/file/unzip/unzip.c:1250:46: note: remove extraneous parentheses around the comparison to silence this warning 1250 | if ((pfile_in_zip_read_info->read_buffer == NULL)) | ~ ^ ~ libgambatte/src/file/unzip/unzip.c:1250:46: note: use '=' to turn this equality comparison into an assignment 1250 | if ((pfile_in_zip_read_info->read_buffer == NULL)) | ^~ | = libgambatte/src/file/unzip/unzip.c:1393:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | extern z_off_t ZEXPORT unztell (file) | ^ libgambatte/src/file/unzip/unzip.c:1413:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | extern int ZEXPORT unzeof (file) | ^ libgambatte/src/file/unzip/unzip.c:1446:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | extern int ZEXPORT unzGetLocalExtrafield (file,buf,len) | ^ libgambatte/src/file/unzip/unzip.c:1497:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | extern int ZEXPORT unzCloseCurrentFile (file) | ^ libgambatte/src/file/unzip/unzip.c:1540:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | extern int ZEXPORT unzGetGlobalComment (file, szComment, uSizeBuf) | ^ libgambatte/src/file/unzip/unzip.c:1571:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | extern uLong ZEXPORT unzGetOffset (file) | ^ libgambatte/src/file/unzip/unzip.c:1587:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | extern int ZEXPORT unzSetOffset (file, pos) | ^ 33 warnings generated. cc -O2 -pipe -DHAVE_USBHID_H -DUSBHID_UCR_DATA -DUSBHID_NEW -c libgambatte/src/file/unzip/ioapi.c -o libgambatte/src/file/unzip/ioapi.o libgambatte/src/file/unzip/ioapi.c:68:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | voidpf ZCALLBACK fopen_file_func (opaque, filename, mode) | ^ libgambatte/src/file/unzip/ioapi.c:90:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | uLong ZCALLBACK fread_file_func (opaque, stream, buf, size) | ^ libgambatte/src/file/unzip/ioapi.c:102:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | uLong ZCALLBACK fwrite_file_func (opaque, stream, buf, size) | ^ libgambatte/src/file/unzip/ioapi.c:113:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | long ZCALLBACK ftell_file_func (opaque, stream) | ^ libgambatte/src/file/unzip/ioapi.c:122:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | long ZCALLBACK fseek_file_func (opaque, stream, offset, origin) | ^ libgambatte/src/file/unzip/ioapi.c:148:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | int ZCALLBACK fclose_file_func (opaque, stream) | ^ libgambatte/src/file/unzip/ioapi.c:157:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | int ZCALLBACK ferror_file_func (opaque, stream) | ^ libgambatte/src/file/unzip/ioapi.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void fill_fopen_filefunc (pzlib_filefunc_def) | ^ 8 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/mem/cartridge.cpp -o libgambatte/src/mem/cartridge.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/mem/memptrs.cpp -o libgambatte/src/mem/memptrs.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/mem/pakinfo.cpp -o libgambatte/src/mem/pakinfo.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/mem/rtc.cpp -o libgambatte/src/mem/rtc.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/sound/channel1.cpp -o libgambatte/src/sound/channel1.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/sound/channel2.cpp -o libgambatte/src/sound/channel2.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/sound/channel3.cpp -o libgambatte/src/sound/channel3.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/sound/channel4.cpp -o libgambatte/src/sound/channel4.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/sound/duty_unit.cpp -o libgambatte/src/sound/duty_unit.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/sound/envelope_unit.cpp -o libgambatte/src/sound/envelope_unit.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/sound/length_counter.cpp -o libgambatte/src/sound/length_counter.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/video.cpp -o libgambatte/src/video.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 In file included from libgambatte/src/video.cpp:19: libgambatte/src/video.h:89:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:89:52: note: place parentheses around the '&' expression to silence this warning 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:89:52: note: place parentheses around the '?:' expression to evaluate it first 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:93:52: note: place parentheses around the '&' expression to silence this warning 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: note: place parentheses around the '?:' expression to evaluate it first 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/video/ly_counter.cpp -o libgambatte/src/video/ly_counter.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/video/lyc_irq.cpp -o libgambatte/src/video/lyc_irq.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/video/next_m0_time.cpp -o libgambatte/src/video/next_m0_time.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/video/ppu.cpp -o libgambatte/src/video/ppu.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/video/sprite_mapper.cpp -o libgambatte/src/video/sprite_mapper.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 ar r libgambatte/libgambatte.a libgambatte/src/bitmap_font.o libgambatte/src/cpu.o libgambatte/src/gambatte.o libgambatte/src/initstate.o libgambatte/src/interrupter.o libgambatte/src/interruptrequester.o libgambatte/src/loadres.o libgambatte/src/memory.o libgambatte/src/sound.o libgambatte/src/state_osd_elements.o libgambatte/src/statesaver.o libgambatte/src/tima.o libgambatte/src/file/file_zip.o libgambatte/src/file/unzip/unzip.o libgambatte/src/file/unzip/ioapi.o libgambatte/src/mem/cartridge.o libgambatte/src/mem/memptrs.o libgambatte/src/mem/pakinfo.o libgambatte/src/mem/rtc.o libgambatte/src/sound/channel1.o libgambatte/src/sound/channel2.o libgambatte/src/sound/channel3.o libgambatte/src/sound/channel4.o libgambatte/src/sound/duty_unit.o libgambatte/src/sound/envelope_unit.o libgambatte/src/sound/length_counter.o libgambatte/src/video.o libgambatte/src/video/ly_counter.o libgambatte/src/video/lyc_irq.o libgambatte/src/video/next_m0_time.o libgambatte/src/video/ppu.o libgambatte/src/video/sprite_mapper.o ar: warning: creating libgambatte/libgambatte.a ranlib libgambatte/libgambatte.a c++ -O2 -pipe -std=c++14 -DHAVE_STDINT_H -o gambatte_sdl/gambatte_sdl -pthread gambatte_sdl/src/audiosink.o gambatte_sdl/src/blitterwrapper.o gambatte_sdl/src/gambatte_sdl.o gambatte_sdl/src/parser.o gambatte_sdl/src/sdlblitter.o gambatte_sdl/src/str_to_sdlkey.o gambatte_sdl/src/usec.o common/adaptivesleep.o common/resample/src/chainresampler.o common/resample/src/i0.o common/resample/src/kaiser50sinc.o common/resample/src/kaiser70sinc.o common/resample/src/makesinckernel.o common/resample/src/resamplerinfo.o common/resample/src/u48div.o common/rateest.o common/skipsched.o common/videolink/rgb32conv.o common/videolink/vfilterinfo.o common/videolink/vfilters/catrom2x.o common/videolink/vfilters/catrom3x.o common/videolink/vfilters/kreed2xsai.o common/videolink/vfilters/maxsthq2x.o common/videolink/vfilters/maxsthq3x.o libgambatte/libgambatte.a -lz -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib ld: warning: file_zip.cpp(file_zip.o:(gambatte::newFileInstance(std::__1::basic_string, std::__1::allocator> const&)) in archive libgambatte/libgambatte.a): warning: strcpy() is almost always misused, please use strlcpy() >>> Running package in emulators/gambatte at 1764455312.69 ===> emulators/gambatte ===> Faking installation for gambatte-0.5.0.571p8 /exopi-obj/pobj/gambatte-0.5.0.571/bin/install -c -m 644 /exopi-cvs/ports/emulators/gambatte/files/gambatte_sdl.6 /exopi-obj/pobj/gambatte-0.5.0.571/fake-amd64/usr/local/man/man6 /exopi-obj/pobj/gambatte-0.5.0.571/bin/install -c -s -m 755 /exopi-obj/pobj/gambatte-0.5.0.571/gambatte_src-r571/gambatte_sdl/gambatte_sdl /exopi-obj/pobj/gambatte-0.5.0.571/fake-amd64/usr/local/bin ===> Building package for gambatte-0.5.0.571p8 Create /exopi-cvs/ports/packages/amd64/all/gambatte-0.5.0.571p8.tgz Creating package gambatte-0.5.0.571p8 reading plist| checking dependencies| checking dependencies|devel/sdl checksumming| checksumming| | 0% checksumming|*** | 6% checksumming|******* | 11% checksumming|********** | 17% checksumming|************** | 22% checksumming|***************** | 28% checksumming|******************** | 33% checksumming|************************ | 39% checksumming|*************************** | 44% checksumming|******************************* | 50% checksumming|********************************** | 56% checksumming|************************************* | 61% checksumming|***************************************** | 67% checksumming|******************************************** | 72% checksumming|*********************************************** | 78% checksumming|*************************************************** | 83% checksumming|****************************************************** | 89% checksumming|********************************************************** | 94% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/gambatte-0.5.0.571p8.tgz >>> Running clean in emulators/gambatte at 1764455314.00 ===> emulators/gambatte ===> Cleaning for gambatte-0.5.0.571p8 >>> Ended at 1764455314.39 max_stuck=0.70/depends=1.70/show-prepare-results=0.57/build=40.93/package=1.32/clean=0.42