Farama-Foundation / ViZDoom

Reinforcement Learning environments based on the 1993 game Doom :godmode:
https://vizdoom.farama.org/
1.73k stars 401 forks source link

ERROR: Could not build wheels for vizdoom which use PEP 517 and cannot be installed directly #491

Closed Throne-myworld closed 2 years ago

Throne-myworld commented 2 years ago

When I try to install the vizdoom using 'pip install',the error raised that : ERROR: Command errored out with exit status 1: command: /usr/bin/python3 /tmp/tmpoln7vkbf build_wheel /tmp/tmp6vsdacbc cwd: /tmp/pip-install-kby3x8wx/vizdoom Complete output (38 lines): running bdist_wheel running build Traceback (most recent call last): File "/tmp/tmpoln7vkbf", line 280, in main() File "/tmp/tmpoln7vkbf", line 263, in main json_out['return_val'] = hook(hook_input['kwargs']) File "/tmp/tmpoln7vkbf", line 204, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "/tmp/pip-build-env-jljcnwxe/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 230, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/tmp/pip-build-env-jljcnwxe/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-jljcnwxe/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 267, in run_setup super(_BuildMetaLegacyBackend, File "/tmp/pip-build-env-jljcnwxe/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 158, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 147, in setup( File "/tmp/pip-build-env-jljcnwxe/overlay/lib/python3.8/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(attrs) File "/usr/lib/python3.8/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-build-env-jljcnwxe/overlay/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run self.run_command('build') File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "setup.py", line 125, in run if os.path.exists(python_library): File "/usr/lib/python3.8/genericpath.py", line 19, in exists os.stat(path) TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType ERROR: Failed building wheel for vizdoom Failed to build vizdoom ERROR: Could not build wheels for vizdoom which use PEP 517 and cannot be installed directly And my OS info lies below:

Linux version 4.4.0-19041-Microsoft (Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) ) #1237-Microsoft Sat Sep 11 14:32:00 PST 2021

Throne-myworld commented 2 years ago

I've already run the required command sudo apt install cmake libboost-all-dev libsdl2-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libjpeg-dev libbz2-dev libfluidsynth-dev libgme-dev libopenal-dev zlib1g-dev timidity tar nasm but when I try to run pip install vizdoom, thing goes like that.

mwydmuch commented 2 years ago

Hello @Throne-myworld, thank you for reporting the issue. It should be fixed now. You can install the fixed version directly from the repo using: pip install git+https://github.com/mwydmuch/ViZDoom.git if you don't want to wait a bit longer for the new PyPi release.

Throne-myworld commented 2 years ago

Hello @Throne-myworld, thank you for reporting the issue. It should be fixed now. You can install the fixed version directly from the repo using: pip install git+https://github.com/mwydmuch/ViZDoom.git if you don't want to wait a bit longer for the new PyPi release.

Thanks a lot, I've just seen your reply relating the similar question and it works.

Throne-myworld commented 2 years ago

@mwydmuch although I run it on my linux, the command says: vizdoom.vizdoom.ViZDoomErrorException: Could not initialize SDL video: No available video device but I've already installed SDL, what's the problem?

mwydmuch commented 2 years ago

@Throne-myworld do you run WSL or native Linux (your previous log - Linux version 4.4.0-19041-Microsoft suggests WSL)?

Throne-myworld commented 2 years ago

@Throne-myworld do you run WSL or native Linux (your previous log - Linux version 4.4.0-19041-Microsoft suggests WSL)?

yes, wsl

Throne-myworld commented 2 years ago

@Throne-myworld do you run WSL or native Linux (your previous log - Linux version 4.4.0-19041-Microsoft suggests WSL)?

yes, wsl I installed Ubuntu on win10

mwydmuch commented 2 years ago

Ok, give me ~1h I will test it with clean WSL installation. Right now, I'm not sure if graphic applications work out-of-the-box on WSL. For sure, ViZDoom works on WSL, if you disable its window (game.set_window_visible(False)). You may also try native Windows build.

Throne-myworld commented 2 years ago

thank you very much

mwydmuch commented 2 years ago

@Throne-myworld so the GUI apps doesn't seems to work out-of-the-box on WSL on Windows 10 (at least on my machine). To make it work you need:

Unfortunately, even after these steps I get ViZDoom to display only white screen (as reported here: https://github.com/mwydmuch/ViZDoom/issues/468), it seems to be more general SDL2 and WSL issue. Since other windows like OpenCV's windows work correctly (this can be also used to preview the game as shown in examples/python/buffers.py).

So if you want to use ViZDoom on WSL I recommend using it with window disabled and use OpenCV for preview or use native Windows build.

Throne-myworld commented 2 years ago

@Throne-myworld so the GUI apps doesn't seems to work out-of-the-box on WSL on Windows 10 (at least on my machine). To make it work you need:

  • Download and install X-Server (VcXsrv) on Windows: https://sourceforge.net/projects/vcxsrv/
  • Start it using Command Prompt (cmd.exe) on Windows: "C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto
  • On Ubuntu WSL instance set: export DISPLAY=:0
  • Now you can lunch your graphical application inside Ubuntu WSL.

Unfortunately, even after these steps I get ViZDoom to display only white screen (as reported here: #468), it seems to be more general SDL2 and WSL issue. Since other windows like OpenCV's windows work correctly (this can be also used to preview the game as shown in examples/python/buffers.py).

So if you want to use ViZDoom on WSL I recommend using it with window disabled and use OpenCV for preview or use native Windows build. Acknowledged, but what do OpenCV's windows mean, I've installed opencv for both os.

Throne-myworld commented 2 years ago

@mwydmuch so the GUI apps doesn't seems to work out-of-the-box on WSL on Windows 10 (at least on my machine). To make it work you need:

  • Download and install X-Server (VcXsrv) on Windows: https://sourceforge.net/projects/vcxsrv/
  • Start it using Command Prompt (cmd.exe) on Windows: "C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto
  • On Ubuntu WSL instance set: export DISPLAY=:0
  • Now you can lunch your graphical application inside Ubuntu WSL.

Unfortunately, even after these steps I get ViZDoom to display only white screen (as reported here: #468), it seems to be more general SDL2 and WSL issue. Since other windows like OpenCV's windows work correctly (this can be also used to preview the game as shown in examples/python/buffers.py).

So if you want to use ViZDoom on WSL I recommend using it with window disabled and use OpenCV for preview or use native Windows build.

Actually it works, I tested it on my wsl, and by following your commands ,the graphic video appear. Thanks a lot!

libphy commented 2 years ago

I still have the same error even I use the command above. ERROR: Could not build wheels for vizdoom, which is required to install pyproject.toml-based projects At first I thought it was something to do with my python version, but it seems it causes a problem when I use conda (or virtual environment).

mwydmuch commented 2 years ago

@libphy thank you for reporting the problem, could you provide some more details on how you set up your environment and installation log (--log <filename> can be added to pip install command), this would be helpful to solve this issue? ViZDoom should work with standard venv.

marcopremigit commented 2 years ago

Hi, I have the same problem using a Dockerfile (the tensorflow one). As explained in #493 I've modified the Dockerfile to use python 3.9 because it wasn't building. Running pip3 install ${HOME_DIR}/vizdoom it outputs: ERROR: Failed building wheel for vizdoom Failed to build vizdoom ERROR: Could not build wheels for vizdoom, which is required to install pyproject.toml-based projects I've also tried using pip install git+https://github.com/mwydmuch/ViZDoom.git, but it doesn't work either.

mwydmuch commented 2 years ago

Hi @marcopremigit, could you post your Dockerfile?

marcopremigit commented 2 years ago

https://gist.github.com/marcopremigit/4693cd89e23644db9990a1fedcbb626d

mwydmuch commented 2 years ago

Thank you @marcopremigit. I will test this one in a few hours' time to get detailed logs. But just looking at it, I suspect that this:

# Create a python3 symlink pointing to latest python version
RUN ln -sf /usr/bin/python3.9 /usr/bin/python3

may not be a reliable way to set python3.9 as default, when you would also like to build software that links to Python dev libraries.

I see your Dockerfile is based on our old Dockerfile: https://github.com/mwydmuch/ViZDoom/blob/master/docker/tensorflow/Dockerfile (this one needs an update for sure). Instead of upgrading Python 3 on Ubuntu 16.04, I suggest updating the Ubuntu version to 20.04 and nvidia/cuda version.

marcopremigit commented 2 years ago

@mwydmuch I've updated the Dockerfile with Ubuntu 20.04 and nvidia/cuda version (and changed libpng12-dev into libpng-dev). You can find it here: https://gist.github.com/marcopremigit/aadabd045ec128f266e5435b833d073a The problem now is that if I run python3 learning_tensorflow.py from examples/python I get this:

2021-12-07 15:18:13.910792: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
2021-12-07 15:18:13.910815: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1850] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
No GPU available
2021-12-07 15:18:13.912851: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Initializing doom...
Failed to create ./_vizdoom/ directory:
Permission denied
The config file _vizdoom.ini could not be saved:
Permission denied
Traceback (most recent call last):
  File "learning_tensorflow.py", line 267, in <module>
    game = initialize_game()
  File "learning_tensorflow.py", line 77, in initialize_game
    game.init()

If I run python3 basic.py I get:

Available game variables: ['AMMO2']
Gtk-Message: 15:19:05.570: Failed to load module "canberra-gtk-module"
Failed to create ./_vizdoom/ directory:
Permission denied
The config file _vizdoom.ini could not be saved:
Permission denied
Traceback (most recent call last):
  File "basic.py", line 112, in <module>
    game.init()
vizdoom.vizdoom.ViZDoomUnexpectedExitException: Controlled ViZDoom instance exited unexpectedly.
mwydmuch commented 2 years ago

@marcopremigit I tested your Dockerfile, everything is ok with it, you are probably doing something like this:

cd vizdoom/examples/python
python3 basic.py

The vizdoom directory is created when building the image, so it belongs to a root user. During run you are a non-root user, so you don't have permission to write in this directory.

Just run: python3 vizdoom/examples/python/basic.py from home and it will work or add required permissions in Dockerfile.

marcopremigit commented 2 years ago

You are right, thank you! basic.py now is working, but I still have problems with learning_tensorflow.py:

2021-12-08 09:39:13.471462: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:939] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-12-08 09:39:13.476423: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
2021-12-08 09:39:13.476445: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1850] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
No GPU available
2021-12-08 09:39:13.478453: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Initializing doom...
Traceback (most recent call last):
  File "vizdoom/examples/python/learning_tensorflow.py", line 267, in <module>
    game = initialize_game()
  File "vizdoom/examples/python/learning_tensorflow.py", line 72, in initialize_game
    game.load_config(config_file_path)
vizdoom.vizdoom.FileDoesNotExistException: File "../../scenarios/simpler_basic.cfg | ./scenarios/../../scenarios/simpler_basic.cfg | /usr/local/lib/python3.8/dist-packages/vizdoom/scenarios/../../scenarios/simpler_basic.cfg" does not exist.
mwydmuch commented 2 years ago

@marcopremigit just fix path to scenarios/simpler_basic.cfg in vizdoom/examples/python/learning_tensorflow.py in line 50.

Tip: you can have multi-line code blocks in markdown by using: ``</code> instead of single <code>

mwydmuch commented 2 years ago

@marcopremigit also these are not related at all to the original issue, I'm closing this one, please open a new issue for docker-real problems if you need.

hamid2026 commented 2 years ago

Hello @Throne-myworld, thank you for reporting the issue. It should be fixed now. You can install the fixed version directly from the repo using: pip install git+https://github.com/mwydmuch/ViZDoom.git if you don't want to wait a bit longer for the new PyPi release.

Hello @mwydmuch I have the same problem, and your fixed version did not work for me, I am getting the same error?

Miffyli commented 2 years ago

@hamid2026 Please share all the steps you did, including the full error log and your system information (see comments above). If it is a different error from the original post of this issue, please open a new issue.

hamid2026 commented 2 years ago

@Miffyli When I try to install the vizdoom using 'pip install',same error raised that :

ERROR: Failed building wheel for vizdoom Failed to build vizdoom ERROR: Could not build wheels for vizdoom which use PEP 517 and cannot be installed directly

I am copy the full log below: (I am sure I installed all dependencies in the link below, OS: Ubuntu 20.04.3 LTS)

 Installation failed, you may be missing some dependencies.
  Please check https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md for details

  Traceback (most recent call last):
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 249, in build_wheel
      metadata_directory)
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 231, in build_wheel
      wheel_directory, config_settings)
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 268, in run_setup
      self).run_setup(setup_script=setup_script)
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 158, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 181, in <module>
      keywords=['vizdoom', 'doom', 'ai', 'deep learning', 'reinforcement learning', 'research']
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "setup.py", line 138, in run
      subprocess.check_call(['make', '-j', str(cpu_cores)])
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/subprocess.py", line 311, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['make', '-j', '11']' returned non-zero exit status 2.
  ----------------------------------------
  ERROR: Failed building wheel for vizdoom
