Overview

Request 977855 accepted

- Add ti99sim-fix-missing-cstring.patch, fix missing cstring header

Loading...

Carsten Ziepke's avatar

Fix building with gcc12:
[ 47s] device-support.cpp: In function 'void LoadDevice(iComputer*, const std::filesystem::__cxx11::path&, const sFactoryInfo&)': [ 47s] device-support.cpp:98:36: error: 'strlen' was not declared in this scope [ 47s] 98 | int padding = 25 - strlen( device->GetName( )); [ 47s] | ^~~~~~ [ 47s] device-support.cpp:39:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? [ 47s] 38 | #include "cf7+.hpp" [ 47s] +++ |+#include <cstring>

Request History
Carsten Ziepke's avatar

Kieltux created request

- Add ti99sim-fix-missing-cstring.patch, fix missing cstring header


Carsten Ziepke's avatar

Kieltux accepted request

openSUSE Build Service is sponsored by