mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
clang fixes
This commit is contained in:
parent
2d1364f213
commit
5926a2e760
@ -122,6 +122,12 @@ function osdmodulesbuild()
|
||||
ext_includedir("asio"),
|
||||
}
|
||||
|
||||
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
|
||||
buildoptions {
|
||||
"-Wno-unused-private-field",
|
||||
}
|
||||
end
|
||||
|
||||
if _OPTIONS["targetos"]=="windows" then
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/winpcap/Include",
|
||||
|
@ -99,11 +99,8 @@ public:
|
||||
state.thread->join();
|
||||
state.thread = std::nullopt;
|
||||
}
|
||||
auto const parent = !osd_common_t::s_window_list.empty()
|
||||
? std::static_pointer_cast<win_window_info>(osd_common_t::s_window_list.front())->platform_window()
|
||||
: nullptr;
|
||||
state.thread.emplace(
|
||||
[parent] ()
|
||||
[] ()
|
||||
{
|
||||
auto &state(get_state());
|
||||
std::string message;
|
||||
|
Loading…
Reference in New Issue
Block a user