Failed to build vizdoom
ERROR: Could not build wheels for vizdoom which use PEP 517 and cannot be installed directly
Miffyli commented 2 years ago

@hamid2026 We would like to have the full log, including the build errors. The Python part provides very little information. Also try pip install git+https://github.com/mwydmuch/ViZDoom.git just in case (if you have not tried it yet).

hamid2026 commented 2 years ago

@Miffyli I tried this pip install git+https://github.com/mwydmuch/ViZDoom.git. The full log with build errors is given below.

/tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:782:2: note: here
    782 |  case 0xC6: // DEC zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:245:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    245 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:971:3: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    971 |   HANDLE_PAGE_CROSSING( data + x );
        |   ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:972:2: note: here
    972 |  case 0x0C:
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:973:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    973 |   pc++;
        |   ~~^~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:975:2: note: here
    975 |  case 0x74: case 0x04: case 0x14: case 0x34: case 0x44: case 0x54: case 0x64:
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:999:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    999 |   c |= 1;
        |   ~~^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:1000:2: note: here
   1000 |  default:
        |  ^~~~~~~
  [ 26%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Fme7_Apu.cpp.o
  [ 26%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readam.c.o
  [ 27%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Namco_Apu.cpp.o
  [ 27%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/read6692.c.o
  [ 27%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Oscs.cpp.o
  [ 28%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Vrc6_Apu.cpp.o
  [ 28%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nsf_Emu.cpp.o
  [ 28%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/read669.c.o
  [ 28%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nsfe_Emu.cpp.o
  [ 28%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Apu.cpp.o
  [ 28%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/ptmeffect.c.o
  [ 28%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadxm2.c.o
  [ 28%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Cpu.cpp.o
  [ 28%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadxm.c.o
  [ 29%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Emu.cpp.o
  [ 29%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Snes_Spc.cpp.o
  [ 29%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Cpu.cpp.o
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp: In member function ‘bool Sap_Cpu::run(sap_time_t)’:
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:291:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    291 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:292:2: note: here
    292 |  case 0x85: // STA zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:439:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    439 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:440:2: note: here
    440 |  case 0x84: // STY zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:446:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    446 |   data = uint8_t (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:447:2: note: here
    447 |  case 0x86: // STX zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:453:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    453 |   data = uint8_t (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:454:2: note: here
    454 |  case 0xA6: // LDX zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:455:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    455 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:456:2: note: here
    456 |  case 0xA2: // LDX #imm
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:463:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    463 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:464:2: note: here
    464 |  case 0xA4: // LDY zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:465:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    465 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:466:2: note: here
    466 |  case 0xA0: // LDY #imm
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:474:3: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    474 |   HANDLE_PAGE_CROSSING( data );
        |   ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:475:2: note: here
    475 |  case 0xAC:{// LDY abs
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:486:3: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    486 |   HANDLE_PAGE_CROSSING( data );
        |   ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:487:2: note: here
    487 |  case 0xAE:{// LDX abs
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:530:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    530 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:531:2: note: here
    531 |  case 0xE0: // CPX #imm
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:549:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    549 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:550:2: note: here
    550 |  case 0xC0: // CPY #imm
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:620:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    620 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:621:2: note: here
    621 |  case 0x6A: // ROR A
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:644:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    644 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:645:2: note: here
    645 |  case 0x4E: // LSR abs
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:646:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    646 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:647:2: note: here
    647 |  case 0x6E: // ROR abs
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:662:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    662 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:663:2: note: here
    663 |  case 0x0E: // ASL abs
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:664:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    664 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:665:2: note: here
    665 |  case 0x2E: // ROL abs
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:686:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    686 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:687:2: note: here
    687 |  case 0x46: // LSR zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:688:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    688 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:689:2: note: here
    689 |  case 0x66: // ROR zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:702:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    702 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:703:2: note: here
    703 |  case 0x06: // ASL zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:704:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    704 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:705:2: note: here
    705 |  case 0x26: // ROL zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:720:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    720 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:721:2: note: here
    721 |  case 0xE6: // INC zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:726:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    726 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:727:2: note: here
    727 |  case 0xC6: // DEC zp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:915:3: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    915 |   HANDLE_PAGE_CROSSING( data + x );
        |   ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:916:2: note: here
    916 |  case 0x0C:
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:917:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    917 |   pc++;
        |   ~~^~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:919:2: note: here
    919 |  case 0x74: case 0x04: case 0x14: case 0x34: case 0x44: case 0x54: case 0x64:
        |  ^~~~
  [ 30%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Dsp.cpp.o
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadstm2.c.o
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp: In member function ‘void Snes_Spc::cpu_write(int, int, Snes_Spc::rel_time_t)’:
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp:438:39: warning: left shift of negative value [-Wshift-negative-value]
    438 |    if ( ((~0x2F00 << (bits_in_int - 16)) << reg) < 0 ) // 36%
        |                                       ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp:438:45: warning: left shift of negative value [-Wshift-negative-value]
    438 |    if ( ((~0x2F00 << (bits_in_int - 16)) << reg) < 0 ) // 36%
        |                                             ^~~
  In file included from /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp:565:
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h: In member function ‘BOOST::uint8_t* Snes_Spc::run_until_(Snes_Spc::time_t)’:
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:298:40: warning: left shift of negative value [-Wshift-negative-value]
    298 |     if ( ((~0x2F00 << (bits_in_int - 16)) << i) < 0 ) // 12%
        |                                        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:298:46: warning: left shift of negative value [-Wshift-negative-value]
    298 |     if ( ((~0x2F00 << (bits_in_int - 16)) << i) < 0 ) // 12%
        |                                              ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:359:2: note: in expansion of macro ‘ADDR_MODES_’
    359 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:371:2: note: in expansion of macro ‘ADDR_MODES_NO_DP’
    371 |  ADDR_MODES_NO_DP( 0xE8 ) // MOV A,addr
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:359:2: note: in expansion of macro ‘ADDR_MODES_’
    359 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:371:2: note: in expansion of macro ‘ADDR_MODES_NO_DP’
    371 |  ADDR_MODES_NO_DP( 0xE8 ) // MOV A,addr
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:388:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    388 |   data = (uint8_t) (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:389:2: note: here
    389 |  case 0xF8: // MOV X,dp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:396:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    396 |   data = READ( 0, data );
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:397:2: note: here
    397 |  case 0xCD: // MOV X,imm
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:403:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    403 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:404:2: note: here
    404 |  case 0xEB: // MOV Y,dp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:359:2: note: in expansion of macro ‘ADDR_MODES_’
    359 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:425:2: note: in expansion of macro ‘ADDR_MODES_NO_DP’
    425 |  ADDR_MODES_NO_DP( 0xC8 ) // MOV addr,A
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:359:2: note: in expansion of macro ‘ADDR_MODES_’
    359 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:425:2: note: in expansion of macro ‘ADDR_MODES_NO_DP’
    425 |  ADDR_MODES_NO_DP( 0xC8 ) // MOV addr,A
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:443:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    443 |   data = (uint8_t) (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:444:2: note: here
    444 |  case 0xD8: // MOV dp,X
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:449:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    449 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:450:2: note: here
    450 |  case 0xCB: // MOV dp,Y
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:356:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    356 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:365:2: note: in expansion of macro ‘CASE’
    365 |  CASE( op - 0x04 ) /* dp */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:495:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    495 |   data = READ( 0, data );\
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:496:2: note: here
    496 |  case op: /* imm */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:356:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    356 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:365:2: note: in expansion of macro ‘CASE’
    365 |  CASE( op - 0x04 ) /* dp */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:495:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    495 |   data = READ( 0, data );\
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:496:2: note: here
    496 |  case op: /* imm */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:356:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    356 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:365:2: note: in expansion of macro ‘CASE’
    365 |  CASE( op - 0x04 ) /* dp */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:495:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    495 |   data = READ( 0, data );\
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:496:2: note: here
    496 |  case op: /* imm */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:525:2: note: in expansion of macro ‘ADDR_MODES’
    525 |  ADDR_MODES( 0x68 ) // CMP addr
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:525:2: note: in expansion of macro ‘ADDR_MODES’
    525 |  ADDR_MODES( 0x68 ) // CMP addr
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:356:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    356 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:525:2: note: in expansion of macro ‘ADDR_MODES’
    525 |  ADDR_MODES( 0x68 ) // CMP addr
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:365:2: note: in expansion of macro ‘CASE’
    365 |  CASE( op - 0x04 ) /* dp */\
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:525:2: note: in expansion of macro ‘ADDR_MODES’
    525 |  ADDR_MODES( 0x68 ) // CMP addr
        |  ^~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:526:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    526 |   data = READ( 0, data );
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:527:2: note: here
    527 |  case 0x68: // CMP imm
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:541:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    541 |   data = READ_DP( -3, data );
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:542:2: note: here
    542 |  case 0x78: // CMP dp,imm
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:555:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    555 |   data = READ( 0, data );
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:556:2: note: here
    556 |  case 0xC8: // CMP X,imm
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:569:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    569 |   data = READ( 0, data );
        |        ^
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:570:2: note: here
    570 |  case 0xAD: // CMP Y,imm
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:644:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    644 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:645:2: note: here
    645 |  case 0x8B: // DEC dp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:662:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    662 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:663:2: note: here
    663 |  case 0x7C:{// ROR A
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:671:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    671 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:672:2: note: here
    672 |  case 0x3C:{// ROL A
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:685:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    685 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:686:2: note: here
    686 |  case 0x3B: // ROL dp+X
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:687:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    687 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:688:2: note: here
    688 |  case 0x2B: // ROL dp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:692:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    692 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:693:2: note: here
    693 |  case 0x2C: // ROL abs
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:707:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    707 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:708:2: note: here
    708 |  case 0x7B: // ROR dp+X
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:709:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    709 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:710:2: note: here
    710 |  case 0x6B: // ROR dp
        |  ^~~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:714:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    714 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:715:2: note: here
    715 |  case 0x6C: // ROR abs
        |  ^~~~
  [ 30%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Emu.cpp.o
  [ 31%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Filter.cpp.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadstm.c.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loads3m.c.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loads3m2.c.o
  [ 31%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Vgm_Emu.cpp.o
  [ 31%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Vgm_Emu_Impl.cpp.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadriff2.c.o
  [ 31%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ym2413_Emu.cpp.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadriff.c.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadptm2.c.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadptm.c.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadpsm2.c.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadpsm.c.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadoldpsm2.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadoldpsm.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadokt2.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadokt.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmtm2.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmod2.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmtm.c.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmod.c.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadasy2.c.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadasy.c.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadamf2.c.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadamf.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/load6692.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/load669.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itunload.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itrender.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itread2.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itread.c.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itorder.c.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itmisc.c.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itload2.c.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itload.c.o
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/dumb/src/it/itread.c: In function '_dumb_it_read_sample_data_adpcm4':
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/dumb/src/it/itread.c:624:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    624 |     if (dumbfile_getnc((char *)compression_table, 16, f) != 16)
        |     ^~
  /tmp/pip-install-0nn_j49m/vizdoom_a8f1c39baa5445028f9bca7ed6abd4e1/src/vizdoom/dumb/src/it/itread.c:626:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    626 |         ptr = (signed char *) sample->data;
        |         ^~~
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readany.c.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadany2.c.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadany.c.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readany2.c.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/resampler.c.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/lpc.c.o
  [ 37%] Linking CXX static library libgme.a
  [ 37%] Built target gme
  [ 37%] Linking C static library libdumb.a
  [ 37%] Built target dumb
  [ 37%] Linking CXX shared library bin/libvizdoom.so
  [ 37%] Built target libvizdoom_shared
  make: *** [Makefile:91: all] Error 2

  Installation failed, you may be missing some dependencies.
  Please check https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md for details

  Traceback (most recent call last):
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 249, in build_wheel
      metadata_directory)
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 231, in build_wheel
      wheel_directory, config_settings)
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 268, in run_setup
      self).run_setup(setup_script=setup_script)
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 158, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 181, in <module>
      keywords=['vizdoom', 'doom', 'ai', 'deep learning', 'reinforcement learning', 'research']
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-n1kxhs3u/overlay/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "setup.py", line 138, in run
      subprocess.check_call(['make', '-j', str(cpu_cores)])
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/subprocess.py", line 311, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['make', '-j', '11']' returned non-zero exit status 2.
  ----------------------------------------
  ERROR: Failed building wheel for vizdoom
Failed to build vizdoom
ERROR: Could not build wheels for vizdoom which use PEP 517 and cannot be installed directly
Miffyli commented 2 years ago

Hmm that log does not tell much, sadly :(. I would recommend double-checking that you have installed all the dependencies correctly and then skim through the full log (this was truncated log) to find the error part (not just a warning) for more info. With correct dependencies the installation does work (Ubuntu 20.04).

hamid2026 commented 2 years ago

@Miffyli here is the full error log :)

 Building wheel for vizdoom (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/bin/python /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmplok1aqbv
       cwd: /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28
  Complete output (2427 lines):
  running bdist_wheel
  running build
  CMake Warning:
    No source or binary directory provided.  Both will be assumed to be the
    same as the current working directory, but note that this warning will
    become a fatal error in future CMake releases.

  -- The C compiler identification is GNU 11.2.0
  -- The CXX compiler identification is GNU 9.3.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Found Boost: /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/cmake/Boost-1.73.0/BoostConfig.cmake (found suitable version "1.73.0", minimum required is "1.65.0") found components: filesystem thread system date_time chrono regex iostreams
  -- Found Threads: TRUE
  CMake Deprecation Warning at cmake_modules/CreateLaunchers.cmake:48 (cmake_policy):
    The OLD behavior for policy CMP0026 will be removed from a future version
    of CMake.

    The cmake-policies(7) manual explains that the OLD behaviors of all
    policies are deprecated and that a policy should be set to OLD only under
    specific short-term circumstances.  Projects should be ported to the NEW
    behavior and not rely on setting a policy to OLD.
  Call Stack (most recent call first):
    src/vizdoom/CMakeLists.txt:13 (include)

  -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.8")
  -- Looking for BZ2_bzCompressInit
  -- Looking for BZ2_bzCompressInit - not found
  -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80")
  -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
  -- Could NOT find GME (missing: GME_INCLUDE_DIR)
  -- Using system zlib
  -- Using system jpeg library
  -- Using system bzip2 library
  -- Using internal gme library
  -- Performing Test HAVE_NO_ARRAY_BOUNDS
  -- Performing Test HAVE_NO_ARRAY_BOUNDS - Success
  -- Performing Test __LIBGME_TEST_VISIBILITY
  -- Performing Test __LIBGME_TEST_VISIBILITY - Success
  -- Looking for strdup
  -- Looking for strdup - found
  -- Looking for strndup
  -- Looking for strndup - found
  -- Looking for sys/types.h
  -- Looking for sys/types.h - found
  -- Looking for stdint.h
  -- Looking for stdint.h - found
  -- Looking for stddef.h
  -- Looking for stddef.h - found
  -- Check size of char
  -- Check size of char - done
  -- Check size of short
  -- Check size of short - done
  -- Check size of int
  -- Check size of int - done
  -- Check size of long
  -- Check size of long - done
  -- /usr/include
  -- /usr/include
  -- /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/lzma/C
  -- Looking for itoa
  -- Looking for itoa - not found
  -- Performing Test DUMB_CAN_USE_SSE
  -- Performing Test DUMB_CAN_USE_SSE - Success
  -- Found PkgConfig: /bin/pkg-config (found version "0.29.1")
  -- Checking for module 'gtk+-2.0'
  --   Found gtk+-2.0, version 2.24.32
  -- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread
  -- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
  -- Could not find FMOD include files
  -- Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
  -- Could NOT find MPG123 (missing: MPG123_LIBRARIES MPG123_INCLUDE_DIR)
  -- Found FluidSynth: /usr/lib/x86_64-linux-gnu/libfluidsynth.so
  -- Selected assembler: /bin/as
  -- Looking for filelength
  -- Looking for filelength - not found
  -- Looking for strupr
  -- Looking for strupr - not found
  -- Looking for stricmp
  -- Looking for stricmp - not found
  -- Looking for strnicmp
  -- Looking for strnicmp - not found
  -- Looking for clock_gettime in rt
  -- Looking for clock_gettime in rt - found
  -- Performing Test HAS_VA_COPY
  -- Performing Test HAS_VA_COPY - Success
  -- Found Boost: /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/cmake/Boost-1.73.0/BoostConfig.cmake (found version "1.73.0") found components: thread system date_time chrono
  -- Fluid synth libs: /usr/lib/x86_64-linux-gnu/libfluidsynth.so
  -- Found PythonInterp: /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/bin/python3.6 (found suitable version "3.6.13", minimum required is "3")
  -- Found PythonLibs: /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/libpython3.6m.so (found suitable version "3.6.13", minimum required is "3.6")
  -- Found Git: /bin/git (found version "2.25.1")
  -- downloading/updating pybind11
  -- pybind11 directory not found, cloning...
  Cloning into '/tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/lib_python/pybind11'...
  --
  Switched to a new branch 'tag_v2.8.1'
  --
  -- pybind11 v2.8.1
  -- Found PythonInterp: /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/bin/python3.6 (found version "3.6.13")
  -- Found PythonLibs: /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/libpython3.6m.so
  -- Performing Test HAS_FLTO
  -- Performing Test HAS_FLTO - Success
  -- [download 100% complete]
  -- [download 0% complete]
  -- [download 1% complete]
  -- [download 2% complete]
  -- [download 3% complete]
  -- [download 4% complete]
  -- [download 5% complete]
  -- [download 6% complete]
  -- [download 7% complete]
  -- [download 8% complete]
  -- [download 9% complete]
  -- [download 10% complete]
  -- [download 11% complete]
  -- [download 12% complete]
  -- [download 13% complete]
  -- [download 14% complete]
  -- [download 15% complete]
  -- [download 16% complete]
  -- [download 17% complete]
  -- [download 18% complete]
  -- [download 19% complete]
  -- [download 20% complete]
  -- [download 21% complete]
  -- [download 22% complete]
  -- [download 23% complete]
  -- [download 24% complete]
  -- [download 25% complete]
  -- [download 26% complete]
  -- [download 27% complete]
  -- [download 28% complete]
  -- [download 29% complete]
  -- [download 30% complete]
  -- [download 31% complete]
  -- [download 32% complete]
  -- [download 33% complete]
  -- [download 34% complete]
  -- [download 35% complete]
  -- [download 36% complete]
  -- [download 37% complete]
  -- [download 38% complete]
  -- [download 39% complete]
  -- [download 40% complete]
  -- [download 41% complete]
  -- [download 42% complete]
  -- [download 43% complete]
  -- [download 44% complete]
  -- [download 45% complete]
  -- [download 46% complete]
  -- [download 47% complete]
  -- [download 48% complete]
  -- [download 49% complete]
  -- [download 50% complete]
  -- [download 51% complete]
  -- [download 52% complete]
  -- [download 53% complete]
  -- [download 54% complete]
  -- [download 55% complete]
  -- [download 56% complete]
  -- [download 57% complete]
  -- [download 58% complete]
  -- [download 59% complete]
  -- [download 60% complete]
  -- [download 61% complete]
  -- [download 62% complete]
  -- [download 63% complete]
  -- [download 64% complete]
  -- [download 65% complete]
  -- [download 66% complete]
  -- [download 67% complete]
  -- [download 68% complete]
  -- [download 69% complete]
  -- [download 70% complete]
  -- [download 71% complete]
  -- [download 72% complete]
  -- [download 73% complete]
  -- [download 74% complete]
  -- [download 75% complete]
  -- [download 76% complete]
  -- [download 77% complete]
  -- [download 78% complete]
  -- [download 79% complete]
  -- [download 80% complete]
  -- [download 81% complete]
  -- [download 82% complete]
  -- [download 83% complete]
  -- [download 84% complete]
  -- [download 85% complete]
  -- [download 86% complete]
  -- [download 87% complete]
  -- [download 88% complete]
  -- [download 89% complete]
  -- [download 90% complete]
  -- [download 91% complete]
  -- [download 92% complete]
  -- [download 93% complete]
  -- [download 94% complete]
  -- [download 95% complete]
  -- [download 96% complete]
  -- [download 97% complete]
  -- [download 98% complete]
  -- [download 99% complete]
  -- [download 100% complete]
  -- Configuring done
  CMake Warning at src/vizdoom/src/CMakeLists.txt:827 (add_executable):
    Cannot generate a safe runtime search path for target vizdoom because files
    in some directories may conflict with libraries in implicit directories:

      runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib
      runtime library [libbz2.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib

    Some of these libraries may not be found correctly.

  -- Generating done
  -- Build files have been written to: /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28
  [  0%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomConfigLoader.cpp.o
  [  0%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomController.cpp.o
  [  0%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomConfigLoader.cpp.o
  [  0%] Building C object src/vizdoom/tools/lemon/CMakeFiles/lemon.dir/lemon.c.o
  [  0%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomExceptions.cpp.o
  [  0%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/actions.cc.o
  [  0%] Building C object src/vizdoom/tools/updaterevision/CMakeFiles/updaterevision.dir/updaterevision.c.o
  [  0%] Building C object src/vizdoom/gdtoa/CMakeFiles/arithchk.dir/arithchk.c.o
  [  1%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zArcIn.c.o
  [  1%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Blip_Buffer.cpp.o
  [  1%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/unload.c.o
  [  1%] Linking C executable ../../../bin/arithchk
  [  1%] Linking C executable ../../../../bin/updaterevision
  [  1%] Built target arithchk
  [  1%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Classic_Emu.cpp.o
  [  1%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/rendsig.c.o
  [  1%] Built target updaterevision
  [  2%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomController.cpp.o
  [  2%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/rendduh.c.o
  [  2%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Data_Reader.cpp.o
  [  3%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/register.c.o
  [  3%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/readduh.c.o
  [  4%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomGame.cpp.o
  [  4%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Dual_Resampler.cpp.o
  [  4%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/rawsig.c.o
  [  4%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/makeduh.c.o
  [  4%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/loadduh.c.o
  [  5%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Effects_Buffer.cpp.o
  [  6%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/dumbfile.c.o
  [  6%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/duhtag.c.o
  [  6%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Fir_Resampler.cpp.o
  [  6%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/duhlen.c.o
  [  6%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/core/atexit.c.o
  [  6%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/stdfile.c.o
  [  6%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/silence.c.o
  [  7%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/sampbuf.c.o
  [  7%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/riff.c.o
  [  7%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/resample.c.o
  [  7%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/gme.cpp.o
  [  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zBuf.c.o
  [  7%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gme_File.cpp.o
  [  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zCrc.c.o
  [  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zCrcOpt.c.o
  [  7%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zDec.c.o
  [  8%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/7zStream.c.o
  [  8%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/M3u_Playlist.cpp.o
  [  8%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Multi_Buffer.cpp.o
  [  8%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Bcj2.c.o
  [  8%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Bra.c.o
  [  8%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Bra86.c.o
  [  9%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Music_Emu.cpp.o
  [  9%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ay_Apu.cpp.o
  [  9%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/BraIA64.c.o
  [  9%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/CpuArch.c.o
  [ 10%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Delta.c.o
  [ 10%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/LzFind.c.o
  [ 10%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/memfile.c.o
  [ 10%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ym2612_Emu.cpp.o
  [ 10%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sms_Apu.cpp.o
  [ 11%] Linking C executable ../../../../bin/lemon
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/bin
  [ 11%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/clickrem.c.o
  [ 11%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ay_Cpu.cpp.o
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp: In member function ‘bool Ay_Cpu::run(cpu_time_t)’:
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:1074:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
   1074 |    rg.flags = 0;
        |    ~~~~~~~~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:113:41: note: here
    113 | #define CASE5( a, b, c, d, e          ) case 0x##a:case 0x##b:case 0x##c:case 0x##d:case 0x##e
        |                                         ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:114:41: note: in expansion of macro ‘CASE5’
    114 | #define CASE6( a, b, c, d, e, f       ) CASE5( a, b, c, d, e       ): case 0x##f
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:115:41: note: in expansion of macro ‘CASE6’
    115 | #define CASE7( a, b, c, d, e, f, g    ) CASE6( a, b, c, d, e, f    ): case 0x##g
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:1075:3: note: in expansion of macro ‘CASE7’
   1075 |   CASE7( 41, 49, 51, 59, 61, 69, 79 ): // OUT (C),r
        |   ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:1319:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   1319 |    flags &= ~C01;
        |    ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:1320:3: note: here
   1320 |   case 0x9E: // SBC (IXY+disp)
        |   ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:1329:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   1329 |    flags &= ~C01;
        |    ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:1330:3: note: here
   1330 |   case 0x9C: // SBC HXY
        |   ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:1338:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   1338 |    flags &= ~C01;
        |    ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:1339:3: note: here
   1339 |   case 0x9D: // SBC LXY
        |   ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:360:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
    360 |   if ( (pc - 1) > 0xFFFF )
        |   ^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:113:41: note: here
    113 | #define CASE5( a, b, c, d, e          ) case 0x##a:case 0x##b:case 0x##c:case 0x##d:case 0x##e
        |                                         ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:114:41: note: in expansion of macro ‘CASE5’
    114 | #define CASE6( a, b, c, d, e, f       ) CASE5( a, b, c, d, e       ): case 0x##f
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:115:41: note: in expansion of macro ‘CASE6’
    115 | #define CASE7( a, b, c, d, e, f, g    ) CASE6( a, b, c, d, e, f    ): case 0x##g
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:366:2: note: in expansion of macro ‘CASE7’
    366 |  CASE7( C7, CF, D7, DF, E7, EF, F7 ):
        |  ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:401:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
    401 |   flags &= ~C01;
        |   ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:402:2: note: here
    402 |  case 0x9E: // SBC (HL)
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:409:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
    409 |   flags &= ~C01;
        |   ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:410:2: note: here
    410 |  case 0xDE: // SBC A,imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:417:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
    417 |   flags &= ~C01;
        |   ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:113:41: note: here
    113 | #define CASE5( a, b, c, d, e          ) case 0x##a:case 0x##b:case 0x##c:case 0x##d:case 0x##e
        |                                         ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:114:41: note: in expansion of macro ‘CASE5’
    114 | #define CASE6( a, b, c, d, e, f       ) CASE5( a, b, c, d, e       ): case 0x##f
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:115:41: note: in expansion of macro ‘CASE6’
    115 | #define CASE7( a, b, c, d, e, f, g    ) CASE6( a, b, c, d, e, f    ): case 0x##g
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Ay_Cpu.cpp:418:2: note: in expansion of macro ‘CASE7’
    418 |  CASE7( 98, 99, 9A, 9B, 9C, 9D, 9F ): // SBC r
        |  ^~~~~
  [ 12%] Generating arith.h
  [ 12%] Built target lemon
  [ 12%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/code.cc.o
  [ 12%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Lzma2Dec.c.o
  [ 12%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/LzmaDec.c.o
  [ 12%] Building C object src/vizdoom/gdtoa/CMakeFiles/qnan.dir/qnan.c.o
  [ 12%] Linking C executable ../../../bin/qnan
  [ 12%] Built target qnan
  [ 12%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/LzmaEnc.c.o
  [ 12%] Generating gd_qnan.h
  [ 12%] Building C object src/vizdoom/gdtoa/CMakeFiles/gdtoa.dir/dmisc.c.o
  [ 12%] Building C object src/vizdoom/gdtoa/CMakeFiles/gdtoa.dir/dtoa.c.o
  [ 12%] Building C object src/vizdoom/gdtoa/CMakeFiles/gdtoa.dir/misc.c.o
  [ 13%] Linking C static library libgdtoa.a
  [ 14%] Built target gdtoa
  [ 15%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Ppmd7.c.o
  [ 15%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomExceptions.cpp.o
  [ 16%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/barray.c.o
  [ 16%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/xmeffect.c.o
  [ 17%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ay_Emu.cpp.o
  [ 17%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/dfa.cc.o
  [ 17%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomMessageQueue.cpp.o
  [ 17%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomPathHelpers.cpp.o
  [ 17%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gb_Apu.cpp.o
  In file included from /usr/include/string.h:495,
                   from /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Apu.cpp:5:
  In function ‘void* memcpy(void*, const void*, size_t)’,
      inlined from ‘void Gb_Apu::reset()’ at /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Apu.cpp:126:8:
  /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading 32 bytes from a region of size 16 [-Wstringop-overflow=]
     34 |   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
        |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In function ‘void* memcpy(void*, const void*, size_t)’,
      inlined from ‘void Gb_Apu::reset()’ at /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Apu.cpp:126:8,
      inlined from ‘Gb_Apu::Gb_Apu()’ at /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Apu.cpp:48:7:
  /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading 32 bytes from a region of size 16 [-Wstringop-overflow=]
     34 |   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
        |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  [ 17%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gb_Cpu.cpp.o
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp: In member function ‘bool Gb_Cpu::run(blargg_long)’:
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:442:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
    442 |    data += 0x10; // bump up to 0x4n to avoid preserving sign bit
        |    ~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:443:3: note: here
    443 |   case 0x1E: // RR (HL)
        |   ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:450:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
    450 |    data += 0x10; // bump up to 0x4n
        |    ~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:451:3: note: here
    451 |   case 0x18: case 0x19: case 0x1A: case 0x1B: case 0x1C: case 0x1D: case 0x1F: // RR A
        |   ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:271:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
    271 |   pc -= 2;
        |   ~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:272:2: note: here
    272 |  case 0xCD: // CALL (most-common)
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:283:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
    283 |   if ( !(flags & z_flag) )
        |   ^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:285:2: note: here
    285 |  case 0xC9: // RET (most common)
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:457:2: warning: this statement may fall through [-Wimplicit-fallthrough=]
    457 |  } // CB op
        |  ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:460:2: note: here
    460 |  case 0x07: // RLCA
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:833:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    833 |   pc--;
        |   ~~^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:834:2: note: here
    834 |  case 0xE6: // AND IMM
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:837:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    837 |   rg.a &= data;
        |   ~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:838:2: note: here
    838 |  case 0xA7: // AND A
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:853:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    853 |   pc--;
        |   ~~^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:854:2: note: here
    854 |  case 0xF6: // OR IMM
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:857:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    857 |   rg.a |= data;
        |   ~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:858:2: note: here
    858 |  case 0xB7: // OR A
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:873:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    873 |   pc--;
        |   ~~^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:874:2: note: here
    874 |  case 0xEE: // XOR IMM
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:921:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
    921 |   if ( pc == idle_addr + 1 )
        |   ^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Cpu.cpp:923:2: note: here
    923 |  case 0xC7: case 0xCF: case 0xD7: case 0xDF:  // RST
        |  ^~~~
  [ 17%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gb_Oscs.cpp.o
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Oscs.cpp: In member function ‘void Gb_Apu::write_osc(int, int, int)’:
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Oscs.cpp:315:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
    315 |   sq = &square1;
        |   ~~~^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Gb_Oscs.cpp:316:2: note: here
    316 |  case 1:
        |  ^~~~
  [ 17%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gbs_Emu.cpp.o
  [ 17%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Gym_Emu.cpp.o
  [ 18%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Hes_Apu.cpp.o
  [ 18%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Hes_Cpu.cpp.o
  [ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readxm2.c.o
  [ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readxm.c.o
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp: In member function ‘bool Hes_Cpu::run(hes_time_t)’:
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:269:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
    269 |   if ( pc == idle_addr + 1 )
        |   ^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:271:2: note: here
    271 |  case 0x0F: // BBRn
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:298:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    298 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:299:2: note: here
    299 |  case 0x6C:{// JMP (ind)
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:351:2: note: here
    351 |  case 0x85: // STA zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:450:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    450 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:451:2: note: here
    451 |  case 0x2C:{// BIT abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:460:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    460 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:461:2: note: here
    461 |  case 0x24: // BIT zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:462:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    462 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:463:2: note: here
    463 |  case 0x89: // BIT imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:559:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    559 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:560:2: note: here
    560 |  case 0x9C: // STZ abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:569:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    569 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:570:2: note: here
    570 |  case 0x64: // STZ zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:576:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    576 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:577:2: note: here
    577 |  case 0x84: // STY zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:583:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    583 |   data = uint8_t (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:584:2: note: here
    584 |  case 0x86: // STX zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:590:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    590 |   data = uint8_t (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:591:2: note: here
    591 |  case 0xA6: // LDX zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:592:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    592 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:593:2: note: here
    593 |  case 0xA2: // LDX #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:600:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    600 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:601:2: note: here
    601 |  case 0xA4: // LDY zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:602:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    602 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:603:2: note: here
    603 |  case 0xA0: // LDY #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:610:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    610 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:612:2: note: here
    612 |  case 0xAC:{// LDY abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:650:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    650 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:651:2: note: here
    651 |  case 0xE0: // CPX #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:669:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    669 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:670:2: note: here
    670 |  case 0xC0: // CPY #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:682:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    682 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:713:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    713 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:683:2: note: here
    683 |  case op + 0x0D: /* (ind) */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:713:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    713 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:693:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    693 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:713:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    713 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:694:2: note: here
    694 |  case op + 0x00: /* zp */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:713:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    713 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:701:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    701 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:713:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    713 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:702:2: note: here
    702 |  ind##op:\
        |  ^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:713:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    713 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:27:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     27 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:709:3: note: in expansion of macro ‘CACHE_TIME’
    709 |   CACHE_TIME();\
        |   ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:713:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    713 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:710:2: note: here
    710 |  case op + 0x04: /* imm */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:713:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    713 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:682:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    682 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:720:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    720 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:683:2: note: here
    683 |  case op + 0x0D: /* (ind) */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:720:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    720 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:693:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    693 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:720:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    720 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:694:2: note: here
    694 |  case op + 0x00: /* zp */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:720:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    720 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:701:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    701 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:720:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    720 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:702:2: note: here
    702 |  ind##op:\
        |  ^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:720:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    720 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:27:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     27 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:709:3: note: in expansion of macro ‘CACHE_TIME’
    709 |   CACHE_TIME();\
        |   ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:720:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    720 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:710:2: note: here
    710 |  case op + 0x04: /* imm */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:720:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    720 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:682:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    682 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:725:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    725 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:683:2: note: here
    683 |  case op + 0x0D: /* (ind) */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:725:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    725 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:693:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    693 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:725:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    725 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:694:2: note: here
    694 |  case op + 0x00: /* zp */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:725:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    725 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:701:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    701 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:725:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    725 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:702:2: note: here
    702 |  ind##op:\
        |  ^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:725:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    725 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:27:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     27 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:709:3: note: in expansion of macro ‘CACHE_TIME’
    709 |   CACHE_TIME();\
        |   ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:725:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    725 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:710:2: note: here
    710 |  case op + 0x04: /* imm */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:725:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    725 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:682:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    682 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:730:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    730 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:683:2: note: here
    683 |  case op + 0x0D: /* (ind) */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:730:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    730 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:693:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    693 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:730:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    730 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:694:2: note: here
    694 |  case op + 0x00: /* zp */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:730:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    730 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:701:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    701 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:730:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    730 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:702:2: note: here
    702 |  ind##op:\
        |  ^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:730:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    730 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:27:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     27 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:709:3: note: in expansion of macro ‘CACHE_TIME’
    709 |   CACHE_TIME();\
        |   ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:730:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    730 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:710:2: note: here
    710 |  case op + 0x04: /* imm */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:730:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    730 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:682:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    682 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:737:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    737 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:683:2: note: here
    683 |  case op + 0x0D: /* (ind) */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:737:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    737 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:693:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    693 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:737:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    737 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:694:2: note: here
    694 |  case op + 0x00: /* zp */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:737:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    737 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:701:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    701 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:737:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    737 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:702:2: note: here
    702 |  ind##op:\
        |  ^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:737:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    737 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:27:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     27 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:709:3: note: in expansion of macro ‘CACHE_TIME’
    709 |   CACHE_TIME();\
        |   ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:737:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    737 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:710:2: note: here
    710 |  case op + 0x04: /* imm */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:737:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    737 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:682:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    682 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:741:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    741 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:683:2: note: here
    683 |  case op + 0x0D: /* (ind) */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:741:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    741 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:693:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    693 |   data = uint8_t (data + x);\
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:741:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    741 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:694:2: note: here
    694 |  case op + 0x00: /* zp */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:741:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    741 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:701:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    701 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:741:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    741 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:702:2: note: here
    702 |  ind##op:\
        |  ^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:741:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    741 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:27:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     27 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:709:3: note: in expansion of macro ‘CACHE_TIME’
    709 |   CACHE_TIME();\
        |   ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:741:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    741 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:710:2: note: here
    710 |  case op + 0x04: /* imm */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:741:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    741 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:758:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    758 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:759:2: note: here
    759 |  case 0x6A: // ROR A
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:782:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    782 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:783:2: note: here
    783 |  case 0x4E: // LSR abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:784:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    784 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:785:2: note: here
    785 |  case 0x6E: // ROR abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:800:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    800 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:801:2: note: here
    801 |  case 0x0E: // ASL abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:802:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    802 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:803:2: note: here
    803 |  case 0x2E: // ROL abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:824:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    824 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:825:2: note: here
    825 |  case 0x46: // LSR zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:826:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    826 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:827:2: note: here
    827 |  case 0x66: // ROR zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:840:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    840 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:841:2: note: here
    841 |  case 0x06: // ASL zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:842:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    842 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:843:2: note: here
    843 |  case 0x26: // ROL zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:872:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    872 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:873:2: note: here
    873 |  case 0xE6: // INC zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:878:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    878 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Hes_Cpu.cpp:879:2: note: here
    879 |  case 0xC6: // DEC zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/dumb/src/it/readxm.c: In function 'it_xm_load_sigdata':
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/dumb/src/it/readxm.c:1009:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   1009 |     if (sigdata->n_orders == 0)
        |     ^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/dumb/src/it/readxm.c:1014:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   1014 |         i = header_size - 4 - 2 * 8; /* Maximum number of orders expected */
        |         ^
  [ 18%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomSharedMemory.cpp.o
  [ 18%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Hes_Emu.cpp.o
  [ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readstm2.c.o
  [ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readstm.c.o
  [ 18%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Kss_Cpu.cpp.o
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp: In member function ‘bool Kss_Cpu::run(cpu_time_t)’:
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:1111:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
   1111 |    rg.flags = 0;
        |    ~~~~~~~~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:139:41: note: here
    139 | #define CASE5( a, b, c, d, e          ) case 0x##a:case 0x##b:case 0x##c:case 0x##d:case 0x##e
        |                                         ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:140:41: note: in expansion of macro ‘CASE5’
    140 | #define CASE6( a, b, c, d, e, f       ) CASE5( a, b, c, d, e       ): case 0x##f
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:141:41: note: in expansion of macro ‘CASE6’
    141 | #define CASE7( a, b, c, d, e, f, g    ) CASE6( a, b, c, d, e, f    ): case 0x##g
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:1112:3: note: in expansion of macro ‘CASE7’
   1112 |   CASE7( 41, 49, 51, 59, 61, 69, 79 ): // OUT (C),r
        |   ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:1357:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   1357 |    flags &= ~C01;
        |    ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:1358:3: note: here
   1358 |   case 0x9E: // SBC (IXY+disp)
        |   ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:1367:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   1367 |    flags &= ~C01;
        |    ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:1368:3: note: here
   1368 |   case 0x9C: // SBC HXY
        |   ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:1376:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   1376 |    flags &= ~C01;
        |    ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:1377:3: note: here
   1377 |   case 0x9D: // SBC LXY
        |   ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:398:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
    398 |   if ( pc > idle_addr )
        |   ^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:139:41: note: here
    139 | #define CASE5( a, b, c, d, e          ) case 0x##a:case 0x##b:case 0x##c:case 0x##d:case 0x##e
        |                                         ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:140:41: note: in expansion of macro ‘CASE5’
    140 | #define CASE6( a, b, c, d, e, f       ) CASE5( a, b, c, d, e       ): case 0x##f
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:141:41: note: in expansion of macro ‘CASE6’
    141 | #define CASE7( a, b, c, d, e, f, g    ) CASE6( a, b, c, d, e, f    ): case 0x##g
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:400:2: note: in expansion of macro ‘CASE7’
    400 |  CASE7( C7, CF, D7, DF, E7, EF, F7 ):
        |  ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:435:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
    435 |   flags &= ~C01;
        |   ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:436:2: note: here
    436 |  case 0x9E: // SBC (HL)
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:443:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
    443 |   flags &= ~C01;
        |   ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:444:2: note: here
    444 |  case 0xDE: // SBC A,imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:451:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
    451 |   flags &= ~C01;
        |   ~~~~~~^~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:139:41: note: here
    139 | #define CASE5( a, b, c, d, e          ) case 0x##a:case 0x##b:case 0x##c:case 0x##d:case 0x##e
        |                                         ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:140:41: note: in expansion of macro ‘CASE5’
    140 | #define CASE6( a, b, c, d, e, f       ) CASE5( a, b, c, d, e       ): case 0x##f
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:141:41: note: in expansion of macro ‘CASE6’
    141 | #define CASE7( a, b, c, d, e, f, g    ) CASE6( a, b, c, d, e, f    ): case 0x##g
        |                                         ^~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Kss_Cpu.cpp:452:2: note: in expansion of macro ‘CASE7’
    452 |  CASE7( 98, 99, 9A, 9B, 9C, 9D, 9F ): // SBC r
        |  ^~~~~
  [ 18%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Kss_Emu.cpp.o
  [ 18%] Building CXX object CMakeFiles/libvizdoom_static.dir/src/lib/ViZDoomUtilities.cpp.o
  [ 18%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomGame.cpp.o
  [ 18%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomMessageQueue.cpp.o
  [ 18%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomPathHelpers.cpp.o
  [ 18%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/reads3m.c.o
  [ 19%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/reads3m2.c.o
  [ 20%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Kss_Scc_Apu.cpp.o
  [ 20%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomSharedMemory.cpp.o
  [ 20%] Building C object src/vizdoom/lzma/CMakeFiles/lzma.dir/C/Ppmd7Dec.c.o
  [ 21%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readriff.c.o
  [ 21%] Building CXX object CMakeFiles/libvizdoom_shared.dir/src/lib/ViZDoomUtilities.cpp.o
  [ 21%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Apu.cpp.o
  [ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Cpu.cpp.o
  [ 22%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/main.cc.o
  [ 22%] Linking C static library liblzma.a
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp: In member function ‘bool Nes_Cpu::run(nes_time_t)’:
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:268:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    268 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:333:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    333 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:269:1: note: here
    269 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:333:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    333 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:245:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    245 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:278:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    278 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:333:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    333 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:279:1: note: here
    279 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:333:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    333 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:26:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     26 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:284:2: note: in expansion of macro ‘CACHE_TIME’
    284 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:333:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    333 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:285:1: note: here
    285 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:333:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    333 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:347:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    347 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:348:2: note: here
    348 |  case 0x85: // STA zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:495:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    495 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:496:2: note: here
    496 |  case 0x84: // STY zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:502:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    502 |   data = uint8_t (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:503:2: note: here
    503 |  case 0x86: // STX zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:509:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    509 |   data = uint8_t (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:510:2: note: here
    510 |  case 0xA6: // LDX zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:511:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    511 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:512:2: note: here
    512 |  case 0xA2: // LDX #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:519:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    519 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:520:2: note: here
    520 |  case 0xA4: // LDY zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:521:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    521 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:522:2: note: here
    522 |  case 0xA0: // LDY #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:245:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    245 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:530:3: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    530 |   HANDLE_PAGE_CROSSING( data );
        |   ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:531:2: note: here
    531 |  case 0xAC:{// LDY abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:245:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    245 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:542:3: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    542 |   HANDLE_PAGE_CROSSING( data );
        |   ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:543:2: note: here
    543 |  case 0xAE:{// LDX abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:586:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    586 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:587:2: note: here
    587 |  case 0xE0: // CPX #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:605:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    605 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:606:2: note: here
    606 |  case 0xC0: // CPY #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:268:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    268 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:616:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    616 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:269:1: note: here
    269 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:616:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    616 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:245:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    245 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:278:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    278 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:616:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    616 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:279:1: note: here
    279 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:616:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    616 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:26:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     26 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:284:2: note: in expansion of macro ‘CACHE_TIME’
    284 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:616:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    616 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:285:1: note: here
    285 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:616:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    616 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:268:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    268 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:621:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    621 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:269:1: note: here
    269 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:621:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    621 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:245:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    245 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:278:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    278 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:621:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    621 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:279:1: note: here
    279 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:621:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    621 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:26:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     26 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:284:2: note: in expansion of macro ‘CACHE_TIME’
    284 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:621:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    621 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:285:1: note: here
    285 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:621:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    621 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:268:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    268 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:626:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    626 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:269:1: note: here
    269 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:626:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    626 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:245:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    245 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:278:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    278 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:626:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    626 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:279:1: note: here
    279 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:626:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    626 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:26:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     26 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:284:2: note: in expansion of macro ‘CACHE_TIME’
    284 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:626:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    626 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:285:1: note: here
    285 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:626:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    626 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:268:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    268 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:655:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    655 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:269:1: note: here
    269 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:655:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    655 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:245:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    245 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:278:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    278 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:655:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    655 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:279:1: note: here
    279 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:655:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    655 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:26:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     26 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:284:2: note: in expansion of macro ‘CACHE_TIME’
    284 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:655:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    655 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:285:1: note: here
    285 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:655:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    655 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:268:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    268 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:660:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    660 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:269:1: note: here
    269 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:660:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    660 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:245:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    245 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:278:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    278 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:660:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    660 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:279:1: note: here
    279 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:660:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    660 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:26:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     26 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:284:2: note: in expansion of macro ‘CACHE_TIME’
    284 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:660:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    660 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:285:1: note: here
    285 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:660:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    660 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:675:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    675 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:676:2: note: here
    676 |  case 0x6A: // ROR A
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:699:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    699 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:700:2: note: here
    700 |  case 0x4E: // LSR abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:701:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    701 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:702:2: note: here
    702 |  case 0x6E: // ROR abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:717:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    717 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:718:2: note: here
    718 |  case 0x0E: // ASL abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:719:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    719 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:720:2: note: here
    720 |  case 0x2E: // ROL abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:741:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    741 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:742:2: note: here
    742 |  case 0x46: // LSR zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:743:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    743 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:744:2: note: here
    744 |  case 0x66: // ROR zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:757:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    757 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:758:2: note: here
    758 |  case 0x06: // ASL zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:759:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    759 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:760:2: note: here
    760 |  case 0x26: // ROL zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:775:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    775 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:776:2: note: here
    776 |  case 0xE6: // INC zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:781:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    781 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:782:2: note: here
    782 |  case 0xC6: // DEC zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:245:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    245 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:971:3: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    971 |   HANDLE_PAGE_CROSSING( data + x );
        |   ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:972:2: note: here
    972 |  case 0x0C:
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:973:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    973 |   pc++;
        |   ~~^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:975:2: note: here
    975 |  case 0x74: case 0x04: case 0x14: case 0x34: case 0x44: case 0x54: case 0x64:
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:999:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    999 |   c |= 1;
        |   ~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Nes_Cpu.cpp:1000:2: note: here
   1000 |  default:
        |  ^~~~~~~
  [ 22%] Built target lzma
  [ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Fme7_Apu.cpp.o
  [ 22%] Building C object src/vizdoom/tools/zipdir/CMakeFiles/zipdir.dir/zipdir.c.o
  [ 22%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readptm.c.o
  [ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Namco_Apu.cpp.o
  [ 22%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readpsm.c.o
  [ 22%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Oscs.cpp.o
  [ 23%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nes_Vrc6_Apu.cpp.o
  [ 24%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readoldpsm.c.o
  [ 25%] Linking C executable ../../../../bin/zipdir
  /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/bin/../lib/gcc/x86_64-conda-linux-gnu/11.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib/x86_64-linux-gnu/libz.so: undefined reference to `memcpy@GLIBC_2.14'
  collect2: error: ld returned 1 exit status
  make[2]: *** [src/vizdoom/tools/zipdir/CMakeFiles/zipdir.dir/build.make:100: bin/zipdir] Error 1
  make[1]: *** [CMakeFiles/Makefile2:550: src/vizdoom/tools/zipdir/CMakeFiles/zipdir.dir/all] Error 2
  make[1]: *** Waiting for unfinished jobs....
  [ 25%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readokt2.c.o
  [ 25%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nsf_Emu.cpp.o
  [ 25%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readokt.c.o
  [ 25%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readmtm.c.o
  [ 25%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readmod2.c.o
  [ 25%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Nsfe_Emu.cpp.o
  [ 25%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readmod.c.o
  [ 25%] Linking CXX static library bin/libvizdoom.a
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/dumb/src/it/readmod.c: In function 'it_mod_load_sigdata':
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/dumb/src/it/readmod.c:291:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    291 |     if ( dumbfile_seek(f, 0, DFS_SEEK_SET) )
        |     ^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/dumb/src/it/readmod.c:294:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    294 |         sigdata = malloc(sizeof(*sigdata));
        |         ^~~~~~~
  [ 25%] Built target libvizdoom_static
  [ 26%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readdsmf.c.o
  [ 26%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Apu.cpp.o
  [ 26%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Cpu.cpp.o
  [ 27%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Sap_Emu.cpp.o
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp: In member function ‘bool Sap_Cpu::run(sap_time_t)’:
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:277:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    277 |  ARITH_ADDR_MODES( 0xC5 ) // CMP
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:291:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    291 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:292:2: note: here
    292 |  case 0x85: // STA zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:439:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    439 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:440:2: note: here
    440 |  case 0x84: // STY zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:446:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    446 |   data = uint8_t (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:447:2: note: here
    447 |  case 0x86: // STX zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:453:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    453 |   data = uint8_t (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:454:2: note: here
    454 |  case 0xA6: // LDX zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:455:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    455 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:456:2: note: here
    456 |  case 0xA2: // LDX #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:463:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    463 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:464:2: note: here
    464 |  case 0xA4: // LDY zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:465:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    465 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:466:2: note: here
    466 |  case 0xA0: // LDY #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:474:3: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    474 |   HANDLE_PAGE_CROSSING( data );
        |   ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:475:2: note: here
    475 |  case 0xAC:{// LDY abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:486:3: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    486 |   HANDLE_PAGE_CROSSING( data );
        |   ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:487:2: note: here
    487 |  case 0xAE:{// LDX abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:530:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    530 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:531:2: note: here
    531 |  case 0xE0: // CPX #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:549:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    549 |   data = READ_LOW( data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:550:2: note: here
    550 |  case 0xC0: // CPY #imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:560:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    560 |  ARITH_ADDR_MODES( 0x25 ) // AND
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:565:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    565 |  ARITH_ADDR_MODES( 0x45 ) // EOR
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:570:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    570 |  ARITH_ADDR_MODES( 0x05 ) // ORA
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:599:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    599 |  ARITH_ADDR_MODES( 0xE5 ) // SBC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:212:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    212 |  data = uint8_t (data + x);\
        |  ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:213:1: note: here
    213 | case op + 0x00: /* zp */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:222:2: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    222 |  HANDLE_PAGE_CROSSING( data );\
        |  ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:223:1: note: here
    223 | case op + 0x08: /* abs */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:22:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
     22 | #define CACHE_TIME()    (void) (s_time = s.time)
        |                                ~~~~~~~~^~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:228:2: note: in expansion of macro ‘CACHE_TIME’
    228 |  CACHE_TIME();\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:229:1: note: here
    229 | case op + 0x04: /* imm */\
        | ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:604:2: note: in expansion of macro ‘ARITH_ADDR_MODES’
    604 |  ARITH_ADDR_MODES( 0x65 ) // ADC
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:620:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    620 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:621:2: note: here
    621 |  case 0x6A: // ROR A
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:644:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    644 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:645:2: note: here
    645 |  case 0x4E: // LSR abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:646:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    646 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:647:2: note: here
    647 |  case 0x6E: // ROR abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:662:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    662 |   data += x;
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:663:2: note: here
    663 |  case 0x0E: // ASL abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:664:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    664 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:665:2: note: here
    665 |  case 0x2E: // ROL abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:686:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    686 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:687:2: note: here
    687 |  case 0x46: // LSR zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:688:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    688 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:689:2: note: here
    689 |  case 0x66: // ROR zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:702:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    702 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:703:2: note: here
    703 |  case 0x06: // ASL zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:704:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    704 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:705:2: note: here
    705 |  case 0x26: // ROL zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:720:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    720 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:721:2: note: here
    721 |  case 0xE6: // INC zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:726:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    726 |   data = uint8_t (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:727:2: note: here
    727 |  case 0xC6: // DEC zp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:189:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
    189 | #define HANDLE_PAGE_CROSSING( lsb ) s_time += (lsb) >> 8;
        |                                     ~~~~~~~^~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:915:3: note: in expansion of macro ‘HANDLE_PAGE_CROSSING’
    915 |   HANDLE_PAGE_CROSSING( data + x );
        |   ^~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:916:2: note: here
    916 |  case 0x0C:
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:917:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    917 |   pc++;
        |   ~~^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Sap_Cpu.cpp:919:2: note: here
    919 |  case 0x74: case 0x04: case 0x14: case 0x34: case 0x44: case 0x54: case 0x64:
        |  ^~~~
  [ 27%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/mbo_getopt.cc.o
  [ 27%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/parser.cc.o
  [ 27%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Snes_Spc.cpp.o
  [ 27%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readasy.c.o
  [ 27%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/scanner.cc.o
  [ 27%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Cpu.cpp.o
  [ 27%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readamf2.c.o
  [ 27%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Dsp.cpp.o
  [ 27%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Emu.cpp.o
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp: In member function ‘void Snes_Spc::cpu_write(int, int, Snes_Spc::rel_time_t)’:
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp:438:39: warning: left shift of negative value [-Wshift-negative-value]
    438 |    if ( ((~0x2F00 << (bits_in_int - 16)) << reg) < 0 ) // 36%
        |                                       ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp:438:45: warning: left shift of negative value [-Wshift-negative-value]
    438 |    if ( ((~0x2F00 << (bits_in_int - 16)) << reg) < 0 ) // 36%
        |                                             ^~~
  In file included from /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.cpp:565:
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h: In member function ‘BOOST::uint8_t* Snes_Spc::run_until_(Snes_Spc::time_t)’:
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:298:40: warning: left shift of negative value [-Wshift-negative-value]
    298 |     if ( ((~0x2F00 << (bits_in_int - 16)) << i) < 0 ) // 12%
        |                                        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:298:46: warning: left shift of negative value [-Wshift-negative-value]
    298 |     if ( ((~0x2F00 << (bits_in_int - 16)) << i) < 0 ) // 12%
        |                                              ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:359:2: note: in expansion of macro ‘ADDR_MODES_’
    359 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:371:2: note: in expansion of macro ‘ADDR_MODES_NO_DP’
    371 |  ADDR_MODES_NO_DP( 0xE8 ) // MOV A,addr
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:359:2: note: in expansion of macro ‘ADDR_MODES_’
    359 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:371:2: note: in expansion of macro ‘ADDR_MODES_NO_DP’
    371 |  ADDR_MODES_NO_DP( 0xE8 ) // MOV A,addr
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:388:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    388 |   data = (uint8_t) (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:389:2: note: here
    389 |  case 0xF8: // MOV X,dp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:396:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    396 |   data = READ( 0, data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:397:2: note: here
    397 |  case 0xCD: // MOV X,imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:403:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    403 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:404:2: note: here
    404 |  case 0xEB: // MOV Y,dp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:359:2: note: in expansion of macro ‘ADDR_MODES_’
    359 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:425:2: note: in expansion of macro ‘ADDR_MODES_NO_DP’
    425 |  ADDR_MODES_NO_DP( 0xC8 ) // MOV addr,A
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:359:2: note: in expansion of macro ‘ADDR_MODES_’
    359 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:425:2: note: in expansion of macro ‘ADDR_MODES_NO_DP’
    425 |  ADDR_MODES_NO_DP( 0xC8 ) // MOV addr,A
        |  ^~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:443:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    443 |   data = (uint8_t) (data + y);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:444:2: note: here
    444 |  case 0xD8: // MOV dp,X
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:449:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    449 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:450:2: note: here
    450 |  case 0xCB: // MOV dp,Y
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:356:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    356 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:365:2: note: in expansion of macro ‘CASE’
    365 |  CASE( op - 0x04 ) /* dp */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:495:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    495 |   data = READ( 0, data );\
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:496:2: note: here
    496 |  case op: /* imm */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:517:2: note: in expansion of macro ‘LOGICAL_OP’
    517 |  LOGICAL_OP( 0x28, & ); // AND
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:356:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    356 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:365:2: note: in expansion of macro ‘CASE’
    365 |  CASE( op - 0x04 ) /* dp */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:495:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    495 |   data = READ( 0, data );\
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:496:2: note: here
    496 |  case op: /* imm */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:519:2: note: in expansion of macro ‘LOGICAL_OP’
    519 |  LOGICAL_OP( 0x08, | ); // OR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:356:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    356 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:365:2: note: in expansion of macro ‘CASE’
    365 |  CASE( op - 0x04 ) /* dp */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:494:2: note: in expansion of macro ‘ADDR_MODES’
    494 |  ADDR_MODES( op ) /* addr */\
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:495:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    495 |   data = READ( 0, data );\
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:496:2: note: here
    496 |  case op: /* imm */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:521:2: note: in expansion of macro ‘LOGICAL_OP’
    521 |  LOGICAL_OP( 0x48, ^ ); // EOR
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:350:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    350 |   data += x;\
        |   ~~~~~^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:525:2: note: in expansion of macro ‘ADDR_MODES’
    525 |  ADDR_MODES( 0x68 ) // CMP addr
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:351:2: note: in expansion of macro ‘CASE’
    351 |  CASE( op - 0x03 ) /* abs */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:525:2: note: in expansion of macro ‘ADDR_MODES’
    525 |  ADDR_MODES( 0x68 ) // CMP addr
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:356:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    356 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:364:2: note: in expansion of macro ‘ADDR_MODES_’
    364 |  ADDR_MODES_( op )\
        |  ^~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:525:2: note: in expansion of macro ‘ADDR_MODES’
    525 |  ADDR_MODES( 0x68 ) // CMP addr
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:331:21: note: here
    331 | #define CASE( n )   case n:
        |                     ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:365:2: note: in expansion of macro ‘CASE’
    365 |  CASE( op - 0x04 ) /* dp */\
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:525:2: note: in expansion of macro ‘ADDR_MODES’
    525 |  ADDR_MODES( 0x68 ) // CMP addr
        |  ^~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:526:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    526 |   data = READ( 0, data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:527:2: note: here
    527 |  case 0x68: // CMP imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:541:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    541 |   data = READ_DP( -3, data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:542:2: note: here
    542 |  case 0x78: // CMP dp,imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:555:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    555 |   data = READ( 0, data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:556:2: note: here
    556 |  case 0xC8: // CMP X,imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:569:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    569 |   data = READ( 0, data );
        |        ^
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:570:2: note: here
    570 |  case 0xAD: // CMP Y,imm
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:644:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    644 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:645:2: note: here
    645 |  case 0x8B: // DEC dp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:662:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    662 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:663:2: note: here
    663 |  case 0x7C:{// ROR A
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:671:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    671 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:672:2: note: here
    672 |  case 0x3C:{// ROL A
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:685:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    685 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:686:2: note: here
    686 |  case 0x3B: // ROL dp+X
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:687:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    687 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:688:2: note: here
    688 |  case 0x2B: // ROL dp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:692:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    692 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:693:2: note: here
    693 |  case 0x2C: // ROL abs
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:707:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    707 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:708:2: note: here
    708 |  case 0x7B: // ROR dp+X
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:709:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
    709 |   data = (uint8_t) (data + x);
        |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:710:2: note: here
    710 |  case 0x6B: // ROR dp
        |  ^~~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:714:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
    714 |   c = 0;
        |   ~~^~~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/game-music-emu/gme/Spc_Cpu.h:715:2: note: here
    715 |  case 0x6C: // ROR abs
        |  ^~~~
  [ 27%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readamf.c.o
  [ 27%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readam.c.o
  [ 28%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Spc_Filter.cpp.o
  [ 28%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Vgm_Emu.cpp.o
  [ 28%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/substr.cc.o
  [ 29%] Building CXX object src/vizdoom/tools/re2c/CMakeFiles/re2c.dir/translate.cc.o
  [ 29%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Vgm_Emu_Impl.cpp.o
  [ 29%] Building CXX object src/vizdoom/game-music-emu/gme/CMakeFiles/gme.dir/Ym2413_Emu.cpp.o
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/read6692.c.o
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/read669.c.o
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/ptmeffect.c.o
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadxm2.c.o
  [ 30%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadxm.c.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadstm2.c.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadstm.c.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loads3m2.c.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loads3m.c.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadriff2.c.o
  [ 31%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadriff.c.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadptm2.c.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadptm.c.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadpsm2.c.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadpsm.c.o
  [ 32%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadoldpsm2.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadoldpsm.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadokt2.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadokt.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmtm2.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmtm.c.o
  [ 33%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmod2.c.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadmod.c.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadasy2.c.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadasy.c.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadamf2.c.o
  [ 34%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadamf.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/load6692.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/load669.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itunload.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itrender.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itread2.c.o
  [ 35%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itread.c.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itorder.c.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itmisc.c.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itload2.c.o
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/dumb/src/it/itread.c: In function '_dumb_it_read_sample_data_adpcm4':
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/dumb/src/it/itread.c:624:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    624 |     if (dumbfile_getnc((char *)compression_table, 16, f) != 16)
        |     ^~
  /tmp/pip-install-qpckvbsg/vizdoom_a2359fd12bd94ed087d1cd95cb490f28/src/vizdoom/dumb/src/it/itread.c:626:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    626 |         ptr = (signed char *) sample->data;
        |         ^~~
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/itload.c.o
  [ 36%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readany.c.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadany2.c.o
  [ 37%] Linking CXX static library libgme.a
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/loadany.c.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/it/readany2.c.o
  [ 37%] Built target gme
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/resampler.c.o
  [ 37%] Building C object src/vizdoom/dumb/CMakeFiles/dumb.dir/src/helpers/lpc.c.o
  [ 37%] Linking CXX executable ../../../../bin/re2c
  [ 37%] Built target re2c
  [ 37%] Linking C static library libdumb.a
  [ 37%] Built target dumb
  [ 37%] Linking CXX shared library bin/libvizdoom.so
  [ 37%] Built target libvizdoom_shared
  make: *** [Makefile:91: all] Error 2

  Installation failed, you may be missing some dependencies.
  Please check https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md for details

  Traceback (most recent call last):
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 249, in build_wheel
      metadata_directory)
    File "/tmp/pip-build-env-nbej4ri5/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 231, in build_wheel
      wheel_directory, config_settings)
    File "/tmp/pip-build-env-nbej4ri5/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-nbej4ri5/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 268, in run_setup
      self).run_setup(setup_script=setup_script)
    File "/tmp/pip-build-env-nbej4ri5/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 158, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 181, in <module>
      keywords=['vizdoom', 'doom', 'ai', 'deep learning', 'reinforcement learning', 'research']
    File "/tmp/pip-build-env-nbej4ri5/overlay/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-nbej4ri5/overlay/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "setup.py", line 138, in run
      subprocess.check_call(['make', '-j', str(cpu_cores)])
    File "/home/hamid/anaconda3/envs/my_env_Vizdoom_T1/lib/python3.6/subprocess.py", line 311, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['make', '-j', '11']' returned non-zero exit status 2.
  ----------------------------------------
  ERROR: Failed building wheel for vizdoom
Failed to build vizdoom
ERROR: Could not build wheels for vizdoom which use PEP 517 and cannot be installed directly
mwydmuch commented 2 years ago

Hi @hamid2026, the error is here:

...
  [ 25%] Linking C executable ../../../../bin/zipdir
  /home/hamid/anaconda3/envs/my_env_Vizdoom_T1/bin/../lib/gcc/x86_64-conda-linux-gnu/11.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib/x86_64-linux-gnu/libz.so: undefined reference to `memcpy@GLIBC_2.14'
  collect2: error: ld returned 1 exit status
  make[2]: *** [src/vizdoom/tools/zipdir/CMakeFiles/zipdir.dir/build.make:100: bin/zipdir] Error 1
  make[1]: *** [CMakeFiles/Makefile2:550: src/vizdoom/tools/zipdir/CMakeFiles/zipdir.dir/all] Error 2
...

This means, that there is a problem when linking to libc (for example it links to the old version than required).

What I also find odd is that your log says:

  -- The C compiler identification is GNU 11.2.0
  -- The CXX compiler identification is GNU 9.3.0

It looks like cmake finds different C and CXX compilers (different versions of GCC), this may be related to the linking problem. This is probably caused by environment variables that point to different compilers. Check CC and CXX variables.

mwydmuch commented 2 years ago

Generally, there shouldn't be a problem when installing on conda env like this:

conda create -n vizdoom_env
conda activate vizdoom_env
pip install vizdoom

It looks like the C compiler (v 11.2.0) is installed in your my_env_Vizdoom_T1 env. And (v 9.3.0) is system's C++ compiler. More information about how you set up your conda env would be helpful to tell what went wrong exactly.

hamid2026 commented 2 years ago

Hi @mwydmuch I did it again as you wrote, and set up a new conda env. And again I got the same error, but this time C and CXX compilers versions are the same.

Building wheel for vizdoom (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /tmp/tmprar8z9oy build_wheel /tmp/tmp1g3otn8o
       cwd: /tmp/pip-install-tyy10b42/vizdoom
  Complete output (423 lines):
  running bdist_wheel
  running build
  CMake Warning:
    No source or binary directory provided.  Both will be assumed to be the
    same as the current working directory, but note that this warning will
    become a fatal error in future CMake releases.

  -- The C compiler identification is GNU 9.3.0
  -- The CXX compiler identification is GNU 9.3.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Found Boost: /lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.65.0") found components: filesystem thread system date_time chrono regex iostreams
  -- Found Threads: TRUE
  CMake Deprecation Warning at cmake_modules/CreateLaunchers.cmake:48 (cmake_policy):
    The OLD behavior for policy CMP0026 will be removed from a future version
    of CMake.

    The cmake-policies(7) manual explains that the OLD behaviors of all
    policies are deprecated and that a policy should be set to OLD only under
    specific short-term circumstances.  Projects should be ported to the NEW
    behavior and not rely on setting a policy to OLD.
  Call Stack (most recent call first):
    src/vizdoom/CMakeLists.txt:13 (include)

  -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.8")
  -- Looking for BZ2_bzCompressInit
  -- Looking for BZ2_bzCompressInit - found
  -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80")
  -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
  -- Could NOT find GME (missing: GME_INCLUDE_DIR)
  -- Using system zlib
  -- Using system jpeg library
  -- Using system bzip2 library
  -- Using internal gme library
  -- Performing Test HAVE_NO_ARRAY_BOUNDS
  -- Performing Test HAVE_NO_ARRAY_BOUNDS - Success
  -- Performing Test __LIBGME_TEST_VISIBILITY
  -- Performing Test __LIBGME_TEST_VISIBILITY - Success
  -- Looking for strdup
  -- Looking for strdup - found
  -- Looking for strndup
  -- Looking for strndup - found
  -- Looking for sys/types.h
  -- Looking for sys/types.h - found
  -- Looking for stdint.h
  -- Looking for stdint.h - found
  -- Looking for stddef.h
  -- Looking for stddef.h - found
  -- Check size of char
  -- Check size of char - done
  -- Check size of short
  -- Check size of short - done
  -- Check size of int
  -- Check size of int - done
  -- Check size of long
  -- Check size of long - done
  -- /usr/include
  -- /usr/include
  -- /tmp/pip-install-tyy10b42/vizdoom/src/vizdoom/lzma/C
  -- Looking for itoa
  -- Looking for itoa - not found
  -- Performing Test DUMB_CAN_USE_SSE
  -- Performing Test DUMB_CAN_USE_SSE - Success
  -- Found PkgConfig: /bin/pkg-config (found version "0.29.1")
  -- Checking for module 'gtk+-2.0'
  --   Found gtk+-2.0, version 2.24.32
  -- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread
  -- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
  -- Could not find FMOD include files
  -- Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
  -- Could NOT find MPG123 (missing: MPG123_LIBRARIES MPG123_INCLUDE_DIR)
  -- Found FluidSynth: /usr/lib/x86_64-linux-gnu/libfluidsynth.so
  -- Selected assembler: /bin/as
  -- Looking for filelength
  -- Looking for filelength - not found
  -- Looking for strupr
  -- Looking for strupr - not found
  -- Looking for stricmp
  -- Looking for stricmp - not found
  -- Looking for strnicmp
  -- Looking for strnicmp - not found
  -- Looking for clock_gettime in rt
  -- Looking for clock_gettime in rt - found
  -- Performing Test HAS_VA_COPY
  -- Performing Test HAS_VA_COPY - Success
  -- Found Boost: /lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: thread system date_time chrono
  -- Fluid synth libs: /usr/lib/x86_64-linux-gnu/libfluidsynth.so
  -- Found PythonInterp: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3")
  -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable version "3.8.10", minimum required is "3.8")
  -- Found Git: /bin/git (found version "2.25.1")
  -- downloading/updating pybind11
  -- pybind11 directory not found, cloning...
  Cloning into '/tmp/pip-install-tyy10b42/vizdoom/src/lib_python/pybind11'...
  --
  Switched to a new branch 'tag_v2.8.1'
  --
  -- pybind11 v2.8.1
  -- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.10")
  -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so
  -- Performing Test HAS_FLTO
  -- Performing Test HAS_FLTO - Success
  -- [download 100% complete]
  -- [download 0% complete]
  -- [download 100% complete]
  -- Configuring done
  CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  Please set them or make sure they are set and tested correctly in the CMake files:
  Boost_INCLUDE_DIR

  CMake Error in CMakeLists.txt:
    Found relative path while evaluating include directories of
    "libvizdoom_static":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in CMakeLists.txt:
    Found relative path while evaluating include directories of
    "libvizdoom_shared":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/game-music-emu/gme/CMakeLists.txt:
    Found relative path while evaluating include directories of "gme":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/lzma/CMakeLists.txt:
    Found relative path while evaluating include directories of "lzma":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/tools/lemon/CMakeLists.txt:
    Found relative path while evaluating include directories of "lemon":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/tools/re2c/CMakeLists.txt:
    Found relative path while evaluating include directories of "re2c":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/tools/updaterevision/CMakeLists.txt:
    Found relative path while evaluating include directories of
    "updaterevision":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/tools/zipdir/CMakeLists.txt:
    Found relative path while evaluating include directories of "zipdir":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/dumb/CMakeLists.txt:
    Found relative path while evaluating include directories of "dumb":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/gdtoa/CMakeLists.txt:
    Found relative path while evaluating include directories of "arithchk":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/gdtoa/CMakeLists.txt:
    Found relative path while evaluating include directories of "qnan":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/gdtoa/CMakeLists.txt:
    Found relative path while evaluating include directories of "gdtoa":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/src/CMakeLists.txt:
    Found relative path while evaluating include directories of "vizdoom":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/src/CMakeLists.txt:
    Found relative path while evaluating include directories of "vizdoom":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/lib_python/CMakeLists.txt:
    Found relative path while evaluating include directories of
    "libvizdoom_python":

      "Boost_INCLUDE_DIR-NOTFOUND"

  -- Generating done
  CMake Generate step failed.  Build files cannot be regenerated correctly.

  Installation failed, you may be missing some dependencies.
  Please check https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md for details

  Traceback (most recent call last):
    File "/tmp/tmprar8z9oy", line 280, in <module>
      main()
    File "/tmp/tmprar8z9oy", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/tmp/tmprar8z9oy", line 204, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/tmp/pip-build-env-jv06z2x2/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 230, in build_wheel
      return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    File "/tmp/pip-build-env-jv06z2x2/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-jv06z2x2/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 267, in run_setup
      super(_BuildMetaLegacyBackend,
    File "/tmp/pip-build-env-jv06z2x2/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 158, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 147, in <module>
      setup(
    File "/tmp/pip-build-env-jv06z2x2/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-jv06z2x2/overlay/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "setup.py", line 137, in run
      subprocess.check_call(cmake_arg_list)
    File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_PYTHON=ON', '-DPYTHON_EXECUTABLE=/usr/bin/python3.8', '-DPYTHON_INCLUDE_DIR=/usr/include/python3.8']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for vizdoom
Failed to build vizdoom
ERROR: Could not build wheels for vizdoom which use PEP 517 and cannot be installed directly
mwydmuch commented 2 years ago

It's not the same error. It clearly says that the Boost's include directory was not found. Are you sure that you have installed all the dependencies?

hamid2026 commented 2 years ago

@mwydmuch Yes, Again I reinstalled everything and double-checked all dependencies. Here is the full log

pip install git+https://github.com/mwydmuch/ViZDoom.git
Collecting git+https://github.com/mwydmuch/ViZDoom.git
  Cloning https://github.com/mwydmuch/ViZDoom.git to /tmp/pip-req-build-1pe1acax
  Running command git clone -q https://github.com/mwydmuch/ViZDoom.git /tmp/pip-req-build-1pe1acax
  Resolved https://github.com/mwydmuch/ViZDoom.git to commit 30c52b0fd8ddaa6f476b09eaaf7c9644ef339f95
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting numpy
  Using cached numpy-1.21.5-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
Building wheels for collected packages: vizdoom
  Building wheel for vizdoom (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/hamid/anaconda3/envs/vizdoom_env/bin/python /home/hamid/anaconda3/envs/vizdoom_env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp01nbcctp
       cwd: /tmp/pip-req-build-1pe1acax
  Complete output (425 lines):
  running bdist_wheel
  running build
  CMake Warning:
    No source or binary directory provided.  Both will be assumed to be the
    same as the current working directory, but note that this warning will
    become a fatal error in future CMake releases.

  -- The C compiler identification is GNU 9.3.0
  -- The CXX compiler identification is GNU 9.3.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Found Boost: /lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.65.0") found components: filesystem thread system date_time chrono regex iostreams
  -- Found Threads: TRUE
  CMake Deprecation Warning at cmake_modules/CreateLaunchers.cmake:48 (cmake_policy):
    The OLD behavior for policy CMP0026 will be removed from a future version
    of CMake.

    The cmake-policies(7) manual explains that the OLD behaviors of all
    policies are deprecated and that a policy should be set to OLD only under
    specific short-term circumstances.  Projects should be ported to the NEW
    behavior and not rely on setting a policy to OLD.
  Call Stack (most recent call first):
    src/vizdoom/CMakeLists.txt:13 (include)

  -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.8")
  -- Looking for BZ2_bzCompressInit
  -- Looking for BZ2_bzCompressInit - found
  -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80")
  -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
  -- Could NOT find GME (missing: GME_INCLUDE_DIR)
  -- Using system zlib
  -- Using system jpeg library
  -- Using system bzip2 library
  -- Using internal gme library
  -- Performing Test HAVE_NO_ARRAY_BOUNDS
  -- Performing Test HAVE_NO_ARRAY_BOUNDS - Success
  -- Performing Test __LIBGME_TEST_VISIBILITY
  -- Performing Test __LIBGME_TEST_VISIBILITY - Success
  -- Looking for strdup
  -- Looking for strdup - found
  -- Looking for strndup
  -- Looking for strndup - found
  -- Looking for sys/types.h
  -- Looking for sys/types.h - found
  -- Looking for stdint.h
  -- Looking for stdint.h - found
  -- Looking for stddef.h
  -- Looking for stddef.h - found
  -- Check size of char
  -- Check size of char - done
  -- Check size of short
  -- Check size of short - done
  -- Check size of int
  -- Check size of int - done
  -- Check size of long
  -- Check size of long - done
  -- /usr/include
  -- /usr/include
  -- /tmp/pip-req-build-1pe1acax/src/vizdoom/lzma/C
  -- Looking for itoa
  -- Looking for itoa - not found
  -- Performing Test DUMB_CAN_USE_SSE
  -- Performing Test DUMB_CAN_USE_SSE - Success
  -- Found PkgConfig: /bin/pkg-config (found version "0.29.1")
  -- Checking for module 'gtk+-2.0'
  --   Found gtk+-2.0, version 2.24.32
  -- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread
  -- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
  -- Could not find FMOD include files
  -- Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
  -- Could NOT find MPG123 (missing: MPG123_LIBRARIES MPG123_INCLUDE_DIR)
  -- Found FluidSynth: /usr/lib/x86_64-linux-gnu/libfluidsynth.so
  -- Selected assembler: /bin/as
  -- Looking for filelength
  -- Looking for filelength - not found
  -- Looking for strupr
  -- Looking for strupr - not found
  -- Looking for stricmp
  -- Looking for stricmp - not found
  -- Looking for strnicmp
  -- Looking for strnicmp - not found
  -- Looking for clock_gettime in rt
  -- Looking for clock_gettime in rt - found
  -- Performing Test HAS_VA_COPY
  -- Performing Test HAS_VA_COPY - Success
  -- Found Boost: /lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: thread system date_time chrono
  -- Fluid synth libs: /usr/lib/x86_64-linux-gnu/libfluidsynth.so
  -- Found PythonInterp: /home/hamid/anaconda3/envs/vizdoom_env/bin/python3.9 (found suitable version "3.9.7", minimum required is "3")
  -- Found PythonLibs: /home/hamid/anaconda3/envs/vizdoom_env/lib/libpython3.9.so (found suitable version "3.9.7", minimum required is "3.9")
  -- Found Git: /bin/git (found version "2.25.1")
  -- downloading/updating pybind11
  -- pybind11 directory not found, cloning...
  Cloning into '/tmp/pip-req-build-1pe1acax/src/lib_python/pybind11'...
  --
  Switched to a new branch 'tag_v2.8.1'
  --
  -- pybind11 v2.8.1
  -- Found PythonInterp: /home/hamid/anaconda3/envs/vizdoom_env/bin/python3.9 (found version "3.9.7")
  -- Found PythonLibs: /home/hamid/anaconda3/envs/vizdoom_env/lib/libpython3.9.so
  -- Performing Test HAS_FLTO
  -- Performing Test HAS_FLTO - Success
  -- [download 100% complete]

  -- Configuring done
  CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  Please set them or make sure they are set and tested correctly in the CMake files:
  Boost_INCLUDE_DIR
     used as include directory in directory /tmp/pip-req-build-1pe1acax

  CMake Error in CMakeLists.txt:
    Found relative path while evaluating include directories of
    "libvizdoom_static":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in CMakeLists.txt:
    Found relative path while evaluating include directories of
    "libvizdoom_shared":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/game-music-emu/gme/CMakeLists.txt:
    Found relative path while evaluating include directories of "gme":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/lzma/CMakeLists.txt:
    Found relative path while evaluating include directories of "lzma":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/tools/lemon/CMakeLists.txt:
    Found relative path while evaluating include directories of "lemon":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/tools/re2c/CMakeLists.txt:
    Found relative path while evaluating include directories of "re2c":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/tools/updaterevision/CMakeLists.txt:
    Found relative path while evaluating include directories of
    "updaterevision":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/tools/zipdir/CMakeLists.txt:
    Found relative path while evaluating include directories of "zipdir":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/dumb/CMakeLists.txt:
    Found relative path while evaluating include directories of "dumb":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/gdtoa/CMakeLists.txt:
    Found relative path while evaluating include directories of "arithchk":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/gdtoa/CMakeLists.txt:
    Found relative path while evaluating include directories of "qnan":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/gdtoa/CMakeLists.txt:
    Found relative path while evaluating include directories of "gdtoa":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/src/CMakeLists.txt:
    Found relative path while evaluating include directories of "vizdoom":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/vizdoom/src/CMakeLists.txt:
    Found relative path while evaluating include directories of "vizdoom":

      "Boost_INCLUDE_DIR-NOTFOUND"

  CMake Error in src/lib_python/CMakeLists.txt:
    Found relative path while evaluating include directories of
    "libvizdoom_python":

      "Boost_INCLUDE_DIR-NOTFOUND"

  -- Generating done
  CMake Generate step failed.  Build files cannot be regenerated correctly.

  Installation failed, you may be missing some dependencies.
  Please check https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md for details

  Traceback (most recent call last):
    File "/home/hamid/anaconda3/envs/vizdoom_env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/home/hamid/anaconda3/envs/vizdoom_env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/hamid/anaconda3/envs/vizdoom_env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 248, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 230, in build_wheel
      return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 267, in run_setup
      super(_BuildMetaLegacyBackend,
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 158, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 147, in <module>
      setup(
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup
      return run_commands(dist)
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
      dist.run_commands()
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
      self.run_command(cmd)
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-tekc_13s/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
      cmd_obj.run()
    File "setup.py", line 137, in run
      subprocess.check_call(cmake_arg_list)
    File "/home/hamid/anaconda3/envs/vizdoom_env/lib/python3.9/subprocess.py", line 373, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_PYTHON=ON', '-DPYTHON_EXECUTABLE=/home/hamid/anaconda3/envs/vizdoom_env/bin/python3.9', '-DPYTHON_INCLUDE_DIR=/home/hamid/anaconda3/envs/vizdoom_env/include/python3.9', '-DPYTHON_LIBRARY=/home/hamid/anaconda3/envs/vizdoom_env/lib/libpython3.9.so']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for vizdoom
Failed to build vizdoom
ERROR: Could not build wheels for vizdoom which use PEP 517 and cannot be installed directly
mwydmuch commented 2 years ago

@hamid2026 that's unexpected :( So if you run apt list --installed | grep boost it will list all boost libraries in version 1.71, right? If yes, then another thing that comes to my mind is that some environment variable (like BOOST_ROOT) points to some other installation of boost that is somehow broken. Have you installed some dependencies using conda install or all of them with apt install?

hamid2026 commented 2 years ago

@mwydmuch Yes, apt list --installed | grep boost list my all boost libraries with 1.7.1 version, you can see log in below. Yes, I used conda install instead of apt install.

libboost-all-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed] libboost-atomic-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-atomic1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-atomic1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-chrono-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-chrono1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-chrono1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-container-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-container1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-container1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-context-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-context1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-context1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-coroutine-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-coroutine1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-coroutine1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-date-time-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-date-time1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-date-time1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-exception-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-exception1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-fiber-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-fiber1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-fiber1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-filesystem-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-filesystem1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-filesystem1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-graph-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-graph-parallel-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-graph-parallel1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-graph-parallel1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-graph1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-graph1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-iostreams-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-iostreams1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-iostreams1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-locale-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-locale1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-locale1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-log-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-log1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-log1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-math-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-math1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-math1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-mpi-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-mpi-python-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-mpi-python1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-mpi-python1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-mpi1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-mpi1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-numpy-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-numpy1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-numpy1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-program-options-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-program-options1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-program-options1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-python-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-python1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-python1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-random-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-random1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-random1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-regex-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-regex1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-regex1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-serialization-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-serialization1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-serialization1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-stacktrace-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-stacktrace1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-stacktrace1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-system-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-system1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-system1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-test-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-test1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-test1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-thread-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-thread1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-thread1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-timer-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-timer1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-timer1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-tools-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-type-erasure-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-type-erasure1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-type-erasure1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-wave-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed,automatic] libboost-wave1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost-wave1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic] libboost1.71-tools-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]

davidloveengles commented 2 years ago

on mac, last I install success with conda!!!

conda install -c conda-forge boost cmake gtk2 sdl2
git clone https://github.com/mwydmuch/ViZDoom.git
cd ViZDoom
python setup.py build && python setup.py install
zfwang615 commented 2 years ago

@mwydmuch Hi, I've got some problems with the installation. I created a new venv with miniconda, python = 3.8 I followed the build instructions to check and install the dependencies. [scripts/linux_check_dependencies.sh], ZDoom dependencies, Boost libraries, Python 3, and Julia. At first, I tried to install it with "pip install vizdoom", I got the error just like @libphy ERROR: Could not build wheels for vizdoom, which is required to install pyproject.toml-based projects Then I tried to install it with conda, I got the error said it's caused by some subprocess but not pip. After that, I trid the "pip install -e ." at VizDoom_dir, it worked. When I trid to run python examples/python/basic.py, I got another error module vizdoom has no attribute 'DoomGame'. Now I am confused about it. Any advice?

Miffyli commented 2 years ago

@zfwang615 For reasons I could not understand, conda install with pip breaks up like that. Try the instructions here: https://github.com/mwydmuch/ViZDoom#conda (python setup.py build && python setup.py install instead of pip install)

zfwang615 commented 2 years ago

@Miffyli Thank you! On Ubuntu 20.04, the conda env mentioned before, I've trid to install with conda instructions(python setup.py build && python setup.py install) and got a CMake Error.

running build
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.

-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost 1.70.0 at /home/wzf/.conda/envs/vz38/lib/cmake/Boost-1.70.0
--   Requested configuration: QUIET REQUIRED COMPONENTS filesystem;thread;system;date_time;chrono;regex;iostreams
-- Found boost_headers 1.70.0 at /home/wzf/.conda/envs/vz38/lib/cmake/boost_headers-1.70.0
-- Found boost_filesystem 1.70.0 at /home/wzf/.conda/envs/vz38/lib/cmake/boost_filesystem-1.70.0
-- No suitable boost_filesystem variant has been identified!
--   libboost_filesystem.so.1.70.0 (shared, BUILD_SHARED_LIBS not ON, set Boost_USE_STATIC_LIBS=OFF to override)
--   libboost_filesystem.a (static, Boost_USE_STATIC_LIBS=OFF)
CMake Error at /home/wzf/.conda/envs/vz38/lib/cmake/Boost-1.70.0/BoostConfig.cmake:95 (find_package):
  Found package configuration file:

    /home/wzf/.conda/envs/vz38/lib/cmake/boost_filesystem-1.70.0/boost_filesystem-config.cmake

  but it set boost_filesystem_FOUND to FALSE so package "boost_filesystem" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

Call Stack (most recent call first):
  /home/wzf/.conda/envs/vz38/lib/cmake/Boost-1.70.0/BoostConfig.cmake:124 (boost_find_dependency)
  /home/wzf/.conda/envs/vz38/share/cmake-3.22/Modules/FindBoost.cmake:594 (find_package)
  CMakeLists.txt:101 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/wzf/Documents/ViZDoom/CMakeFiles/CMakeOutput.log".

Installation failed, you may be missing some dependencies. 
Please check https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md for details

Traceback (most recent call last):
  File "setup.py", line 147, in <module>
    setup(
  File "/home/wzf/.conda/envs/vz38/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/home/wzf/.conda/envs/vz38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/home/wzf/.conda/envs/vz38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/home/wzf/.conda/envs/vz38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
    self.run_command(cmd)
  File "/home/wzf/.conda/envs/vz38/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/home/wzf/.conda/envs/vz38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
    cmd_obj.run()
  File "setup.py", line 137, in run
    subprocess.check_call(cmake_arg_list)
  File "/home/wzf/.conda/envs/vz38/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBUILD_PYTHON=ON', '-DPYTHON_EXECUTABLE=/home/wzf/.conda/envs/vz38/bin/python3.8', '-DPYTHON_INCLUDE_DIR=/home/wzf/.conda/envs/vz38/include/python3.8', '-DPYTHON_LIBRARY=/home/wzf/.conda/envs/vz38/lib/libpython3.8.so']' returned non-zero exit status 1.

Boost maybe has version incompatibility issues with default cmakelist.txt. So I tried 'apt install libboost-filesystem-dev libboost1.71-all-dev' again, and changed the version for the boost in cmakelist.txt: 101 to 1.71.0. After that, python setup.py build && python setup.py install finished successfully.