dosbox-staging:jn/cmake-notes

Last commit made on 2024-06-23
Get this branch:
git clone -b jn/cmake-notes https://git.launchpad.net/dosbox-staging

Branch merges

Branch information

Name:
jn/cmake-notes
Repository:
lp:dosbox-staging

Recent commits

535cd0f... by John Novak <email address hidden>

Add warning about CMake support being experimental

73fbc77... by John Novak <email address hidden>

Revert "Do not hard exit when running `SET /P`"

This reverts commit 6c61002f8167223ffa7e6a17f133e0ccab4a5451.

User error, nothing to see here...

6c61002... by John Novak <email address hidden>

Do not hard exit when running `SET /P`

d5b0c06... by =?utf-8?q?Edu_Garc=C3=ADa?= <email address hidden>

Pretty basic CMake support, only Windows tested.

d1fe69a... by dreamer_

List zlibg-ng in Fedora development dependencies

960ff1e... by dreamer_

Fix instructions for running static analyzer

Following official Meson documentation:
https://mesonbuild.com/howtox.html#use-clang-static-analyzer

f5c0d00... by dreamer_

Fix maybe-uninitialized warning in ReelMagic

In context of this code, (media_handle != 0) implies that
(player != nullptr), so it's only us being super pedantic.

Reported as warning by g++ 14.1.1 release build:

    warning: ‘player’ may be used uninitialized [-Wmaybe-uninitialized]
      886 | player->NotifyConfigChange();
          | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~

7b4ed95... by dreamer_

Fix template-id-cdtor warning in ctor

C++20 made this construction invalid: https://cplusplus.github.io/CWG/issues/2237.html

Reported as warning by g++ 14.1.1:

    warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
     1765 | explicit InputOutputPin<DataType>(const std::string& name)
          | ^
    ../src/hardware/imfc.cpp:1765:42: note: remove the ‘< >’

ec3a17b... by interloper98 <email address hidden>

Make case of XGA hex literal consistent

07da74e... by Jonathan Campbell <email address hidden>

Clear values in unhandled XGA draw line vector cases

Imported from DOSBox-X.